OMG... I spent hours and it was this
This problem should go in the FAQ.Show only policy settings that can be fully managed
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?
OMG... I spent hours and it was this
This problem should go in the FAQ.Show only policy settings that can be fully managed
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?
I believe you need the EXPANDABLETEXT statement to use system variables.