I am trying to create a .adm file that will allow us to set autologin via GPO. I have created the following .adm file, but the policy does not show up in GPMC.
When I change the KEYNAME to "SOFTWARE\policies\Microsoft\WindowsNT\CurrentVersion\Winlogon" the policy shows up fine in GPMC and writes the reg keys, but it's not in the correct place.
Anyone have any idea why this doesn't work using the "SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon" key?
Thanks
Joe
P.S. I understand the security risks associated with auto-login. Thanks!
---------------------------------------
Joe Keegan - Joe@jjk3.com
SANS GSEC & GCFW
CCSE, CCNA, CCSA & Sun Certified
Code:
CLASS MACHINE
CATEGORY "Auto-Login"
POLICY "Enable Auto-Login"
KEYNAME "SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon"
VALUENAME "AutoAdminLogon"
PART "Auto-Login Username" EDITTEXT
VALUENAME "DefaultUserName"
END PART
PART "Auto-Login Domain" EDITTEXT
VALUENAME "DefaultDomainName"
END PART
PART "Auto-Login Password" EDITTEXT
VALUENAME "DefaultPassword"
END PART
END POLICY
END CATEGORY
When I change the KEYNAME to "SOFTWARE\policies\Microsoft\WindowsNT\CurrentVersion\Winlogon" the policy shows up fine in GPMC and writes the reg keys, but it's not in the correct place.
Anyone have any idea why this doesn't work using the "SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon" key?
Thanks
Joe
P.S. I understand the security risks associated with auto-login. Thanks!
---------------------------------------
Joe Keegan - Joe@jjk3.com
SANS GSEC & GCFW
CCSE, CCNA, CCSA & Sun Certified