Go Back   TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Auto Logon AND auto lock workstation?

Windows XP Support


Reply
 
Thread Tools Search this Thread
  #1  
Old 08-11-2006
Member
 
Join Date: Jan 2006
Posts: 142
Auto Logon AND auto lock workstation?

I usually sometimes restart my computer and load all my apps after I login. But the whole process takes atleast 10 minutes. I want to start a restart and leave my desk and come back and have all my apps loaded automatically. I have my apps setup to auto start after I login and I know how to set the computer to auto log me in. I just want to know how to get the pc to lock itself as soon it logs me in so no one can use it while its loading my apps? Thanks.

Reply With Quote
  #2  
Old 08-11-2006
Member
 
Join Date: Jan 2006
Posts: 605
Re: Auto Logon AND auto lock workstation?

You can try to create a batch file with the below contents:

@ECHO OFF

%windir%\system32\rundll32.exe user32.dll,LockWorkStation

After that name the batch file "autolock.cmd". Now you can move the batch file to the "c:\documents and settings\<YourUserName>\Start Menu\Programs\Startup" folder.
Reply With Quote
  #3  
Old 09-11-2006
Member
 
Join Date: Jan 2006
Posts: 142
Re: Auto Logon AND auto lock workstation?

Thanks for the reply, so after using it right now it starts loading the apps and then locks the pc. Can you tell me some other way to make it lock first. Will the sequence of the keys in the run entry matter?
Reply With Quote
  #4  
Old 09-11-2006
Member
 
Join Date: Jan 2006
Posts: 830
Re: Auto Logon AND auto lock workstation?

You wont be able to tell the entries to start with the Windows XP regsitry first. You can try to get 3rd party apps which can do this for you, just search it on the net. Also, you can try to create batch file with the Run entries command for the Current User in the bacth file. After you have made the bat file, then you can delete all Run entries in the registry editor for the current user. After that create one registry entry that will start the bat file in the run entries for the current user. Check the below Batch File:

@echo off

START /wait "c:\autolock.cmd"
START /wait "c:\program files\program1.exe" /switch
START /wait "c:\program fils\program2.exe"
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support
Tags:



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Auto Logon AND auto lock workstation?"
Thread Thread Starter Forum Replies Last Post
How to set auto logon in Windows 7 professional Dhatri Operating Systems 4 16-09-2011 11:28 AM
Windows Vista Auto-Logon Jason Vista Help 5 28-10-2010 02:56 PM
Shift to bypass auto logon not working Tanveer Joshi Networking & Security 6 07-09-2010 11:59 PM
Schedule reboot with auto logon benb Windows Server Help 4 29-04-2008 02:07 PM
disable auto logon in xp alok_singh_tech Operating Systems 1 06-02-2008 11:58 AM


All times are GMT +5.5. The time now is 04:46 PM.