Results 1 to 4 of 4

Thread: My custom policies are not showing up

  1. #1
    orphicfireball is offline Getting Started on GPanswers.com
    Join Date
    Dec 1969
    Posts
    5

    Default

    I'm trying to make a custom ADM and I typed the template from chapter one of the book, below:

    [code:1]CLASS USER

    CATEGORY Sounds

    POLICY "Sound to hear when exiting Windows"

    KEYNAME "AppEvents\Schemes\Apps\.Default\SystemExit\. Current"
    PART "what sound do you want?" EDITTEXT REQUIRED
    VALUENAME ""
    END PART
    END POLICY
    END CATEGORY[/code]
    My category is showing up, but no policies are in it, what could be wrong?

  2. #2
    orphicfireball is offline Getting Started on GPanswers.com
    Join Date
    Dec 1969
    Posts
    5

    Default

    OMG... I spent hours and it was this

    Show only policy settings that can be fully managed
    This problem should go in the FAQ.

  3. #3
    orphicfireball is offline Getting Started on GPanswers.com
    Join Date
    Dec 1969
    Posts
    5

    Default

    This is the adm I am making
    [code:1]CLASS USER

    CATEGORY ShoreTel

    POLICY "Specify ShoreTel Call Manager Server"
    KEYNAME "Software\Shoreline Teleworks\ShoreWare Client"
    Explain "Specify the IP address of the server you would like all clients to use."
    PART "IP Address" EDITTEXT REQUIRED
    VALUENAME Server
    END PART
    END POLICY

    Policy "Specify ShoreTel Call Manager User Name"
    Keyname "Software\Shoreline Teleworks\Shoreware Client"
    Explain "Specify the user name you want the call manager to use, so the end user does not have to type it."
    Part "User Name" EditText Required
    ValueName UserName
    End Part
    End Policy

    END CATEGORY[/code]

    I want under under this part, [code:1] Part "User Name" EditText Required
    ValueName UserName
    End Part[/code] to be able to enter %username% and it to put the local user's name, as works in other places in group policy. However in this ADM if I write that, it just puts "%username%" into the registry. How do I correct this?

  4. #4
    Nuno_is_God is offline Getting Started on GPanswers.com
    Join Date
    Dec 1969
    Posts
    1

    Default

    I believe you need the EXPANDABLETEXT statement to use system variables.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search Engine Friendly URLs by vBSEO