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!
NEARNGAsked:
Who is Participating?
 
Netman66Connect With a Mentor Commented:
Sure you can.

REG IMPORT {name of reg file}

0
 
Netman66Commented:
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.

0
 
NEARNGAuthor Commented:
can you execute a .reg file as a startup script???  
0
 
Toni UranjekConsultant/TrainerCommented:
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

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

Thanks.
0
All Courses

From novice to tech pro — start learning today.