Jump to content

Autologon question


Recommended Posts

Hi,

i install my useraccount and autologon with cmdlines.txt and autologon.reg, shown here,

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="name"
"DefaultPassword"="password"
"AutoAdminLogon"="1"

my problem is that windows is loging in again when runonceex.cmd has restarted the pc, but i would like to have the logonscreen on the monitor when i come back to the pc,

so i would like to delete the autologon after unattesnded setup has logged in the first time and while runonceex.cmd is installing.

so my question is if it is possible to add a *.reg to my runonceex.cmd which deletes the autologin and any traces of my password.

would this file here work?

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="name"
"DefaultPassword"=""
"AutoAdminLogon"="0"

thx for all answers

Greetings

Erlkönig

Link to comment
Share on other sites


Give it a go. I don't see why it shouldn't work. Or maybe try this:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"=""
"DefaultPassword"=""
"AutoAdminLogon"="0"

Have your cleanup command file call it.

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
  • Recently Browsing   0 members

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