MSFN Forum: Password protect and limit install base lite touch. - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Password protect and limit install base lite touch. Rate Topic: -----

#1 User is offline   randalldale 

  • Member
  • PipPip
  • Group: Members
  • Posts: 113
  • Joined: 16-November 04

Posted 15 August 2011 - 03:47 PM

Hi Guys,

New at this and need to find out how and where I would setup a password to protect the install and also limit the install base to say Dell computers?

I currently do it with a VBscript on my none MDT 2010 install but alas must convert to mdt 2010:

'=======================================================================================
' Password checker required for installation
'=======================================================================================
Do Until n = 3
Password = InputBox("Please enter your password", "Windows XP SP3 Install")
If Password = "Password" Then
Exit Do
Else
n = n + 1
End If
Loop
If n = 3 Then
MsgBox " Incorrect Password" &_
vbNewLine & " " &_
vbNewLine & " Installation will now reboot"
abort
Else
'=======================================================================================
' Manufacturer checker for allow platforms.
'=======================================================================================
Dim BaseBoardSet, sLen, item
Set BaseBoardSet = GetObject ("winmgmts:").InstancesOf("Win32_BaseBoard")
for each item in BaseBoardSet
Manu=trim(item.Manufacturer)
Next
If Manu = "Dell" Then
'=======================================================================================

It's that simple, but where would I load it so that it does this check during the WinPE boot?

Thanks,
RD


#2 User is online   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,001
  • Joined: 09-September 01
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 15 August 2011 - 03:51 PM

If the MDT installation source is on the network (either booted via PXE or boot media), it already asks for a password. As to running it on Dell's only, that wouldn't necessarily be as easy and would require either some custom script or WMI filtering on a custom step during the task sequence, or using the database, or both.

#3 User is offline   arwidmark 

  • Member
  • PipPip
  • Group: Members
  • Posts: 100
  • Joined: 22-December 05
  • OS:none specified
  • Country: Country Flag

Posted 15 August 2011 - 05:34 PM

Cluberti is spot on, MDT has password protection by default of the boot image.

As for limiting deployments per vendor, very easy, this is also built in... use the following rules (customsettings.ini)... You can also do it per model, if you only want to allow installation on specific dell models

[Settings]
Priority=Make, Default

[Default]
OSInstall=NO

[Dell Computer Corporation]
OSInstall=YES

[Dell Inc.]
OSInstall=YES

[Dell Computer Corp.]
OSInstall=YES

If you want to use wildcards (sort of) you can use this user exit http://blogs.technet...stallation.aspx

/ Johan

#4 User is offline   randalldale 

  • Member
  • PipPip
  • Group: Members
  • Posts: 113
  • Joined: 16-November 04

Posted 16 August 2011 - 03:30 PM

Forgot to mention that has to be a media based install only, so leaving out the network password does me no good.

Here is the simple, I've watched the videos about 10 times or at least until they start to put me to sleep and as simple as I want it to be, it is not unless all I want to do is deploy a basic Windows OS.

I'm new at MDT 2010 and all I want to do is apply my WIM file but first password protect the media and then limit the install to a certain manufacturer. Also this is windows XP at this time and so far I haven't found the location of a customsetting.ini. And anything I can find on it seems to reference the database yet a media based install doesn't use a database.

Look at my first post, everything I need is in 27 lines including references. Yet can I figure out how to integrate it in the MDT 2010 install... not a chance. While I am a newbie at MDT 2010 I'm not a newbie at doing OS installs, building recovery partitions, installing from a multiple partition HDD so I've done a few things and now I need to learn this thing... :wacko:

My new manager now requires that I move to this process so just looking for some help guys. Any good books or anything out there that could be recommended? I love the WROX books, heck used one to learn vbScript.

Help me Obi One you're my only hope...

Thanks,
Randy

#5 User is offline   randalldale 

  • Member
  • PipPip
  • Group: Members
  • Posts: 113
  • Joined: 16-November 04

Posted 22 August 2011 - 03:05 PM

Figured it out guys,

I just needed to build my .EXE file and call it first in the BOOT.WIM by just need to modify the run command in WinPE and do that by modifying the template files that is used the the media is created. The files are normally located in C:\Program Files\Microsoft Deployment Toolkit\Templates and are called Unattend_PE_x64.xml and Unattend_PE_x86.xml.

Open them and replace the the text that looks like this(Please, make a copy of them before you make the changes…):

wscript.exe X:\Deploy\Scripts\LiteTouch.wsf

with this:

X:\Windows\system32\LTIRunx86.exe

Update the media

Give credit where credit is due... used this link for help... http://deploymentbun...2010-litetouch/

RD

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy