Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Having difficulties creating Power Options .adm file for GP.

Posted on 2008-10-30
2
Medium Priority
?
926 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 2000 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

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This process allows computer passwords to be managed and secured without using LAPS. This is an improvement on an existing process, enhanced to store password encrypted, instead of clear-text files within SQL
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 …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

824 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