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.

3
  • What is the purpose of doing this if your require to provide a password when you unlock the computer? Sadly the advice given by Andre is unlikely to work since the default behavior of Windows 8 is to go to the start screen and not straight to the desktop.
    – Ramhound
    Dec 12, 2012 at 14:48
  • @Ramhound A very common use for this (I see this a lot in the business world) is a program that want's to act like a service and run all the time but it runs in the user's session on startup instead of as a service. Dec 12, 2012 at 14:50
  • @ScottChamberlain - The terms used doesn't really seem to apply in a case like this. You do make a good point although a libral policy on locking the computer can also be used to acomplish this without using any third-party software ( even if Autologon is first-party ).
    – Ramhound
    Dec 12, 2012 at 15:08

3 Answers 3

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.

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!

Not the answer you're looking for? Browse other questions tagged .