Link to home
Start Free TrialLog in
Avatar of NEARNG
NEARNGFlag for United States of America

asked on

ADM template needed for reg_binary

I need an ADM template for the below registry info...

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
"fullprivilegeauditing"=hex:01

Can someone help me out with this?

Thanks!
Avatar of Netman66
Netman66
Flag of Canada image

Why don't you just script it and run it from a Startup script in a GPO?

Since it's a registry setting, using an ADM won't remove the setting when the ADM is unlinked/removed.  So in effect, it's the same as scripting.

Avatar of NEARNG

ASKER

can you execute a .reg file as a startup script???  
Try to import the following as .adm file.

And yes, with REG IMPORT command line uutility you can import registry keys.
CLASS MACHINE
 
CATEGORY "SYSTEM\CurrentControlSet\Control\Lsa"
KEYNAME "SYSTEM\CurrentControlSet\Control\Lsa"
 
 POLICY "fullprivilegeauditing"
  PART "fullprivilegeauditing"
  NUMERIC
  VALUENAME "fullprivilegeauditing"
  END PART
 END POLICY
 
END CATEGORY

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Netman66
Netman66
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of NEARNG

ASKER

reg import worked; I did a search on google and found that you can't use an ADM for reg_binary

Thanks.