secedit validate
Validates the security settings stored in a security template (.inf file). Windows commands reference
On Windows
Windows
Validates the security settings stored in a security template (.inf file). Validating security templates can help you determine if one is corrupted or inappropriately set. Corrupted or inappropriately set security templates aren't applied.
secedit /validate <configuration file name>
To verify that the rollback .inf file, secRBKcontoso.inf, is still valid after rollback, type
secedit /validate secRBKcontoso.infIdentify<configuration file name>Required. Specifies the path and file name for the security template that will be validated. Log files aren't updated by this command.