• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 936
  • Last Modified:

Having difficulties creating Power Options .adm file for GP.

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
Ace2817
Asked:
Ace2817
1 Solution
 
Toni UranjekConsultant/TrainerCommented:
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
 
Ace2817Author Commented:
Thanks,
It can be the simplest settings that are the most frustrating.

Shawn
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now