Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Auto Logon and Lock

17 Jul 2011   #1

Windows 7 Home Premium x64, Mac OS X 10.6.2 x64
Auto Logon and Lock

Is there a way I can make my computer automatically log in and then lock my account so that it does my startup programs automatically? (on Windows 7 x64)

My System SpecsSystem Spec
17 Jul 2011   #2

64-bit Windows 10 Pro

Hello Michael,

I haven't tried this, but I suppose that after you set your computer to log on automatically to a user account you should be able to do either option below.

Create a lock computer shortcut and place it in your Startup folder in the Start Menu for this.


You could also create a task to run the lock computer shortcut at startup with or without a delay for this as well.

Task - Create to Run a Program at Startup and Log On
My System SpecsSystem Spec

 Auto Logon and Lock

Thread Tools

Similar help and support threads
Thread Forum
auto keyboard lock
Every time I reboot my system the wireless keyboards don't work,( i have 2) mouse works fine. To get keyboards to work I must hold down the shift key for about 15 sec then it's fine until the next restart any ideas?
Hardware & Devices
auto lock after 30 minutes
I'm using windows 7 under local company network, I setup never shutdown monitor and harddisk, no screen password protection, I didn't press CTRL+ALT+DEL to lock the computer, but after I left my desktop for more than 30 minutes, system autoatically CTRL+ALT+DEL and lock my desktop, so how to...
General Discussion
Unstoppable Auto Lock
So I had a friend stay over a few days and had to enable the auto lock feature and ask for a password (yeah "had", I know). Before anything was changed I had power options set to turn off my screen after 10 minutes and not to ask for a pass on resume. Post friend visit I had screen set to power off...
General Discussion
Auto Lock after Login
I know that you can set up windows to auto login the computer using "control userpasswords2" then you can tell it to log into the windows; therefore, allowing windows to continue booting the rest of the computer up. Seeing that I want this on a server. I need the computer to log into the...
Installation & Setup
Auto logon Auto unattend issue
Hi there, I've successfully made an answer file on SIM that gets through the whole process unattended. However right at the end it always asks for user name-also it hasn't named the computer. Here is my answer file. <?xml version="1.0" encoding="utf-8"?> <unattend...
Installation & Setup

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:25.
Twitter Facebook Google+