mikesmith72 Posted December 20, 2006 Share Posted December 20, 2006 (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 December 20, 2006 by mikesmith72 Link to comment Share on other sites More sharing options...
mikesmith72 Posted December 20, 2006 Author Share Posted December 20, 2006 REG_SG should be REG_SZThat did it.. damn I'm a moron. Thank you for the quick response, happy holiday's. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now