(E-Mail Removed) wrote in
news:(E-Mail Removed):
> 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"=-