Link to home
Start Free TrialLog in
Avatar of crp0499
crp0499Flag for United States of America

asked on

Lock Workstation shortcut via GPO

I need a GPO that will place a Lock Workstation shortcut on everyone's desktop.  

What I want is for every user who logs in to have a shortcut on his desktop that will allow him to lock the workstation with a mouse click.

the environ is Server 2008 domain w/ Win7 Workstations.

Can someone help me out with this?

Thanks

Cliff
ASKER CERTIFIED SOLUTION
Avatar of Chris
Chris
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Robin CM
Use a Group Policy Preference to create the following shortcut:
C:\Windows\System32\rundll32.exe user32.dll,LockWorkStation
You can assign it an icon, e.g. I use a padlock symbol found in C:\Windows\System32\shell32.dll
Avatar of crp0499

ASKER

Thank you Chris.
Just realised, the location field in the above screenshot should be "Desktop".
Avatar of crp0499

ASKER

Yep, I caught that.  Thank you again.
Avatar of crp0499

ASKER

Sorry to bug you Chris, but this isn't showing up on the desktop.  It's written as you specified and applied to the right OU and filtered by user.  Thoughts?