Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Password protect and limit install base lite touch.

- - - - -

  • Please log in to reply
4 replies to this topic

#1
randalldale

randalldale

    Member

  • Member
  • PipPip
  • 115 posts
  • Joined 16-November 04
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


How to remove advertisement from MSFN

#2
cluberti

cluberti

    Gustatus similis pullus

  • Supervisor
  • 11,028 posts
  • Joined 09-September 01
  • OS:Windows 8.1 x64
  • Country: Country Flag

Donator

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.
MCTS Windows Internals, MCITP Server 2008 EA, MCTS MDT/BDD, MCSE/MCSA Server 2003, Server 2012, Windows 8
--------------------
Please read the rules before posting!
Please consider donating to MSFN to keep it up and running!

#3
arwidmark

arwidmark

    Member

  • Member
  • PipPip
  • 105 posts
  • Joined 22-December 05
  • OS:none specified
  • Country: Country Flag
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
Regards

Johan Arwidmark
Microsoft MVP - Setup / Deployment

#4
randalldale

randalldale

    Member

  • Member
  • PipPip
  • 115 posts
  • Joined 16-November 04
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
randalldale

randalldale

    Member

  • Member
  • PipPip
  • 115 posts
  • Joined 16-November 04
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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users