Avatar of SaltyDawg
SaltyDawg
Flag for United States of America asked on

Tough Question? Make a Windows Account auto logon WITHOUT a reboot.

OK.  I need to be able to set an existing account to auto logon without a reboot.  So I cannot use sysinternals autologon because it requires a reboot.


I need to set the auto logon for the user account and then without a reboot the user should be logged in and the account needs to be available via remote desktop.


There will be only one user and that user will not have access to the registry and protection will be set so that the user is the only one that can log onto the system


Thus, I would like to simulate the reboot process for auto logon settings - maybe stop and restart some service or run some .dlls.


This seems to be a big challenge because I could not find anything on this issue.

Windows OSDesktops* User accounts* User permissions

Avatar of undefined
Last Comment
SaltyDawg

8/22/2022 - Mon
David Favor

Likely approach will be to write a script to kill off + restart specific processes... as... simulating a reboot... without a reboot... seems difficult...
ASKER CERTIFIED SOLUTION
ste5an

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Qlemo

If, for whatever reason, you indeed need to have a running session, set up autologin with the tool, and then log in manually as that user.

But as ste5an stated, just connecting with RDP should be sufficient. Unless there is an issue with creating new RDP sessions ...
Seth Simmons

I need to set the auto logon for the user account and then without a reboot the user should be logged in and the account needs to be available via remote desktop.

by definition, auto logon is to automatically login at startup
if you don't want to reboot then you are implying there must be some trigger for the login process

for rdp, as long as it is enabled and the user is allowed to connect that way, there is nothing further to do

This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
SaltyDawg

ASKER
Great input!  Give me a couple days to evaluate