PC Review


Reply
Thread Tools Rate Thread

custom ADM not appearing

 
 
maverick
Guest
Posts: n/a
 
      30th Jul 2006
hi, i created a custom ADM file (plus copied from Steven Geary) and for
some reason it's not appearing correctly in my test gpo. i have also
checked the keynames against my registry and they exists. here is the
code:

CLASS MACHINE

CATEGORY !!category

CATEGORY !!categoryname

POLICY !!policynameusb

KEYNAME "SYSTEM\CurrentControlSet\Services\USBSTOR"
EXPLAIN !!explaintextusb
PART !!labeltextusb DROPDOWNLIST REQUIRED
VALUENAME "Start"
ITEMLIST
NAME !!Disabled VALUE NUMERIC 3 DEFAULT
NAME !!Enabled VALUE NUMERIC 4
END ITEMLIST
END PART

END POLICY

POLICY !!policynamecd

KEYNAME "SYSTEM\CurrentControlSet\Services\Cdrom"
EXPLAIN !!explaintextcd
PART !!labeltextcd DROPDOWNLIST REQUIRED
VALUENAME "Start"
ITEMLIST
NAME !!Disabled VALUE NUMERIC 1 DEFAULT
NAME !!Enabled VALUE NUMERIC 4
END ITEMLIST
END PART

END POLICY

POLICY !!policynameflpy

KEYNAME "SYSTEM\CurrentControlSet\Services\Flpydisk"
EXPLAIN !!explaintextflpy
PART !!labeltextflpy DROPDOWNLIST REQUIRED
VALUENAME "Start"
ITEMLIST
NAME !!Disabled VALUE NUMERIC 3 DEFAULT
NAME !!Enabled VALUE NUMERIC 4
END ITEMLIST
END PART

END POLICY

END CATEGORY

END CATEGORY

[strings]
category="Custom Policy Settings"
categoryname="Restrict Drives"
policynameusb="Disable USB"
policynamecd="Disable CD-ROM"
policynameflpy="Disable Floppy"
explaintextusb="Disables the computers USB ports by disabling the
usbstor.sys driver"
explaintextcd="Disables the computers CD-ROM Drive by disabling the
cdrom.sys driver"
explaintextflpy="Disables the computers Floppy Drive by disabling the
flpydisk.sys driver"
labeltextusb="Disable USB Ports"
labeltextcd="Disable CD-ROM Drive"
labeltextflpy="Disable Floppy Drive"
Enabled="Enabled"
Disabled="Disabled"

 
Reply With Quote
 
 
 
 
=?Utf-8?B?UGF1bA==?=
Guest
Posts: n/a
 
      10th Aug 2006
I had the same sort of problem with a template I created. I resolved it by
clicking on the "View" menu in your GPO editor, select filter and remove the
tick from "Only show policy settings that can be fully managed"

Drove me nuts for a couple of hours untill I found this option.

Hopefully its will be the same for you

"maverick" wrote:

> hi, i created a custom ADM file (plus copied from Steven Geary) and for
> some reason it's not appearing correctly in my test gpo. i have also
> checked the keynames against my registry and they exists. here is the
> code:
>
> CLASS MACHINE
>
> CATEGORY !!category
>
> CATEGORY !!categoryname
>
> POLICY !!policynameusb
>
> KEYNAME "SYSTEM\CurrentControlSet\Services\USBSTOR"
> EXPLAIN !!explaintextusb
> PART !!labeltextusb DROPDOWNLIST REQUIRED
> VALUENAME "Start"
> ITEMLIST
> NAME !!Disabled VALUE NUMERIC 3 DEFAULT
> NAME !!Enabled VALUE NUMERIC 4
> END ITEMLIST
> END PART
>
> END POLICY
>
> POLICY !!policynamecd
>
> KEYNAME "SYSTEM\CurrentControlSet\Services\Cdrom"
> EXPLAIN !!explaintextcd
> PART !!labeltextcd DROPDOWNLIST REQUIRED
> VALUENAME "Start"
> ITEMLIST
> NAME !!Disabled VALUE NUMERIC 1 DEFAULT
> NAME !!Enabled VALUE NUMERIC 4
> END ITEMLIST
> END PART
>
> END POLICY
>
> POLICY !!policynameflpy
>
> KEYNAME "SYSTEM\CurrentControlSet\Services\Flpydisk"
> EXPLAIN !!explaintextflpy
> PART !!labeltextflpy DROPDOWNLIST REQUIRED
> VALUENAME "Start"
> ITEMLIST
> NAME !!Disabled VALUE NUMERIC 3 DEFAULT
> NAME !!Enabled VALUE NUMERIC 4
> END ITEMLIST
> END PART
>
> END POLICY
>
> END CATEGORY
>
> END CATEGORY
>
> [strings]
> category="Custom Policy Settings"
> categoryname="Restrict Drives"
> policynameusb="Disable USB"
> policynamecd="Disable CD-ROM"
> policynameflpy="Disable Floppy"
> explaintextusb="Disables the computers USB ports by disabling the
> usbstor.sys driver"
> explaintextcd="Disables the computers CD-ROM Drive by disabling the
> cdrom.sys driver"
> explaintextflpy="Disables the computers Floppy Drive by disabling the
> flpydisk.sys driver"
> labeltextusb="Disable USB Ports"
> labeltextcd="Disable CD-ROM Drive"
> labeltextflpy="Disable Floppy Drive"
> Enabled="Enabled"
> Disabled="Disabled"
>
>

 
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
Custom Toolbar appearing out of nowhere havenlad Microsoft Excel Setup 0 25th Jul 2008 04:08 PM
custom ADM not appearing maverick Microsoft Windows 2000 Group Policy 5 1st Aug 2006 06:07 AM
Custom Bottons appearing Darrell Dorsey Microsoft Excel Discussion 3 13th Jan 2005 11:23 PM
custom styles not appearing =?Utf-8?B?UGFtZWxh?= Microsoft Word Document Management 1 4th Nov 2004 11:22 AM
Custom Toolbar Not Appearing Julie Microsoft Excel Programming 2 25th Sep 2003 08:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:57 AM.