Welcome to MSFN

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


Sign in to follow this  
Followers 0
randalldale

Password protect and limit install base lite touch.

5 posts in this topic

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

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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.com/b/deploymentguys/archive/2009/09/10/using-and-extending-model-aliases-for-hardware-specific-application-installation.aspx

/ Johan

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

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://deploymentbunny.com/2011/01/26/password-or-pin-code-protect-mdt-2010-litetouch/

RD

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.