Published: April 17, 2012
Updated: April 17, 2012
Applies To: Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Vista, Windows XP
Validates the security settings stored in a security template (.inf file). For examples of how this command can be used, see Examples.
Validating security templates can help you if one is corrupted or inappropriately set.
An invalid security template will not be applied.
The log file will not be updated.
In Windows Server 2008,
Secedit /refreshpolicy has been replaced with
gpupdate. For information on how to refresh security settings, see Gpupdate.
<Here is where you discuss using the command within a script. You should also provide an FWLink to the Script Center.>
After a rollback is performed on a security template, you want to verify that the rollback inf file, secRBKcontoso.inf, is valid.
Secedit /validate secRBKcontoso.inf