Jump to content

Power Options GPO?


realized

Recommended Posts


Here is an adm file to import into Group Policy

#if version <= 2

CLASS USER

CATEGORY  !!GPOnly

   POLICY !!GPOnlyPolicy
       KEYNAME "Software\Policies"

       PART !!GPOnly_Tip1  TEXT
       END PART

       PART !!GPOnly_Tip2  TEXT
       END PART

       PART !!GPOnly_Tip3  TEXT
       END PART

       PART !!GPOnly_Tip4  TEXT
       END PART

       PART !!GPOnly_Tip5  TEXT
       END PART
   END POLICY

END CATEGORY

CLASS MACHINE

CATEGORY  !!GPOnly

   POLICY !!GPOnlyPolicy
       KEYNAME "Software\Policies"

       PART !!GPOnly_Tip1  TEXT
       END PART

       PART !!GPOnly_Tip2  TEXT
       END PART

       PART !!GPOnly_Tip3  TEXT
       END PART

       PART !!GPOnly_Tip4  TEXT
       END PART

       PART !!GPOnly_Tip5  TEXT
       END PART
   END POLICY

END CATEGORY


#endif


#if version >= 3
;;;;;;;;;; Machine;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

CLASS MACHINE
; HKEY_LOCAL_MACHINE\SOFTWARE\Policies\TerraNovum\EZ_GPO

   CATEGORY !!EZ_GPO
; Base Options
 POLICY !!BASE_CFG
 KEYNAME "Software\Policies\TerraNovum\EZ_GPO"
 EXPLAIN !!BASE_CFG_EXP
  PART "Power Management Settings Schema" DROPDOWNLIST REQUIRED
    VALUENAME "SettingsScheme"
 ITEMLIST
 NAME !!SettingsSchemeSimpleIndex  VALUE "Simple" Default
 END ITEMLIST
  END PART
  PART "Power Management Settings Schema Major Version" NUMERIC REQUIRED
    VALUENAME "MajorVersion"
        DEFAULT 2
        MIN 1
        MAX 100
  END PART
  PART "Power Management Settings Schema Minor Version" NUMERIC REQUIRED
    VALUENAME "MinorVersion"
        DEFAULT 0
        MIN 0
        MAX 99
  END PART
  PART "Control Variable [Do Not Modify]" DROPDOWNLIST REQUIRED
    VALUENAME "Control"
 ITEMLIST
 NAME "Control Variable [Do Not Modify]" VALUE "Verify" Default
 END ITEMLIST
  END PART
END POLICY

; Log Options
POLICY !!OPTIONS
   KEYNAME "Software\Policies\TerraNovum\EZ_GPO\Options"
   EXPLAIN !!OPTIONS_EXP
; PART [!!]name  PartType
;   type-dependent data
;   [KEYNAME KeyName ]
;   VALUENAME ValueName
; END PART
;    PART "Security Override" CHECKBOX
;     VALUENAME "SecurityBypass"
;        VALUEON NUMERIC 1;Security Override flag
;        VALUEOFF NUMERIC 0
;    END PART

   PART "Force Standby to Be Set on All Machines" CHECKBOX
    VALUENAME "ForceStandby"
       VALUEON NUMERIC 1;Force Standby flag
       VALUEOFF NUMERIC 0
   END PART

;    PART "Log flag to turn on logging" CHECKBOX
;     VALUENAME "Log"
;        VALUEON NUMERIC 1; Log Flag
;        VALUEOFF NUMERIC 0
;    END PART
;    PART "Log Level" NUMERIC
;     VALUENAME "LogLevel"
;         DEFAULT 1
;         MIN 0
;         MAX 10
;    END PART
;    PART "Log Server" EDITTEXT
;     VALUENAME "LogServer"
;     DEFAULT "localhost"
;    END PART
;    PART "Log File" EDITTEXT
;     VALUENAME "LogFile"
;     DEFAULT "%TEMP%\EZ_GPO_log.txt"
;    END PART

END POLICY
; Simple Scheme
 POLICY !!SETTINGS_SCHEME_SIMPLE
 KEYNAME "Software\Policies\TerraNovum\EZ_GPO\Simple"
 EXPLAIN !!SETTINGS_SCHEME_SIMPLE_EXP
  PART "AC No User Monitor Timeout" NUMERIC REQUIRED
    VALUENAME "ACUserMonIdleTime"
        DEFAULT 10
        MIN 0
        MAX 300
  END PART
  PART "AC No User System Standby Timeout" NUMERIC REQUIRED
    VALUENAME "ACUserStandByIdleTime"
        DEFAULT 15
        MIN 0
        MAX 300
  END PART

