[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

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

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

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 80

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

Are You Ready for GDPR?

With the GDPR deadline set for May 25, 2018, many organizations are ill-prepared due to uncertainty about the criteria for compliance. According to a recent WatchGuard survey, a staggering 37% of respondents don't even know if their organization needs to comply with GDPR. Do you?

Question has a verified solution.

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

SHARE your personal details only on a NEED to basis. Take CHARGE and SECURE your IDENTITY. How do I then PROTECT myself and stay in charge of my own Personal details (and) - MY own WAY...
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…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

649 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