Featured Resource:

line

Newsletter

Email Address:


line

Ask the Expert

Have a question for our resident expert? Email your questions to Bob or post in the Forum.

« Aero Automatically Disabled | Main | Vista's Symbolic Link Feature »

SCWCMD.EXE

Windows Server 2008's Security Configuration Wizard (SCW) includes a corresponding command line, SCWCMD.EXE, which lets you automate the application of security policies generated through the wizard's graphical interface. SCW produces output in XML format which is incompatible by default with GPOs. The following command line may be used to convert SCW output into a readable format for inclusion in a GPO…

scwcmd transform /p:MyPolicyFile.xml /g:MyGPOName

This transforms the XML file into a new GPO and must naturally be run with domain administrator privileges. The resulting GPO (saved to saved under the %SYSTEMROOT%\SECURITY\MSSCW\POLICIES) will include the contents of the SCW XML file into a handful of sections within the GPO. These settings will include: Security Settings, IP Security Policies and Windows Firewall. This new GPO must then be linked to appropriate OUs to be applied.

You can use SCW to create new policies, edit existing policies, apply policies and even roll back the assignation of a security policy.

More information on the Security Configuration Wizard can be found .

Library Resources

line
line

Bob Kelly's Bio:

Bob Kelly is the founder of AppDeploy.com — a resource focused on desktop management products and practices. He is author of the Start to Finish Guide to Scripting with KiXtart and The Definitive Guide to Windows Desktop Administration. He is also president and co-founder of iTripoli, Inc. who provide AdminScriptEditor.com, home to an integrated suite of scripting tools and a shared library of scripts and language help. Not enough? For more on Bob click here.