Solved

Having difficulties creating Power Options .adm file for GP.

Posted on 2008-10-30
2
916 Views
Last Modified: 2012-06-27
CLASS USER
CATEGORY !!ControlPanel
    CATEGORY !!PowerOptionsCat
 
            POLICY !!PowerConfigurationCfg
      KEYNAME "Control Panel\PowerCfg"
      PART !!PowerScheme DROPDOWNLIST REQUIRED
                     VALUENAME "CurrentPowerPolicy"
                               ITEMLIST
                                   NAME !!PowerSchemeHomeOfficeDesk   VALUE NUMERIC 0
                                   NAME !!PowerSchemePortableLaptop      VALUE NUMERIC 1
                    NAME !!PowerSchemePresentation          VALUE NUMERIC 2 DEFAULT
                                   NAME !!PowerSchemeAlwaysOn             VALUE NUMERIC 3
                    NAME !!PowerSchemeMinimalPowerManagement VALUE NUMERIC 4
                                   NAME !!PowerSchemeMaxBattery            VALUE NUMERIC 5
                              END ITEMLIST
      END PART            
            END POLICY

     END CATEGORY
END CATEGORY

[strings]
ControlPanel="Control Panel"
PowerOptionsCat="Power Options"

PowerConfigurationCfg="Power Configuration"

PowerScheme="Configure Power Settings:"
PowerSchemeHomeOfficeDesk="Home/Office Desk"
PowerSchemePortableLaptop="Portable/Laptop"
PowerSchemePresentation="Presentation"
PowerSchemeAlwaysOn="Always On"
PowerSchemeMinimalPowerManagement="Minimal Power Management"
PowerSchemeMaxBattery="Max Battery"

I have created a power.adm file from the text above. However, when I add the template to Local Policy on an XP Pro machine the only thing that shows up is a Power Options container under Control Panel with nothing else inside. In other words it creates a container for the policy I wish to configure but it is empty. I think it may have to do with the fact that it is trying to reference a registry string [CurrentPowerPolicy] instead of a DWORD or BINARY type. I'm not sure what to substitute in place of the VALUE type of NUMERIC to change a string's data value.
0
Comment
Question by:Ace2817
2 Comments
 
LVL 31

Accepted Solution

by:
Toni Uranjek earned 500 total points
ID: 22932083
Hi!

Go to Administrative templates, the clikc View menu, select Filtering and clear check box in front of "Only show policy settings that can be fully managed".

HTH

Toni
0
 

Author Closing Comment

by:Ace2817
ID: 31511707
Thanks,
It can be the simplest settings that are the most frustrating.

Shawn
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
This article explains the steps required to use the default Photos screensaver to display branding/corporate images
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question