PC Review


Reply
Thread Tools Rate Thread

.adm template not working

 
 
Brandon
Guest
Posts: n/a
 
      13th Dec 2004
I was playing around with trying to create some custom .adm templates
for group policy, but the settings I'm trying to add do not work. Can
someone explain this behavior to me? For instance...

; Test Group Policy Registry Tweaks
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
CLASS USER ;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; This one shows up as expected
CATEGORY "Test Category A"
KEYNAME "Software\Microsoft\Windows\CurrentVersion\policies\Explorer"

POLICY "Disable Balloon Tips"
KEYNAME
"Software\Microsoft\Windows\CurrentVersion\policies\Explorer\Advanced"
VALUENAME "EnableBalloonTips"
VALUEON NUMERIC 0
VALUEOFF NUMERIC 1
END POLICY ;Disable Balloon Tips
END CATEGORY

; This Category shows up, but the Disable Balloon Tips option is not
listed under it
CATEGORY "Test Category B"
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"

POLICY "Disable Balloon Tips"
VALUENAME "EnableBalloonTips"
VALUEON NUMERIC 0
VALUEOFF NUMERIC 1
END POLICY ;Disable Balloon Tips
END CATEGORY


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
CLASS MACHINE ;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; This Category shows up, but no options are listed

CATEGORY "Test Category C"
POLICY "Logon Banner"
KEYNAME "Software\Microsoft\Windows NT\CurrentVersion\Winlogon"

PART "Legal Notice Caption"
EDITTEXT
VALUENAME "LegalNoticeCaption"
MAXLEN 255
DEFAULT "Default Caption"
END PART

PART "Legal Notice Text"
EDITTEXT
VALUENAME "LegalNoticeText"
MAXLEN 255
DEFAULT "Default Text"
END PART

END POLICY
END CATEGORY

; This Category shows up, but no options are listed

CATEGORY "Test Category D"
KEYNAME "Software\Microsoft\Windows NT\CurrentVersion"

POLICY "Registered Organization"
VALUENAME "RegisteredOrganization"
VALUEON "Some Organization"
VALUEOFF ""
END POLICY ;Registered Organization

POLICY "Logon Prompt"
KEYNAME "Software\Microsoft\Windows NT\CurrentVersion\Winlogon"
VALUENAME "LogonPrompt"
VALUEON "Some Logon Prompt"
VALUEOFF ""
END POLICY ;Logon Prompt
END CATEGORY
;------------------------------------------------------------------------------------

Brandon

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help working with a Journal template. Dave Microsoft Word Document Management 1 12th Feb 2010 05:23 PM
My Template is not working properly =?Utf-8?B?QnJpYW4gTWFyaw==?= Microsoft Powerpoint 1 16th Nov 2005 03:43 PM
Search Template Not Working =?Utf-8?B?QXJsZW5l?= Microsoft Frontpage 3 23rd Aug 2005 08:58 AM
.adm template not working Brandon Microsoft Windows 2000 Registry 0 13th Dec 2004 10:38 PM
editcommandcolumn not working with template tshad Microsoft ASP .NET 1 2nd Nov 2004 11:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:17 AM.