Unable to register CommerceSCWTemplate.xml on Windows Server 2003 SP2

When you attempt to register the Commerce Server 2007 Security Configuration Wizard template on a machine running Windows Server 2003 with Service Pack 2 installed you may receive an error that it cannot be installed.  The instructions for the installation of the template are in the documentation at https://msdn2.microsoft.com/en-us/library/aa545922.aspx.

 

To resolve the issue, open the CommerceSCWTemplate.xml file in an text editor such as NotePad and find the line starting with

   <Version OSVersionMajorInfo="5"...

Make the following change in the line:

ServicePackMajor="1" to ServicePackMajor="2"

After the change is made you should be able to register the security template.

 

You may also need to use the following command line to complete the registration successfully is you get an error that the file cannot be found.

scwcmd register /kbname:Commerce2007 /kbfile:"c:\windows\security\msscw\kbs\CommerceSCWTemplate.xml"