This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: auto login on windows 7
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 15, 2011
08:57 AM
auto login on windows 7
I have a script on the local computer that I run to autologin on windows 7 64bit,
cd C:\Windows\System32\
reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultUserName /d Administrator /f
reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultPassword /d snafu4u /f
reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon /d 1 /f
exit
I point to this script in my installer and it doesn't update the registry. I am logged into admin and have full rights. I've used this method on previous OS's, Vista and XP and it works fine. Why can I run it and it works but not from the installer?
Thanks,
cd C:\Windows\System32\
reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultUserName /d Administrator /f
reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultPassword /d snafu4u /f
reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon /d 1 /f
exit
I point to this script in my installer and it doesn't update the registry. I am logged into admin and have full rights. I've used this method on previous OS's, Vista and XP and it works fine. Why can I run it and it works but not from the installer?
Thanks,
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 15, 2011
09:18 AM
Is your Windows 7 installed under C:\Windows ?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 15, 2011
02:27 PM
I ended up using "Set Windows Registry" with the 64 bit registry checkbox and it worked.
I am still curious why I can run the script on the computer and it works but when I run it from my installer it doesn't update the registry.
thanks for the reply pv7721
I am still curious why I can run the script on the computer and it works but when I run it from my installer it doesn't update the registry.
thanks for the reply pv7721
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)