A Simple .adm File

To get an idea of what an .adm file looks like, we will look at a simple example, which is a snippet from the System.adm file. You can look at the larger System.adm file to see what the code looks like within a larger .adm file.

CLASS USER
CATEGORY !!DesktopLockDown
    POLICY !!DisableTaskMgr
       EXPLAIN !!DisableTaskMgr_Explain
       VALUENAME "DisableTaskMgr"
       VALUEON NUMERIC 1
       VALUEOFF NUMERIC 0
       KEYNAME "Software\Policies\System"
    END POLICY
END CATEGORY
[strings]
DisableTaskMgr="Disable Task Manager"
DisableTaskMgr_Explain="Prevents users from starting Task Manager"
DesktopLockDown="Desktop Settings"

This policy setting defines the following behavior:

  • When enabled, this policy setting creates a registry key called DisableTaskMgr and sets ...

Get Microsoft® Windows® Group Policy Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.