[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Having difficulties creating Power Options .adm file for GP.

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

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Question has a verified solution.

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

Microsoft Office 365 is a subscriptions based service which includes services like Exchange Online and Skype for business Online. These services integrate with Microsoft's online version of Active Directory called Azure Active Directory.
Sometimes it necessary to set special permissions on user objects.  For instance when using a Blackberry server, the SendAs permission needs to be set. I see many admins struggle with the setting that permission only to see it disappear within a few…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

591 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