A source-cited reference library 399 modules · 19 subdomains · 5 domains
Research Library
belgium24.eu
Photo: belgium24.eu, CC BY 2.0, via Wikimedia Commons

Cybersecurity / Defense and Hardening

Administer Security Policy Settings

CybersecurityDefense and Hardening1,009 words5 min readSource: learn.microsoft.com

Administer security policy settings refers to the processes and tools used to configure, manage, and enforce security configurations on individual devices or across multiple systems within an organization. These settings are implemented as rules governing authentication, resource access, auditing, and group membership to protect network and local resources.

Mechanisms of Administration

Security policy settings are administered through interfaces that allow definition, application, and monitoring of configurations. The Local Group Policy Editor (Gpedit.msc) provides access to the Security Settings extension, enabling configuration of security policies as part of a Group Policy Object (GPO). GPOs are linked to Active Directory containers such as sites, domains, and organizational units, allowing centralized management of security settings for domain-joined computers. On standalone devices, the Local Security Policy snap-in (Secpol.msc) restricts visibility to local policy objects only, including Account Policies, Local Policies, Windows Firewall with Advanced Security, Network List Manager Policies, Public Key Policies, Software Restriction Policies, Application Control Policies, IP Security Policies on Local Computer, and Advanced Audit Policy Configuration. Locally set policies may be overwritten by domain-derived policies when the device joins a domain.

Tool or featureCommand or fileDescription and use
Security Policy snap-inSecpol.mscMMC snap-in designed to manage only security policy settings
Security editor command line toolSecedit.exeConfigures and analyzes system security by comparing current configuration to security templates
Security Configuration WizardScw.exeRole-based tool available on servers only to create policies for specific server roles
Group PolicyGpmc.msc and Gpedit.mscGroup Policy Management Console exposes local Security options for incorporation into Group Policy Objects
Software Restriction PoliciesGpedit.mscGroup Policy-based feature that identifies software programs and controls their ability to run
Administer AppLockerGpedit.mscPrevents malware and unsupported applications from affecting computers

Tools and features for administering security policy settings

Variants and Components

Multiple tools facilitate the administration of security policy settings, each serving distinct functions. The Security Policy snap-in (Secpol.msc) manages only security policy settings. The Security Editor command-line tool (Secedit.exe) configures and analyzes system security by comparing current configurations to specified security templates. The Security Configuration Wizard (Scw.exe) is a role-based tool available exclusively on Windows Server that creates XML-based security policies to enable services, firewall rules, registry values, and audit policies required for specific server roles. The Security Compliance Manager is a downloadable solution accelerator that assists in planning, deploying, operating, and managing security baselines for Windows client and server operating systems and Microsoft applications, supporting export to formats including XLS, GPOs, DCM packs, and SCAP. The Security Configuration Manager tool set encompasses tools for creating, applying, and editing security configurations on local devices, organizational units, or domains. Within this set, Security Configuration and Analysis is an MMC snap-in used to define security policies via templates, analyze system security against a baseline, and configure local system security by importing and applying security templates. Security templates, authored using the Security Templates snap-in, organize existing security attributes into .inf files and can define Account Policies (including Password Policy, Account Lockout Policy, and Kerberos Policy), Local Policies (Audit Policy, User Rights Assignment, Security Options), Event Log settings, Restricted Groups, System Services, Registry permissions, and File System permissions. With exceptions for Internet Protocol security and public key policies, all security attributes can be contained in a security template.

Governing Standards and Algorithms

Administration of security policy settings follows a defined precedence hierarchy when multiple policies apply to a computer. The order of priority is: Organizational Unit Policy, Domain Policy, Site Policy, and Local Computer Policy. For instance, a workstation joined to a domain will have its local security settings overridden by domain policy in case of conflict; if the workstation is a member of an Organizational Unit, that unit’s policy supersedes both domain and local settings. When a workstation belongs to multiple Organizational Units, the policy of the unit that directly contains the workstation takes highest precedence. The Group Policy Management Console (Gpmc.msc) and Local Group Policy Editor (Gpedit.msc) are used to expose and modify local security options for inclusion in GPOs. Security settings can be modified either by importing a security template into a GPO via the Security Settings extension or by adjusting individual settings directly through the security settings interface. The secedit.exe tool supports automation of security configuration tasks through batch files or task schedulers, enabling analysis and configuration during off-hours. Security Configuration and Analysis uses an analysis database, constructed from one or more security templates, to compare current system settings against a baseline. Conflicts during template import are resolved in order of import, with the last imported template taking precedence. Visual flags in the analysis interface indicate mismatches (red X), matches (green check), undefined entries (question mark), database-defined but system-absent items (exclamation point), and undefined items on both database and system (no highlight).

Limitations and Failure Modes

Several limitations constrain the effectiveness of administered security policy settings. Policies set locally via the Local Security Policy snap-in are temporary and will be overridden upon the next Group Policy security settings refresh if conflicts exist with domain-derived policies. Security settings may persist beyond the life of the defining policy—a phenomenon termed "tattooing"—when the setting was previously undefined, pertains to a registry object, or relates to a file system object. In such cases, the setting retains its last applied value from the local database; if no prior value exists, it remains unchanged rather than reverting to a default. The Security Configuration Wizard does not install or uninstall server role-specific features; these must be managed separately through Server Manager. Additionally, SCW requires all IP protocol and port-dependent applications to be active on the server during execution, and in some scenarios, Internet connectivity is necessary to access help links. SCW is unavailable on client operating systems and applies only to Windows Server installations. Security Configuration and Analysis should not be used with the Configure Computer Now function on domain-based clients, as it requires individual configuration per device; instead, discrepancies should be resolved by modifying the source security template and reapplying it via the appropriate GPO. Furthermore, security settings filtering based on group membership requires denial of both Apply Group Policy and Read permissions on the GPO to prevent application, as both permissions are mandatory for policy enforcement.

Tool or Feature Primary Function Scope or Limitation
Security Policy snap-in (Secpol.msc) Manages only security policy settings Limited to local security policy view
Security Editor command-line tool (Secedit.exe) Configures and analyzes system security using templates Requires manual or scripted invocation
Security Configuration Wizard (Scw.exe) Creates role-based security policies for servers Available only on Windows Server; does not install role features
Security Compliance Manager Deploys and manages security baselines Requires download; supports multiple output formats
Security Configuration and Analysis Analyzes and configures local system security via templates Not recommended for domain clients via Configure Computer Now
Source

Adapted for this library from the original article at https://learn.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/administer-security-policy-settings — see the publisher's site for the authoritative version. (retrieved October 2026).