In the past, I have used secedit to do this. See below for correct syntax.
 
Check out the help for secedit for further info.
 
neil
 

secedit /configure /db FileName [/cfg FileName ] [/overwrite][/areas Area1 Area2 ...] [/log FileName] [/quiet]

 

___________________________
Neil Ruston
Global Technology Infrastructure
Nomura International plc
Telephone: +44 (0) 20 7521 3481

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mitch Reid
Sent: 01 November 2005 14:22
To: [email protected]
Subject: [ActiveDir] Can I apply policies locally?

Hi, I'm in an environment where I need to apply/configure policies locally on XP-SP2 computers.
I can't use AD.  I need to automate this from a script or batch file. I attempted to create a Security
Template and use secedit to apply it.  However, I can't configure anything user Administrative
Templates this way.  I can use gpedit.msc but am unable to automate that.

I know Admin Template settings are really just registry settings and I could take the approach
of simply modifying the registry.  Is there a better way?  Am I missing something?  I couldn't find
anything on Microsoft's site or the archives here.

Thanks.
PLEASE READ: The information contained in this email is confidential and
intended for the named recipient(s) only. If you are not an intended
recipient of this email please notify the sender immediately and delete your
copy from your system. You must not copy, distribute or take any further
action in reliance on it. Email is not a secure method of communication and
Nomura International plc ('NIplc') will not, to the extent permitted by law,
accept responsibility or liability for (a) the accuracy or completeness of,
or (b) the presence of any virus, worm or similar malicious or disabling
code in, this message or any attachment(s) to it. If verification of this
email is sought then please request a hard copy. Unless otherwise stated
this email: (1) is not, and should not be treated or relied upon as,
investment research; (2) contains views or opinions that are solely those of
the author and do not necessarily represent those of NIplc; (3) is intended
for informational purposes only and is not a recommendation, solicitation or
offer to buy or sell securities or related financial instruments. NIplc
does not provide investment services to private customers. Authorised and
regulated by the Financial Services Authority. Registered in England
no. 1550505 VAT No. 447 2492 35. Registered Office: 1 St Martin's-le-Grand,
London, EC1A 4NP. A member of the Nomura group of companies.

Reply via email to