Jump to content

Recommended Posts

Posted

RegWrite("HKEY_CURRENT_USER\Control Panel\PowerCfg\GlobalPowerPolicy", "Policies", "REG_BINARY", "01,00,00,00,00,00,00,00,03,00,00,00,10,00,00,00,00,00,00,00,03,\

00,00,00,10,00,00,00,00,00,00,00,03,00,00,00,00,00,00,80,00,00,00,00,03,00,\

00,00,00,00,00,80,00,00,00,00,01,00,00,00,00,00,00,80,00,00,00,00,01,00,00,\

00,00,00,00,80,01,00,00,00,05,00,00,00,02,00,00,00,04,00,00,c0,01,00,00,00,\

04,00,00,00,01,00,00,00,0a,00,00,00,00,00,00,00,03,00,00,00,01,00,01,00,01,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,00,\

00,16,00,00,00")

Posted (edited)

i dont know the register export looks like this

[HKEY_CURRENT_USER\Control Panel\PowerCfg\GlobalPowerPolicy]

"Policies"=hex:01,00,00,00,00,00,00,00,03,00,00,00,10,00,00,00,00,00,00,00,03,\

00,00,00,10,00,00,00,00,00,00,00,03,00,00,00,00,00,00,80,00,00,00,00,03,00,\

00,00,00,00,00,80,00,00,00,00,01,00,00,00,00,00,00,80,00,00,00,00,01,00,00,\

00,00,00,00,80,01,00,00,00,05,00,00,00,02,00,00,00,04,00,00,c0,01,00,00,00,\

04,00,00,00,01,00,00,00,0a,00,00,00,00,00,00,00,03,00,00,00,01,00,01,00,01,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,00,\

00,16,00,00,00

autoit needs to do this.. what did i wrong then in my code

Edited by yucatan
Posted

i did still same error

RegWrite("HKEY_CURRENT_USER\Control Panel\PowerCfg\GlobalPowerPolicy", "Policies", "REG_BINARY", "01,00,00,00,00,00,00,00,03,00,00,00,10,00,00,00,00,00,00,00,03_

00,00,00,10,00,00,00,00,00,00,00,03,00,00,00,00,00,00,80,00,00,00,00,03,00_

00,00,00,00,00,80,00,00,00,00,01,00,00,00,00,00,00,80,00,00,00,00,01,00,00_

00,00,00,00,80,01,00,00,00,05,00,00,00,02,00,00,00,04,00,00,c0,01,00,00,00_

04,00,00,00,01,00,00,00,0a,00,00,00,00,00,00,00,03,00,00,00,01,00,01,00,01_

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,00,00_

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,00_

00,16,00,00,00")

Posted (edited)

RegWrite("HKEY_CURRENT_USER\Control Panel\PowerCfg\GlobalPowerPolicy", "Policies", "REG_BINARY", _
 "01,00,00,00,00,00,00,00,03,00,00,00,10,00,00,00,00,00,00,00,03," & _
 "00,00,00,10,00,00,00,00,00,00,00,03,00,00,00,00,00,00,80,00,00,00,00,03,00," & _
 "00,00,00,00,00,80,00,00,00,00,01,00,00,00,00,00,00,80,00,00,00,00,01,00,00," & _
 "00,00,00,00,80,01,00,00,00,05,00,00,00,02,00,00,00,04,00,00,c0,01,00,00,00," & _
 "04,00,00,00,01,00,00,00,0a,00,00,00,00,00,00,00,03,00,00,00,01,00,01,00,01," & _
 "00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,00,00," & _
 "00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,00," & _
 "00,16,00,00,00")

Edited by weaponx
Posted

i did same errors

RegWrite("HKEY_CURRENT_USER\Control Panel\PowerCfg\GlobalPowerPolicy", "Policies", "REG_BINARY", "01,00,00,00,00,00,00,00,03,00,00,00,10,00,00,00,00,00,00,00,03 _

00,00,00,10,00,00,00,00,00,00,00,03,00,00,00,00,00,00,80,00,00,00,00,03,00 _

00,00,00,00,00,80,00,00,00,00,01,00,00,00,00,00,00,80,00,00,00,00,01,00,00 _

00,00,00,00,80,01,00,00,00,05,00,00,00,02,00,00,00,04,00,00,c0,01,00,00,00 _

04,00,00,00,01,00,00,00,0a,00,00,00,00,00,00,00,03,00,00,00,01,00,01,00,01 _

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,00,00 _

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,00 _

00,16,00,00,00")

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...