?
Solved

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

Posted on 2010-11-14
4
Medium Priority
?
443 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 81

Expert Comment

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

Author Comment

by:coptechs
ID: 34132883
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 81

Accepted Solution

by:
arnold earned 2000 total points
ID: 34133883
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
ID: 34135868
Thanks Arnold. I was missing the "LockWorkStation" parameter. It works perfectly.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…

839 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