Solved

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

Posted on 2010-11-14
4
439 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 78

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 78

Accepted Solution

by:
arnold earned 500 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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Some time ago I faced the need to use a uniform folder structure that spanned across numerous sites of an enterprise to be used as a common repository for the Software packages of the Configuration Manager 2007 infrastructure. Because the procedu…
Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

734 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