/build/static/layout/Breadcrumb_cap_w.png

Any able to create an autologon post install task?

I'm looking to create a post install task that will set the registry so that after the system is done imaging and installing all software (through K2000 post install tasks), that after the next reboot it will autologon as the correct domain user.  I have created a reg file and copied it down to the system and ran a bat file with the appropriate command, but it doesn't want to set the bit for Autologon (it does set the default domain and user).  My second-to-last post install task is joining the domain followed by the Kace cleanup.  I tried putting my job right after the join domain task, but I'm wondering if this is even possible. 


0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Posted by: SMal.tmcc 11 years ago
Red Belt
0

You need to put a some of lines in your post task.

start /wait reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v AutoAdminLogon /d 1  /f

start /wait reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v AutoLogonCount /t REG_DWORD /d 2  /f

start /wait reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v DefaultDomainName /d tmccacad  /f

start /wait reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v DefaultUserName /d installer  /f

start /wait reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v DefaultPassWord /d Password /f

see link for a listing of my process. 

http://www.itninja.com/blog/view/windows-7-image-process-for-the-college-s-classrooms


Comments:
  • Well, it definitely worked in setting the bit for AutoAdminLogon, but the user account is a generic account with no password. I tried running what you posted above minus the key for the defaultpassword. I'll try adding the key but without actually providing a password or maybe double quotes with nothing else (""). Or is there some reason why the account would have to have a password for this to work? - tdickert 11 years ago
  • I believe you have to have a password, (another great feature from Microsoft) for adminautologon to work. the only time I have seen not needing a password was thru user accounts http://www.softwareok.com/?seite=faq-Win-7&faq=24 - SMal.tmcc 11 years ago
  • I used empty double quotes in place of a password and it worked! Thank you for your help once again! - tdickert 11 years ago
Posted by: taho 11 years ago
Senior Yellow Belt
-1

tdickert, you could just try Logonexpert tool for logon automation, it also support scripting and command line configuring:

http://www.logonexpert.com

http://www.logonexpert.com/help/

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