I would like to import a security policy (from .inf format) into the local
security policy from a command line. I am aware of how to import the
security policy via the Local Security Policy MMC Snap-in, however I would
like to know if it is possible to import the policy using the command line
interface? Is it also possible to export the current and active policy via
the command line?

Any help/examples would be great.

Thanks,

Matthew

Re: How do I import security policy in 2003 from command line? by Steven

Steven
Thu Jun 23 16:38:20 CDT 2005

You can use the command secedit /configure. Secedit allows you to also
specify specific "areas" to be imported. Check help on your computer/server
for secedit and also see the links below. FYI in Windows 2003 secedit
offers the /generaterollback option which can be extremely useful to create
a "rollback" template of a security template but this must be done before
you apply the security template. Such a rollback template can save you a lot
of grief if the new security template does not work as planned.--- Steve

http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/ServerHelp/b1007de8-a11a-4d88-9370-25e244560587.mspx

"Matthew C." <MatthewC@discussions.microsoft.com> wrote in message
news:C2744B79-F6BD-4788-A2FE-7515A32AAAFC@microsoft.com...
>I would like to import a security policy (from .inf format) into the local
> security policy from a command line. I am aware of how to import the
> security policy via the Local Security Policy MMC Snap-in, however I would
> like to know if it is possible to import the policy using the command line
> interface? Is it also possible to export the current and active policy
> via
> the command line?
>
> Any help/examples would be great.
>
> Thanks,
>
> Matthew