;Uncomment to get this functionality
;   PART "AC No User Hard Disk Spindown Timeout" NUMERIC REQUIRED
;     VALUENAME "ACUserHDDspindownIdleTime"
;         DEFAULT 5
;         MIN 0
;         MAX 300
;   END PART

; Below segment is not used
;   PART "AC Machine Standby Timeout" NUMERIC REQUIRED
;     VALUENAME "ACMachStandByIdleTime"
;         DEFAULT 20
;         MIN 0
;         MAX 300
;   END PART
  PART "AC No User Hibernate Timeout" NUMERIC REQUIRED
    VALUENAME "ACMachHibernateIdleTime"
        DEFAULT 30
        MIN 0
        MAX 300
  END PART  
  PART "DC No User Monitor Timeout" NUMERIC REQUIRED
    VALUENAME "DCUserMonIdleTime"
        DEFAULT 2
        MIN 0
        MAX 300
  END PART
  PART "DC No User System Standby Timeout" NUMERIC REQUIRED
    VALUENAME "DCUserStandByIdleTime"
        DEFAULT 5
        MIN 0
        MAX 300
  END PART

;Uncomment to get this functionality
;   PART "DC No User Hard Disk Spindown Timeout" NUMERIC REQUIRED
;     VALUENAME "DCUserHDDspindownIdleTime"
;         DEFAULT 5
;         MIN 0
;         MAX 300
;   END PART

  PART "DC No User Hibernate Timeout" NUMERIC REQUIRED
    VALUENAME "DCMachHibernateIdleTime"
        DEFAULT 10
        MIN 0
        MAX 300
  END PART
END POLICY
   END CATEGORY; EZ_GPO


;;;;;;;;; USER;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
CLASS USER
; HKEY_CURRENT_USER\Software\Policies\TerraNovum\EZ_GPO

   CATEGORY !!EZ_GPO
; Base Options
 POLICY !!BASE_CFG
 KEYNAME "Software\Policies\TerraNovum\EZ_GPO"
 EXPLAIN !!BASE_CFG_EXP
  PART "Power Management Settings Schema" DROPDOWNLIST REQUIRED
    VALUENAME "SettingsScheme"
 ITEMLIST
 NAME !!SettingsSchemeSimpleIndex  VALUE "Simple" Default
 END ITEMLIST
  END PART
  PART "Power Management Settings Schema Major Version" NUMERIC REQUIRED
    VALUENAME "MajorVersion"
        DEFAULT 2
        MIN 2
        MAX 99
  END PART
  PART "Power Management Settings Schema Minor Version" NUMERIC REQUIRED
    VALUENAME "MinorVersion"
        DEFAULT 0
        MIN 0
        MAX 99
  END PART
  PART "Control Variable [Do Not Modify]" DROPDOWNLIST REQUIRED
    VALUENAME "Control"
 ITEMLIST
 NAME "Control Variable [Do Not Modify]" VALUE "Verify" Default
 END ITEMLIST
  END PART
END POLICY

; Log Options
POLICY !!OPTIONS
   KEYNAME "Software\Policies\TerraNovum\EZ_GPO\Options"
   EXPLAIN !!OPTIONS_EXP
; PART [!!]name  PartType
;   type-dependent data
;   [KEYNAME KeyName ]
;   VALUENAME ValueName
; END PART
   PART "Security Override" CHECKBOX
    VALUENAME "SecurityBypass"
       VALUEON NUMERIC 1;Security Override flag
       VALUEOFF NUMERIC 0
   END PART

   PART "Force Standby to Be Set on All Machines" CHECKBOX
    VALUENAME "ForceStandby"
       VALUEON NUMERIC 1;Force Standby flag
       VALUEOFF NUMERIC 0
   END PART

;    PART "Log flag to turn on logging" CHECKBOX
;     VALUENAME "Log"
;        VALUEON NUMERIC 1; Log Flag
;        VALUEOFF NUMERIC 0
;    END PART
;    PART "Log Level" NUMERIC
;     VALUENAME "LogLevel"
;         DEFAULT 1
;         MIN 0
;         MAX 10
;    END PART
;    PART "Log Server" EDITTEXT
;     VALUENAME "LogServer"
;     DEFAULT "localhost"
;    END PART
;    PART "Log File" EDITTEXT
;     VALUENAME "LogFile"
;     DEFAULT "%TEMP%\EZ_GPO_log.txt"
;    END PART

