Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AutoLogin ADM Template (AutoAdminLogon)

Status
Not open for further replies.

jjk3

MIS
Nov 18, 2002
31
US
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.

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
 
Because polices go in the software\policies area.

Am I understanding that you're attempting to force machines to automatically login, circumventing network security and creating a SERIOUS security risk?

Pat Richard, MCSE MCSA:Messaging CNA
Microsoft Exchange MVP
Want to know how email works? Read for yourself -
 
It turned out it's related to the filtering settings of GPMC. I have to uncheck the "Only show policy settings that can be fully managed" filter and the policy showed up.

And yes we understand the security risks as mentioned in my P.S.

Joe

---------------------------------------
Joe Keegan - Joe@jjk3.com
SANS GSEC & GCFW
CCSE, CCNA, CCSA & Sun Certified
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top