POWER SETTINGS

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.
 
G

Gerard

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

Similar Threads

Reliance on Internet 12
Keep losing roaming profiles 1
User Power Settings 2
Disable Group Policy on a laptop 4
Power Settings 1
Power Management via GPO 5
power schema 2
Local Power User on domain 1

Top