Sign in to follow this  
Followers 0
mikesmith72

Help writing to winlogon part of the registry

2 posts in this topic

#1 ·  Posted (edited)

I am trying to set some autologin registry entries. If I take the space out of "Windows NT" is will create the keys and values etc, of cource, this isn't where I need them, I need them in the "Windows NT" section.

Is there something I have to do if there is a space in the registry keyname?

I tried an underbar (_) but that just created another key called Windows_NT.

;Set Autologin Values

RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", "DefaultUserName", "REG_SG", "brmonitor")

RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", "DefaultPassword", "REG_SG", "tvland")

RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", "AutoAdminLogon", "REG_SG", "1")

Thank you.

Edited by mikesmith72

Share this post


Link to post
Share on other sites



REG_SG should be REG_SZ

That did it.. damn I'm a moron.

Thank you for the quick response, happy holiday's.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0