POWER SETTINGS

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

We are trying to set our tablets to never turn off for all users on a
network. Managed by a GPO that has no power settings in it. Can this be done
administratively? If so how? We have tried using the ntuser.dat file for all
users and the default user and it will not work.
 
Tracy,
You can use a quick vb script during user logon and set
CurrentPowerPolicy = 2 in the HKCU hive. e.g.
-------

Const HKCU = &H80000001
strComputer = "."
Set objReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &_
strComputer & "\root\default:StdRegProv")

PowerCfgPath = "Control Panel\PowerCfg"
PowerCfgValue = "CurrentPowerPolicy"
PowerCfgData = "2"

objReg.SetStringValue HKCU,PowerCfgPath,PowerCfgValue,PowerCfgData

--------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top