Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > Windows 2000 Server (TECHNET) > custom ADM not appearing
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 9th August 14:15
maverick
External User
 
Posts: 1
Default custom ADM not appearing



hi, following KB323639 and
http://www.oreilly.de/catalog/winsyspe/chapter/ch08.html, i created my
own custom ADM file (copying also from Steven Geary) to block floppy,
CD, and USB devices. i imported it into my test gpo but all i get is a
blank admin templates (class Machine). i went over the code and can't
figure out why. i checked the keynames against my registry and they
match.

here is the sample:

CLASS MACHINE

CATEGORY !!MyPolicy

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

[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


  sponsored links


2 9th August 17:53
maverick
External User
 
Posts: 1
Default custom ADM not appearing



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
3 9th August 17:54
florian frommherz
External User
 
Posts: 1
Default custom ADM not appearing


Howdy!


Go and right-click your empty "folder" in the Group Policy Editor. Point
to "View" and Select "Filtering". Check both check boxes at the bottom
of the up-popping dialog that say "Only show... " and press OK. Will
your policy then show up?

cheers,

Florian
--
Nachwuschsadmin aus dem Süddeutschen/Germany.
eMail: Vorname [bei] frickelsoft [Punkt] net.
  Reply With Quote
4 9th August 17:54
maverick
External User
 
Posts: 1
Default custom ADM not appearing


Hi, nope all (admin templates) folders disappeared if i do that. the
"default" is "Only show policy settings that can be managed" which is
checked. if i checked the other one "Only show configured policy
settings" then i get a blank admin templates.

so as long as "Only show configured policy settings" is unchecked i get
a list of subfolders inside admin templates.
  Reply With Quote
5 9th August 17:54
norbert fehlauer mvp
External User
 
Posts: 1
Default custom ADM not appearing


"maverick" <Rino.Mardo@gmail.com> schrieb im Newsbeitrag
news:1154324723.618391.318910@m79g2000cwm.googlegr oups.com...
Hi,


Try unchecking it.

Bye
Norbert
  Reply With Quote
6 9th August 17:55
florian frommherz
External User
 
Posts: 1
Default custom ADM not appearing


Howdy!


Sorry, I mixed this a little up - like Norbert wrote, you need to
_uncheck_ both boxes, not ckeck them. Sorry for that!

cheers,

Florian
--
Nachwuschsadmin aus dem Süddeutschen/Germany.
eMail: Vorname [bei] frickelsoft [Punkt] net.
  Reply With Quote
7 9th August 21:54
maverick
External User
 
Posts: 1
Default custom ADM not appearing


Hi, no worries I'm mixed up myself with all this plus perimeter
security. :-)

I did as Norbert suggested and the customised entry appeared. if this
thing works i should post my work as a sticky somewhere here.

thanks guys!
  Reply With Quote
8 11th August 00:44
paul
External User
 
Posts: 1
Default custom ADM not appearing


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
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666