A while back, some one had asked about managing to lock a Windows workstation programmatically. This made me to recall about a blog post and a simple C# Code snippet that I shared long time back. A quick Internet Search of it got my previous blog URL (wwwcoder has changed the blog URL patterns now and hence now the URLs are bit length). Here is the URL anyway: http://www.wwwcoder.com/Default.aspx?tabid=283&EntryID=763
However, I feel that, as one of my readers shared over there,
rundll32 user32.dll LockWorkStation is the most quick and effective shortcut to lock a workstation when START+L is not available like in Windows 2000. The Windows+L key, I believe, works starting from Windows XP only.
For more details, visit http://www.wwwcoder.com/Default.aspx?tabid=283&EntryID=763
|
| Author: Kumar Velu 30 May 2008 | Member Level: Diamond Points : 2 |
thanks..
|