Solved

How do I create a shortcut to Lock my Windows Server?

Posted on 2010-11-14
4
436 Views
Last Modified: 2012-05-10
I know how to create a shortcut to lock a Windows XP/7 machine, but the same thing doesn't work on my server. How can i create a desktop shortcut to Lock my Windows Server?
0
Comment
Question by:coptechs
  • 2
  • 2
4 Comments
 
LVL 76

Expert Comment

by:arnold
Comment Utility
What do you mean, running the rundll with a command or simply hitting the start+L?
0
 
LVL 1

Author Comment

by:coptechs
Comment Utility
I want to be able to have a desktop shortcut/icon that when I double-click on it, it locks the server computer just as if I hit start+L

I know this can be done on a regular Windows OS, but the same command does not work on the server.
0
 
LVL 76

Accepted Solution

by:
arnold earned 500 total points
Comment Utility
I think if you create a .bat file with the contents being:
rundll32.exe user32.dll,LockWorkStation
It works on win2k3? Which server do you have?
http://www.windowsnetworking.com/nt/nt2000/utips/utips47.shtml
0
 
LVL 1

Author Closing Comment

by:coptechs
Comment Utility
Thanks Arnold. I was missing the "LockWorkStation" parameter. It works perfectly.
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

This is a guide to the following problem (not exclusive but here) on Windows: Users need our support and we supporters often use global administrative accounts to do this. Using these accounts safely is a real challenge. Any admin who takes se…
Know what services you can and cannot, should and should not combine on your server.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now