Jump to content

Help writing to winlogon part of the registry


Recommended Posts

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...