Categories
Welcome Center
Education & Development
Cyber Security
Virtualization
General
Certification Preparation
Project Management
Posts
Groups
Training Resources
Infosec
IT & Security Bootcamps
Practice Exams
Security Awareness Training
About Us
Home
Discussions
Off Topic
Odd Win7 registry edit
--chris--
I occasionally have to setup a PC at work that needs to autolaunch into windows, then into a certain program. We have a registry key that we add the domain, username, and password too then run it. It will state that the edit was successful.
I reboot the PC, but instead of auto logging in it goes to the normal login screen. Once again, I log into the PC with the same account as the first time run the key with the same values as before and reboot...and it will autolaunch every time after that.
Why do I have to edit the reg twice, every time? Is that a quirk of windows or a security feature?
Find more posts tagged with
Save $250 on 2025 certification boot camps from Infosec!
Book now with code EOY2025
Button
Comments
--chris--
Bump, new image rolled out today...same old problems.
daskew
I have experienced the same issue while configuring an account to automatically log in and launch Internet Explorer after login. I created the following entries in HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon:
AutoAdminLogon=1
DefaultUsername=
ad\username
DefaultPassword=
password
DefaultDomainName=AD
ForceAutoLogon=1
After logging out and confirming that the account specified in the entries above automatically logs in, I created a string value named "Shell" in HKCU\Software\Microsoft\Windows NT\CurrentVersion\Winlogon and changed the value to "C:\Program Files\Internet Explorer\iexplore.exe". In between the first and second time set of registry entries or after adding the second set of registry entries, if I log out, the account will automatically log back in. However, as soon as I reboot the computer, I have to manually log in using the account and add the DefaultPassword and change the value of ForceAutoLogon back to 1. From there on, if I reboot, the account will automatically log back in.
Maybe someone can chime in on what causes this.
--chris--
So its not just our image? Good news, I guess...we broke a few suites of software with this newest image anyways lol.
I am still learning how to modify registry values, so I will ask you: What do you use string values for? I have seen the option in there...but I don't need to break anything else at this point.
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of
INFOSEC Boot Camps
$250
OFF
Use code
EOY2025
to receive $250 off your 2025 certification boot camp!
BROWSE BOOT CAMPS