PC Review


Reply
Thread Tools Rate Thread

create a batch file to lock computer?

 
 
liu
Guest
Posts: n/a
 
      19th Feb 2009
Is there a free solution to lock my Windows in one mouse click instead
of control-alt-del then select Lock Computer? Something like a batch
file or some kind of script to do that?

Thanks for the help,
 
Reply With Quote
 
 
 
 
smlunatick
Guest
Posts: n/a
 
      19th Feb 2009
On Feb 19, 2:30*pm, liu <spamfree...@yahoo.com> wrote:
> Is there a free solution to lock my Windows in one mouse click instead
> of control-alt-del then select Lock Computer? Something like a batch
> file or some kind of script to do that?
>
> Thanks for the help,


Try this free software:

http://www.nirsoft.net/utils/nircmd.html

look at lockws section.
 
Reply With Quote
 
Olórin
Guest
Posts: n/a
 
      19th Feb 2009
"liu" <(E-Mail Removed)> wrote in message
news:afe41616-471b-4cb7-af91-(E-Mail Removed)...
> Is there a free solution to lock my Windows in one mouse click instead
> of control-alt-del then select Lock Computer? Something like a batch
> file or some kind of script to do that?
>
> Thanks for the help,


Would Windows key + L do?

Or if you need an icon to click on, create a desktop shortcut that runs this
command:

Rundll32.exe User32.dll,LockWorkStation

and click on that to lock (or switch user).


 
Reply With Quote
 
sgopus
Guest
Posts: n/a
 
      19th Feb 2009
a very easy solution, hit your windows key and while pressing it, press the L
key.
of course this method does depend on having a keyboard that has the windows
key .

"liu" wrote:

> Is there a free solution to lock my Windows in one mouse click instead
> of control-alt-del then select Lock Computer? Something like a batch
> file or some kind of script to do that?
>
> Thanks for the help,
>

 
Reply With Quote
 
Spamcop User
Guest
Posts: n/a
 
      20th Feb 2009
I agree Windows Key + L together for XP & above



"Olórin" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> "liu" <(E-Mail Removed)> wrote in message
> news:afe41616-471b-4cb7-af91-(E-Mail Removed)...
>> Is there a free solution to lock my Windows in one mouse click instead
>> of control-alt-del then select Lock Computer? Something like a batch
>> file or some kind of script to do that?
>>
>> Thanks for the help,

>
> Would Windows key + L do?
>
> Or if you need an icon to click on, create a desktop shortcut that runs
> this
> command:
>
> Rundll32.exe User32.dll,LockWorkStation
>
> and click on that to lock (or switch user).
>
>



 
Reply With Quote
 
liu
Guest
Posts: n/a
 
      20th Feb 2009
Thank you all for the suggestion. Windows + L does it.
 
Reply With Quote
 
Bruce Chambers
Guest
Posts: n/a
 
      20th Feb 2009
liu wrote:
> Is there a free solution to lock my Windows in one mouse click instead
> of control-alt-del then select Lock Computer? Something like a batch
> file or some kind of script to do that?
>
> Thanks for the help,



There at least 4 ways to lock a WinXP (Home or Pro) workstation,
any of which can be used, regardless of domain membership. (In fact,
I'm not aware of any method of locking a computer that's dependent upon
the presence of a domain.):

1) Use the Windows Key + L hot key.

2) You can press CTRL+ALT+DEL and then <ENTER>, once you've turned off
the Welcome Screen and Fast User Switching. (This is the default in a
domain environment, as FUS is contrary to the domain security paradigm.)

3) You can create a desktop shortcut with
"%windir%\System32\rundll32.exe user32.dll, LockWorkStation" in the
target field. (It is case-sensitive, BTW.) You can then assign a
keyboard shortcut.

4) Set a password protected screensaver, and wait the allotted time
without touching the mouse or keyboard.



--

Bruce Chambers

Help us help you:
http://www.catb.org/~esr/faqs/smart-questions.html

http://support.microsoft.com/default.aspx/kb/555375

They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. ~Benjamin Franklin

Many people would rather die than think; in fact, most do. ~Bertrand Russell

The philosopher has never killed any priests, whereas the priest has
killed a great many philosophers.
~ Denis Diderot
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a batch file? Eric Windows XP General 4 28th Apr 2008 12:25 PM
Create a batch file Namit Kr Goel Windows XP Basics 2 24th Oct 2006 09:45 PM
DOS: How to create a batch file that will move file based on files =?Utf-8?B?QnJhbmRvbg==?= Windows XP General 2 25th Aug 2006 11:50 PM
How Do I Create Batch File Dennis Marks Windows XP Basics 10 22nd Jun 2006 12:21 PM
Help us create a batch file to clean a pc of stuff (hand computer to mom) Orak Listalavostok Windows XP Basics 1 2nd Nov 2004 11:38 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:07 PM.