Site icon BTNHD

MDT 2013 – Configuring AutoLogon

Advertisements

One of the most popular requests I get from clients during a project is “Can we configure autologon for a few of our devices while we’re at it?” My answer is always, “Of course!” because…well…I was taught that the customer is always right.

Typically, the devices in question are things like kiosks and point-of-sale machines but there are also plenty of other scenarios that might require autologon. But how do we accomplish this? By default MDT cleans up all of the autologon entries it creates during the deployment process so there are a few changes we will have to make to that cleanup process.

The script that MDT calls to perform the cleanup is LTICleanup.wsf and below is the code you will need to make the magic happen. All you guys have to do is copy and paste my revised code and follow the instructions below! I have also included a couple of videos to help you guys understand how it works. Enjoy!

Get the revised code here

If you have any issues please contact me @ deploymentoasys@gmail.com

Instructions:

1) Make a backup copy of LTICLeanup.wsf and put it somewhere safe

2) Open the original LTICLeanup.wsf script(preferably in Notepad++) and find the comment section called “Clear the AutoLogon registry keys”. It should be on/near line 128.

3) Highlight the existing code in that section and paste my revised code so that it overwrites what was there.

*Note* 

You can also just replace the original script w/ my LTICleanup.wsf script instead of following steps 2 & 3

4) Save the script and open the Deployment WorkBench.

5) Right-click the Deployment Share name, choose properties, and go to the Rules tab.

6) Under “Priority=Default” you should see “Properties=MyCustomProperty”

7) Enter the following properties:

AutoLogonPersist,MyDefaultUserName,MyDefaultDomainName,MyDefaultPassword

8) In the [Default] section, enter the properties and their respective values

*Note*

If you are configuring autologon for a Local account, use a period for MyDefaultDomainName.

For example:

AutoLogonPersist=YES

MyDefaultUserName=gandalf

MyDefaultDomainName=.

MyDefaultPassword=minasmorgul

Exit mobile version