Reg depolyment

A

Allan McMillan

Hi group
I'd like to know if it is possible to deploy a reg change to machines using
a custom adm template. Basically i wish to add an exe to the runonce folder.I
though that this was possible and the adm template would look something like
this:
CLASS MACHINE

CATEGORY "RunOnce Apps"
KEYNAME "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
POLICY "Anti Virus update"
PART "Anti Virus update"
EDITTEXT
VALUENAME "Anti Virus update"
DEFAULT "\\Server\share\epo.bat"
END PART
END POLICY

END CATEGORY

So far i havent been able to add an additional reg key. Is this possible?
 
J

Jon Wallace

Hi Allan,

In theory (theory being because I haven't tried), using an ADM template for
this should be fine - ADM files contain registry keys at the end of the day.

However, why do you especially want to do this using an ADM template ?

In the group policy you are creating, can you not just add a script and use
a REG command, or even a VBScript to create the key ?

Just curious as to why your method.

Best Regards,
Jon

www.insidetheregistry.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top