END POLICY
; Simple Scheme
 POLICY !!SETTINGS_SCHEME_SIMPLE
 KEYNAME "Software\Policies\TerraNovum\EZ_GPO\Simple"
 EXPLAIN !!SETTINGS_SCHEME_SIMPLE_EXP
  PART "AC User Monitor Timeout" NUMERIC REQUIRED
    VALUENAME "ACUserMonIdleTime"
        DEFAULT 10
        MIN 0
        MAX 300
  END PART
  PART "AC User System Standby Timeout" NUMERIC REQUIRED
    VALUENAME "ACUserStandByIdleTime"
        DEFAULT 15
        MIN 0
        MAX 300
  END PART
  PART "AC Machine Hibernate Timeout" NUMERIC REQUIRED
    VALUENAME "ACMachHibernateIdleTime"
        DEFAULT 30
        MIN 0
        MAX 300
  END PART
  PART "DC User Monitor Timeout" NUMERIC REQUIRED
    VALUENAME "DCUserMonIdleTime"
        DEFAULT 5
        MIN 0
        MAX 300
  END PART
  PART "DC User System Standby Timeout" NUMERIC REQUIRED
    VALUENAME "DCUserStandByIdleTime"
        DEFAULT 10
        MIN 0
        MAX 300
  END PART
  PART "DC Machine Hibernate Timeout" NUMERIC REQUIRED
    VALUENAME "DCMachHibernateIdleTime"
        DEFAULT 15
        MIN 0
        MAX 300
  END PART

;Uncomment to get this functionality
;   PART "AC User Hard Disk Spindown Timeout" NUMERIC REQUIRED
;     VALUENAME "ACUserHDDspindownIdleTime"
;         DEFAULT 5
;         MIN 0
;         MAX 300
;   END PART

;Uncomment to get this functionality
;   PART "DC User Hard Disk Spindown Timeout" NUMERIC REQUIRED
;     VALUENAME "DCUserHDDspindownIdleTime"
;         DEFAULT 5
;         MIN 0
;         MAX 300
;   END PART

END POLICY
   END CATEGORY; EZ_GPO

#endif

[strings]
GPOnly_Tip1="The EZ_GPO.adm file you have loaded requires Group Policy"
GPOnly_Tip2="in Windows 2000.  You cannot use the System Policy Editor"
GPOnly_Tip3="to display Windows 2000 Group Policy settings."
GPOnly_Tip4="  "
GPOnly_Tip5="Enabling or disabling this policy has no effect."
GPOnly="Unsupported Administrative Templates"
GPOnlyPolicy="EZ_GPO.adm"
EZ_GPO="EZ GPO by the Environmental Protection Agency"
MONITOR_PM="PC Power Management"
BASE_CFG="Base Options"
BASE_CFG_EXP="These are the base configuration settings for the program to function. You should enable this and choose all of the defaults unless you are sure about what you are doing. See the documentation for more info."
OPTIONS="Options"
OPTIONS_EXP="The first option named Security Bypass (NB: User based only and not found under the Computer Policy hive) directs the tool to bypass the hardcoded restrictions placed on it to change power management settings. See the documentation for more but it is only needed when users are of type user or guest. Note, this is a safety override (like rm -f) and does not actually gives users of insufficient rights, the ability to change PM settings. The second option, Force Standby, overrides the default behavior of the tool which enables system standby on machines capable of S3 (ACPI ver.2) or better. Enabling this option will allow the tool to set standby on earlier ACPI and APM2 capable machines. This could be useful for non Intel or laptop heavy environments since standby worked better on non S3 capable laptops as opposed to desktops.

;NB: Logging is experimental and should not be used in production. There are
; also 3 options for logging. The first is to turn on Logging capabilities.
; The second is the level of log detail. 0-10 is the valid
; range where 10 gives the most verbose output. The third is the file for
; logging purposes. This can contain shell expansions such
; as %TEMP%\EZ_GPO_Log.txt for example. See the documentation for more Info."

SettingsSchemeSimpleIndex="Simple Settings Scheme"
SETTINGS_SCHEME_SIMPLE="Simple Scheme"
SETTINGS_SCHEME_SIMPLE_EXP="This is the most basic Settings Scheme available. Each setting can be set to a range of 0-300 minutes where 0 = 'Never'. NB: Hibernation should be higher than System Standby or set to 0. It should never be equal to System Standby."

This is from http://www.terranovum.com/projects/energystar/ez_gpo.php

I have this implemented and working great.. hope it helps you.

Hope this helps

Link to comment
Share on other sites

  • 1 year later...

I read somewhere that Longhorn server will feature the possibility to edit Power options via GPO. It's incredible that it hasn't been done before. :|

Anyway - the EZ GPO Tool mentioned above works very nicely, but you need to download the whole package including a little .msi. We're using this in our company, and we're totally satisfied. A new beta was just released too, but I only use stable releases. :)

Link to comment
Share on other sites

Power management using GPO - it's gonna be great. I've used Ez Gpo. This tool works good. In addition to GPO for some fine tuning settings, we are using one more application - Desktop Authority. It has a very handy power management option.

Link to comment
Share on other sites

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