• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1409
  • Last Modified:

How to Disable the sleep button in the keyboard for users?

Dear Sir,

I have Windows 2003 R2 as Active Directory with group policy configured for students in a Lab.
Students are using the sleep button in the keyboard to log out from their NETOP session.
How can I disable the sleep button in the keyboard through group policy?

Please any help...
0
ISC-IT-Admin
Asked:
ISC-IT-Admin
  • 6
  • 3
1 Solution
 
Glen KnightCommented:
There is a guide on how to do this here: http://support.microsoft.com/kb/302092

As far as I am aware this cannot be done with Group Policy
0
 
ISC-IT-AdminAuthor Commented:
Hi Demazter,

Is there any thing more easier to do this?
Like a reg key to be imported to the registry to disable the sleep button.
Our keyboards are USB...
0
 
ISC-IT-AdminAuthor Commented:
Honeslty the microsoft article is complicated a little bit...
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Glen KnightCommented:
I don't believe so, there may be 3rd party tools out there that can do it for you.

Having a School that I look after myself brought this problem up for us as well.  we researched for quite a while trying to find a solution, in the end we replaced the keyboards because the 3rd party software was too expensive.
0
 
djpazzaCommented:
Have not tested but this vbs script may do what your after.  Backup your registry first.  Save code as a .vbs file and run.
Option Explicit

Set WSHShell = WScript.CreateObject("WScript.Shell")
Dim WSHShell, n, p, itemtype, mybox

p = "HKEY_USERS\.DEFAULT\Control Panel\PowerCfg\CurrentPowerPolicy"
itemtype = "REG_SZ"
n = "4"
WSHShell.RegWrite p, n, itemtype

MyBox = MsgBox("You must Log Off/Log On for the changes to take effect.", 64,"Done")

Open in new window

0
 
ISC-IT-AdminAuthor Commented:
Thank You djpazza,

Coulld you explain for me this script and how to import it to the group policy?
So this VB script is not tested... I'm taking risk...
0
 
ISC-IT-AdminAuthor Commented:
I need to run this sript on every machine?

Thanks!
0
 
ISC-IT-AdminAuthor Commented:
Dear Djpazza,

Please note that I tried and I run the script abobe, but it didn't work...

I turned off manually the sleep button from the control panel / Power option.

0
 
Glen KnightCommented:
Did you try the microsoft option I provided?
0
 
ISC-IT-AdminAuthor Commented:
No I didn't try the Microsoft Option... As I have an easy way to do it in Control Panel...
I was looking for a script or policy to force it on all Pcs...
Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

  • 6
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now