Re: Locking Computer
From: Torgeir Bakken \(MVP\) (Torgeir.Bakken-spam_at_hydro.com)
Date: 08/11/04
- Next message: Ken Blake: "Re: Documentation in new Windows"
- Previous message: Alexander Grigoriev: "Re: "New Hot Deals.exe" keeps showing up on my Desktop, how to get rid of it????"
- In reply to: tmoney100: "Re: Locking Computer"
- Next in thread: Andre Da Costa: "Re: Locking Computer"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 11 Aug 2004 18:07:36 +0200
tmoney100 wrote:
> Torgeir:
>
> Thanks a mil! Your instructions on a "elegant" desktop shortcut worked
> beautifully. However, I have 3 questions:
>
> 1) why does the shortcut lock (back to the blue XP login screen) look
> differently from the usual screensaver password prompt?
I don't know.
> 2) What is rundll32.exe and how is it the command is able to lock the
> workstation?
rundll32.exe can be used to access some "public" API calls in some
dll files.
> 3) If I have now configured the desktop shortcut, what should I do with the
> VBScript instructions you provided? What is a VBscript? why is it setting
> the command for the current user and all users?
VBScript is an easy-to-use scripting language that enables you to
automate tasks on a Windows system.
If you have created the shortcut manually, you don't need to use the
VBScript. The script would have created two shortcuts for you, one
on the All Users desktop (available for all users of the computer),
and one in the Quick Launch Tray (will be seen only for the user
that runs the script)
Here are some Windows Script Host (WSH)/VBScript Web introductions:
See "VBScript Primer" here:
Scripting Concepts and Technologies for System Administration
http://www.microsoft.com/technet/scriptcenter/scrguide/sas_pt1_overview.asp
WSH
http://cis.stvincent.edu/wsh/index.html
Introduction to Windows Scripting
http://www.winguides.com/article.php?id=2
NT Gains Scripting Muscle
An introduction to Windows Script Host by Bob Wells.
http://www.winnetmag.com/Articles/Index.cfm?ArticleID=3026
Scripting 101
A 4 part series on how to create and structure WSH scripts by Bob Wells
http://www.winnetmag.com/Articles/Index.cfm?ArticleID=5410
http://www.winnetmag.com/Articles/Index.cfm?ArticleID=5505
http://www.winnetmag.com/Articles/Index.cfm?ArticleID=5683
http://www.winnetmag.com/Articles/Index.cfm?ArticleID=7112
VBScript Primer
http://www.microsoft.com/technet/prodtechnol/windows2000serv/maintain/optimize/script/netvbscr.asp
WSH 5.6 documentation (local help file) can be downloaded from here
if you haven't got it already:
http://msdn.microsoft.com/downloads/list/webdev.asp
-- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scriptcenter/default.mspx
- Next message: Ken Blake: "Re: Documentation in new Windows"
- Previous message: Alexander Grigoriev: "Re: "New Hot Deals.exe" keeps showing up on my Desktop, how to get rid of it????"
- In reply to: tmoney100: "Re: Locking Computer"
- Next in thread: Andre Da Costa: "Re: Locking Computer"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|