Auto-Repair Tool

Full Guide: Automatically Lock Windows 7 PC Immediately After Auto-Login (Startup)

Lock Windows 7 After Auto Login_thumb.jpg 1Let’s say you want your PC to boot up unattended, but you don’t want to give anyone access. Simple: Simply lock your PC right after it started!

Step 1: Create Auto Login For Windows 7

Tip: If you fail, read this tutorial that explains how to auto-login

We explained how to create an auto login for Windows 7 previously, but I’ll summarize it again to make sure you get it all right:

1. Step Click on Start and enter the command netplwiz and hit Enter

2. Step UNcheck the box Users must enter a user name and password to use this computer

3. Step Click APPLY

4. Step A popup will appear asking you for your password:

Create Auto Login For Windows 7.Jpg 1

5. Step Once you entered the password and confirmed the auto-login will be setup! Your PC will no longer require a password to start.

Step 2: Create Shortcut To Lock Your PC

We also have a tutorial for this step: Creating shortcuts in Windows 7

6. Step Next, we are going to create a simple shortcut that will lock your PC. So go to your desktop, right-click on it and select New – Shortcut

New Desktop Shortcut Creation 1

7. Step Copy this bold text rundll32.exe user32.dll,LockWorkStation and paste it into the location field:

Shortcut Location Path 1

8. Step When that is done, follow the instructions (click next and give the shortcut a name e.g. lock me)

9. Step Open the Windows Explorer and go to the startup folder location

Location: C:\Users\(username)\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

10. Step Keep in mind that you have to replace (username) with your own and you have to unhide hidden files and folders as explained on our site countless times.

11. Move the shortcut to the Startup folder either by dragging it or using the shortcuts for copy and paste (CTRL + C and CTRL + V)

12. When that is done your PC will immediately lock right after it starts.

IMPORTANT: If you have a lot of other startup programs it is entirely possible that your PC will take quite a long time to start before it actually runs the shortcut, thus it might not be the best solution but by far the easiest. If you need a more secure solution, let us know. We might come up with some script that runs right after the login process, making this more secure.

Alternative Solutions: Auto-Repair Your PC And Drivers

Still Having Trouble? Try TWEAKBIT FIXMYPC - FREE

TOP Security Software For 2016

1 Bullguard2 AVG3 Anti -Malware
Price annually/device$59.95
(1 year / 3 devices)
(1 year / 1 device)
(1 year / 1 device)
Bullguard_logo_small Avg_logo_2016_internet_security Malwarebytes Anti Malware 2016.Png
Visit Now Visit Now Visit Now
Read Review Read Review Read Review
Great For:Allround Use, ReportsAllround Use, FirewallRemoving
Published: Wednesday, February 29th, 2012 Last Modified: February 29, 2012

Related Posts

Rate This Article
5 of 5 0 (100%) 1 vote