• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

creating an admin template for group policy

rasczak

Lifer
i pulled this off of the tech net website to disable USB storage devices. However, I cannot seem to get this imported into GPMC as an .inf file. GPMC only recognizes .ADM files. Can someone point me to the right direction?

I had previously been able to apply the sslf template while it was a .inf file, but I just cant remember how i did it.

thanks!

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
END CATEGORY
END CATEGORY

[strings]
category="Custom Policy Settings"
categoryname="Restrict Drives"
policynameusb="Disable USB"
explaintextusb="Disables the computers USB ports by disabling the usbstor.sys driver"
labeltextusb="Disable USB Ports"
Enabled="Enabled"
Disabled="Disabled"


Moved to OS per OP's request
Anandtech Moderator
Gillbot
 
ok i kinda figured out how to import this file as a.adm template, but i keep getting

the following error occurred in \\domain\sysvol\domain\policies\xsxsxsx\Adm\disableusb.adm on line 7 error 62. the corresponding string was not found in the [strings] secton

found !!labeltextusb

the file cannot be loaded.

i'm stumped 🙁
 
Back
Top