How to automatically login to Windows and then lock the workstation
How to automatically login to Windows and then lock the workstation?
Although it may sound unnecessary, this is one of the frequently asked questions asked in the the Newsgroups and forums all over the web. Here is one such legitimate case where it’s required:
"The IT department has begun pushing out periodic Automated Updates overnight which subsequently reboot my workstation. The negative result of this process is my scheduled tasks, which require my network credentials, fail because I am no longer logged into the network when the task is scheduled to run. I leave my workstation logged in and locked (for security) when unattended."
First, you must setup automatic logon to your user account. Secondly, place a script in the Startup folder that’ll lock the workstation after logging on. Microsoft MVP Mitch Tulloch’s Tip Locking a desktop at logon tells you how to lock the workstation after logging on, using the following command:
Whereas in Windows Vista (and Windows XP), you can place a shortcut to tsdiscon.exe in the Startup folder, and have it lock the workstation for you at startup. The common Startup folder is located here:
In Windows XP
In Windows Vista
RELATED POSTS
- How to change user account password at Command Prompt
- Fix for Error 0×80070005 when creating a Task using Task Scheduler in Windows XP
- Accidentally deleted a special folder in Vista
- Prevent Internet Explorer Toolbar Layout from being Reset
- Restore the Start menu Search link in Vista Service Pack 1
- How to Fix a Corrupted Recycle Bin in Windows Vista
- Add “Downloads” folder to the Windows Vista Start menu
- Add Videos folder to the Windows Vista Start menu
- Enable or Disable Thumbnail Preview for PDF Files
- Do not move special folders to the root drive!
BOOKMARK THIS PAGE
BlinkList | del.icio.us | Digg it | Furl | ma.gnolia | Newsvine | reddit | Spurl | Wink |


If you enjoyed this post, make sure you
Prefer an E-mail subscription?