Autologin question.

B

bjohn

I have the following in my riprep.sif file

[GuiUnattended]
AutoLogon=Yes
AutoLogonCount=1
OemSkipWelcome = 1
OemSkipRegional = 1
TimeZone = %TIMEZONE%
AdminPassword = "MYPASSWORD"


This works fine and the first login is automated. but I noticed that
the password gets saved in the following registry key.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon\DefaultPassword

How can I prevent this from happening?

Thanks
 
A

Adam Leinss

(e-mail address removed) wrote in
I have the following in my riprep.sif file

[GuiUnattended]
AutoLogon=Yes
AutoLogonCount=1
OemSkipWelcome = 1
OemSkipRegional = 1
TimeZone = %TIMEZONE%
AdminPassword = "MYPASSWORD"


This works fine and the first login is automated. but I noticed
that the password gets saved in the following registry key.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winl
ogon\DefaultPassword

How can I prevent this from happening?

Thanks

Just import a REG file during the first logon (using regedit /s
regfile.reg) that removes the entry or sets it to nothing:

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winl
ogon]
"DefaultPassword"=-
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top