2

I want my PC to automatically log into my Windows 8 account and run all the startup programs, with out me giving my user name and password. (I have done this myself).

But I also want my PC to be locked until I log in myself. I don't want it to be in an insecure state.

slhck
  • 235,242

3 Answers3

3

I would use Autologon from Sysinternals but add a scheduled task with a trigger (start at login) and enter this command in the task scheduler

Program: rundll32.exe and as parameters: user32.dll,LockWorkStation

and create the task. The rundll32 command locks the PC after the automatic logon.

0

I would master the AutoAdminLogon registry setting. See detailed article on my website

Then I would create an old-fashioned .bat file, in that file I would put magcandre's suggestion of:
rundll32.exe user32.dll,LockWorkStation

Then I would put the batch file in the start-up folder:
C:\Users\xyz\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

Task Breakdown
1) Logon Automatically
2) Create a task or script which locks the computer
3) Run the task in 2) as soon as the user logs on.

Guy Thomas
  • 3,348
0

All you have to do is go to the modern UI screen and type "netplwiz" select your account and uncheck user must enter username and password to use this computer. That's it!