---
title: Duplicate Certificate Detection - Windows Server Monitoring
description: Detect duplicate certificates with identical Subject/SAN to prevent renewal confusion, application selection errors, and certificate management issues. Identifies same-store and cross-store duplicates with private key risk analysis.
---

# <i class="fal fa-copy" aria-hidden="true"></i> Duplicate Certificate Detection

Automatic detection of duplicate [Windows Server][Windows Server] certificates with identical Subject and SAN combinations to prevent renewal confusion, application selection errors, and certificate management issues.

<sup><span class="nodinite-new-badge">New 6.4.x</span></sup> Introduced duplicate certificate detection with remediation workflow to identify renewal overlaps and cross-store duplication.

For configuration options, see [Certificate Configuration - Duplicate Detection][Configuration].

## <i class="fal fa-bullseye" aria-hidden="true"></i> Overview

Duplicate certificate detection provides three critical capabilities:

1. **Same Store Duplicate Detection**: Identifies multiple certificates with identical Subject/SAN within the same store
2. **Cross-Store Duplicate Detection**: Detects certificates duplicated across LocalMachine and CurrentUser stores
3. **Private Key Ambiguity Detection**: Alerts when multiple duplicate certificates have private keys (application selection risk)

Duplicate detection helps prevent certificate renewal issues and ensures applications select the correct certificate.

## <i class="fal fa-question-circle" aria-hidden="true"></i> What Are Duplicate Certificates?

Duplicate certificates are multiple X.509 certificates with:

* **Same Subject DN** (Distinguished Name) - identical certificate subject
* **Same SAN** (Subject Alternative Name) extensions - identical alternative names
* **Different Thumbprints** - different key material or signature (not the same cert copied, just identical subject/SAN)

**Common Reasons for Duplicates:**

* ✅ **Renewal Overlap** - Old certificate remains during valid overlap period with new cert (expected, temporary)
* ⚠️ **Manual Backup/Restore** - Certificate imported to multiple stores during recovery operations
* ⚠️ **Test Certificate Leak** - Development/test certificates not cleaned up from production environments
* ⚠️ **Wrong Certificate Selected** - Application selects old certificate instead of renewed version
* ⚠️ **Cross-Store Duplication** - Same certificate exists in both LocalMachine and CurrentUser stores (usually unintentional)

## <i class="fal fa-traffic-light" aria-hidden="true"></i> Duplicate Detection Categories

Duplicates are categorized within the existing certificate resource structure:

### Same Store Duplicates

Multiple certificates with identical Subject/SAN within the **same store** (e.g., LocalMachine\My):

|**Scenario**|**State**|**Description**|  
|---|---|---|  
|**1 certificate (no duplicates)**|✅ OK|Single certificate - ideal state|  
|**2+ copies, only 1 with private key**|⚠️ WARNING|Renewal in progress - old cert retained without private key (cleanup recommended)|  
|**2+ copies, 2+ with private keys**|❌ ERROR|Ambiguous selection - application doesn't know which to use (critical issue)|  
|**Exceeds max threshold**|⚠️ WARNING|More duplicates than configured maximum (default: 1)|  
|**All duplicates expired**|❌ ERROR|All copies expired - critical renewal required|  

### Cross-Store Duplicates

Same certificate exists in **different stores** (LocalMachine vs CurrentUser):

|**Scenario**|**State**|**Reason**|  
|---|---|---|  
|**Same cert in both stores**|⚠️ WARNING|Intentional consolidation or accidental duplication|  
|**Accidental duplication**|⚠️ WARNING|Backup/restore or misconfiguration|  
|**Cross-store private key risk**|❌ ERROR|Private keys in both stores causes ambiguity|  

## <i class="fal fa-chart-bar" aria-hidden="true"></i> Duplicate Information Display

When duplicates detected, certificate resource display includes comprehensive duplicate summary:

### Duplicate Summary Section

```text
⚠️ Duplicate Certificate Alert
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Total Duplicates: 2 (exceeds maximum of 1)

Duplicate Certificates:
1. Thumbprint: ABC123DEF456... (Current - Private Key ✅)
   Valid From: 2025-01-15|Expires: 2026-01-15
   Location: LocalMachine\My
   Status: Active certificate with private key

2. Thumbprint: 789GHI012JKL... (Old - No Private Key)
   Valid From: 2024-01-15|Expires: 2025-01-15 (EXPIRED)
   Location: LocalMachine\My
   Status: Expired certificate without private key (safe to remove)

Cross-Store Status: No duplicates in other stores

Recommended Action: Remove expired old certificate (Thumbprint: 789GHI012JKL...)
```

### Key Information Shown

* **Duplicate Count**: How many certificates share identical Subject/SAN
* **Private Key Status**: Which duplicates have private keys (YES = ambiguous selection risk)
* **Expiration Status**: Which duplicates are expired vs. valid
* **Store Location**: Where each duplicate is stored (LocalMachine\My, CurrentUser\My, etc.)
* **Hostname/Subject**: Certificate identifiers for easy recognition
* **Thumbprints**: Unique identifiers for cleanup operations

## <i class="fal fa-exclamation-triangle" aria-hidden="true"></i> Duplicate State Evaluation

Certificates with duplicates follow this state evaluation priority:

|**Condition**|**State**|**Priority**|**Action**|  
|---|---|---|---|  
|**All duplicates have expired**|❌ ERROR|Critical|Delete old certs immediately, renew certificate|  
|**2+ duplicates with private keys**|❌ ERROR|Critical|Identify correct cert, remove private key from others|  
|**Duplicate count exceeds threshold**|⚠️ WARNING|High|Review and clean up unnecessary duplicates|  
|**Cross-store + multiple private keys**|❌ ERROR|Critical|Consolidate to single store|  
|**Single cert (no duplicates)**|✅ OK|None|No action needed|  
|**Renewal overlap (2 certs, 1 private key)**|ℹ️ INFO|Low|Allow overlap, remove after old cert expires|  

**State Priority**: Duplicate errors evaluated with same priority as certificate expiration and chain validation errors - worst state determines overall certificate resource state.

## <i class="fal fa-table" aria-hidden="true"></i> Monitoring States Summary

Test duplicate detection scenarios to validate monitoring configuration:

|**#**|**Test Scenario**|**Duplicate Type**|**State**|**Test Script**|  
|---|---|---|---|---|  
|**1**|Same Store Duplicates|2+ certificates, 1 with private key|⚠️ **WARNING**|[Test][FAQ Scenario 1]|  
|**2**|Multiple Private Keys|2+ certificates, 2+ with private keys|❌ **ERROR**|[Test][FAQ Scenario 2]|  
|**3**|Cross-Store Duplicates|Same certificate in LocalMachine & CurrentUser|⚠️ **WARNING**|[Test][FAQ Scenario 3]|  
|**4**|Threshold Exceeded|Duplicates exceed MaximumAllowedDuplicates|⚠️ **WARNING**|[Test][FAQ Scenario 4]|  
|**5**|Proper Renewal Cleanup|Old certificate removed after renewal|✅ **OK**|[Test][FAQ Scenario 5]|  

For detailed test scenarios and PowerShell scripts, see [FAQ: Duplicate Certificate Detection][].

## <i class="fal fa-tools" aria-hidden="true"></i> Duplicate Remediation Workflow

### Step 1: Review Duplicate Details

1. Open certificate resource with duplicate alert
2. Examine duplicate list - note all thumbprints
3. Identify which is current (newest issue date, active in [IIS][] bindings)
4. Note which certificates have private keys

**Identify Current Certificate**:

```powershell
# List all duplicates with detailed info
Get-ChildItem -Path 'Cert:\LocalMachine\My'|
  Where-Object { $_.Subject -eq "CN=www.example.com" }|
  Select-Object Thumbprint, NotBefore, NotAfter, HasPrivateKey, FriendlyName|
  Sort-Object NotAfter -Descending

# Current certificate is typically:
# - Most recent NotAfter (expiration date)
# - Has private key
# - Referenced in IIS bindings or application configs
```

### Step 2: Identify Cleanup Action

**For Renewal Overlaps (Most Common)**:

* Old certificate has NO private key? → ✅ Safe to delete immediately
* Old certificate HAS private key? → ⚠️ Remove private key first, then delete after grace period
* New certificate ready and active? → ✅ Proceed with cleanup

**For Cross-Store Duplicates**:

1. Determine if consolidation needed
2. Keep in single store (usually LocalMachine for services, CurrentUser for user certificates)
3. Remove from secondary store

**For Multiple Private Keys (Critical)**:

1. Identify correct certificate (check IIS bindings, application configs, service configs)
2. Verify correct cert is actively in use
3. Keep only correct cert with private key
4. Remove private key from other duplicates OR delete them entirely

### Step 3: Execute Cleanup

#### Option A: Remove Expired Duplicates (Safe)

```powershell
# List expired certificates in Personal store
Get-ChildItem -Path 'Cert:\LocalMachine\My'|
  Where-Object { $_.NotAfter -lt (Get-Date) -and $_.Subject -eq "CN=www.example.com" }|
  Select-Object Thumbprint, NotAfter

# Remove expired duplicate (safe - already expired)
Remove-Item -Path 'Cert:\LocalMachine\My\<THUMBPRINT>'
```

#### Option B: Remove Duplicates Without Private Key (Safe)

```powershell
# Find duplicates without private keys
Get-ChildItem -Path 'Cert:\LocalMachine\My'|
  Where-Object { $_.Subject -eq "CN=www.example.com" -and -not $_.HasPrivateKey }|
  Select-Object Thumbprint, NotAfter, HasPrivateKey

# Remove duplicate without private key (safe - cannot be used)
Remove-Item -Path 'Cert:\LocalMachine\My\<THUMBPRINT>'
```

#### Option C: Handle Multiple Private Keys (Requires Verification)

```powershell
# Step 1: Identify which certificate is actively used
# Check IIS bindings
Import-Module WebAdministration
Get-WebBinding|Where-Object { $_.protocol -eq "https" }|
  Select-Object bindingInformation, 
    @{Name="CertThumbprint";Expression={
      $_.certificateHash
    }}

# Step 2: Remove INACTIVE certificate (verify first!)
# WARNING: Verify this is NOT the active certificate before deletion
Remove-Item -Path 'Cert:\LocalMachine\My\<INACTIVE_THUMBPRINT>'
```

#### Option D: Cross-Store Cleanup

```powershell
# View cross-store duplicates
$localMachineCerts = Get-ChildItem -Path 'Cert:\LocalMachine\My'|
  Where-Object { $_.Subject -eq "CN=www.example.com" }

$currentUserCerts = Get-ChildItem -Path 'Cert:\CurrentUser\My'|
  Where-Object { $_.Subject -eq "CN=www.example.com" }

# Remove from CurrentUser if intended for LocalMachine (services)
Remove-Item -Path 'Cert:\CurrentUser\My\<THUMBPRINT>'

# Or remove from LocalMachine if intended for CurrentUser (user certs)
Remove-Item -Path 'Cert:\LocalMachine\My\<THUMBPRINT>'
```

### Step 4: Verify Cleanup

1. ✅ Confirm duplicate alert cleared in certificate monitoring
2. ✅ Verify correct certificate remains with private key
3. ✅ Check IIS bindings still point to active certificate
4. ✅ Re-test applications/services using certificate (HTTPS, code signing, etc.)

**Verification Script**:

```powershell
# Verify single certificate remains
$remaining = Get-ChildItem -Path 'Cert:\LocalMachine\My'|
  Where-Object { $_.Subject -eq "CN=www.example.com" }

Write-Host "Remaining certificates: $($remaining.Count)"
$remaining|Select-Object Thumbprint, NotAfter, HasPrivateKey

# Verify IIS binding uses correct certificate
Get-WebBinding|Where-Object { $_.protocol -eq "https" }|
  ForEach-Object {
    Write-Host "Binding: $($_.bindingInformation)"
    Write-Host "Certificate: $($_.certificateHash)"
  }
```

## <i class="fal fa-cog" aria-hidden="true"></i> Configuration

Control duplicate detection behavior:

|Setting|Default|Description|  
|---|---|---|  
|<i class="fal fa-toggle-on" aria-hidden="true"></i> **EnableDuplicateDetection**|`true`|Enable/disable duplicate certificate detection|  
|<i class="fal fa-arrow-up-wide-short" aria-hidden="true"></i> **MaximumAllowedDuplicates**|`1`|Maximum number of duplicates before WARNING state (0 = no duplicates allowed)|  
|<i class="fal fa-square-check" aria-hidden="true"></i> **TreatDuplicatesAsError**|`false`|Escalate duplicate detection from WARNING to ERROR state|  
|<i class="fal fa-square-check" aria-hidden="true"></i> **AlertOnCrossStoreDuplicates**|`true`|Warn when certificate exists in both LocalMachine and CurrentUser stores|  

For detailed configuration, see [Certificate Configuration][].

## <i class="fal fa-vial" aria-hidden="true"></i> Testing Duplicate Detection

Create test scenarios to validate duplicate certificate detection:

### Test Scenario 1: Renewal Overlap (2 certs, 1 with private key)

```powershell
# Simulate renewal overlap - old cert + new cert
$oldCert = New-SelfSignedCertificate `
    -Subject "CN=test.example.com" `
    -DnsName "test.example.com" `
    -CertStoreLocation "Cert:\LocalMachine\My" `
    -NotAfter (Get-Date).AddMonths(1)

# Export old cert without private key, then reimport (simulates old cert without key)
Export-Certificate -Cert $oldCert -FilePath "old-no-key.cer" -Type CERT
Remove-Item -Path "Cert:\LocalMachine\My\$($oldCert.Thumbprint)"
Import-Certificate -FilePath "old-no-key.cer" -CertStoreLocation "Cert:\LocalMachine\My"

# Create new cert with private key (renewal)
$newCert = New-SelfSignedCertificate `
    -Subject "CN=test.example.com" `
    -DnsName "test.example.com" `
    -CertStoreLocation "Cert:\LocalMachine\My" `
    -NotAfter (Get-Date).AddYears(1)

# Expected: INFO or WARNING state - renewal overlap (1 with private key, 1 without)
```

### Test Scenario 2: Multiple Private Keys (ERROR)

```powershell
# Create 2 certificates with same subject, both with private keys (CRITICAL issue)
$cert1 = New-SelfSignedCertificate `
    -Subject "CN=duplicate.example.com" `
    -DnsName "duplicate.example.com" `
    -CertStoreLocation "Cert:\LocalMachine\My"

$cert2 = New-SelfSignedCertificate `
    -Subject "CN=duplicate.example.com" `
    -DnsName "duplicate.example.com" `
    -CertStoreLocation "Cert:\LocalMachine\My"

# Expected: ERROR state - ambiguous selection (2 certs with private keys)
```

### Test Scenario 3: Cross-Store Duplicate (WARNING)

```powershell
# Create certificate in LocalMachine
$cert = New-SelfSignedCertificate `
    -Subject "CN=crossstore.example.com" `
    -DnsName "crossstore.example.com" `
    -CertStoreLocation "Cert:\LocalMachine\My"

# Export and import to CurrentUser (cross-store duplication)
Export-Certificate -Cert $cert -FilePath "crossstore.cer" -Type CERT
Import-Certificate -FilePath "crossstore.cer" -CertStoreLocation "Cert:\CurrentUser\My"

# Expected: INFO/WARNING state - certificate exists in multiple stores
```

### Test Scenario 4: Threshold Exceeded (WARNING)

```powershell
# Create 5 duplicates (exceeds default MaximumAllowedDuplicates=1)
for ($i = 0; $i -lt 5; $i++) {
    New-SelfSignedCertificate `
        -Subject "CN=threshold.example.com" `
        -DnsName "threshold.example.com" `
        -CertStoreLocation "Cert:\LocalMachine\My" | Out-Null
}

# Expected: WARNING state - 5 duplicates (exceeds maximum of 1)
```

### Test Scenario 5: All Duplicates Expired (ERROR)

```powershell
# Create 2 expired certificates with same subject
$expiredCert1 = New-SelfSignedCertificate `
    -Subject "CN=allexpired.example.com" `
    -DnsName "allexpired.example.com" `
    -CertStoreLocation "Cert:\LocalMachine\My" `
    -NotAfter (Get-Date).AddDays(-10)

$expiredCert2 = New-SelfSignedCertificate `
    -Subject "CN=allexpired.example.com" `
    -DnsName "allexpired.example.com" `
    -CertStoreLocation "Cert:\LocalMachine\My" `
    -NotAfter (Get-Date).AddDays(-5)

# Expected: ERROR state - all duplicates expired (critical renewal required)
```

For comprehensive testing scripts and additional scenarios, see [FAQ: Duplicate Certificate Detection][].

## <i class="fal fa-shield-check" aria-hidden="true"></i> Duplicate Management Best Practices

### <i class="fal fa-check-circle" aria-hidden="true"></i> DO - Recommended Practices

|**Practice**|**Why It Matters**|**Implementation**|  
|---|---|---|  
|**Clean up within 7 days after renewal**|Prevents application selection ambiguity|Schedule cleanup task for T+7 days post-renewal|  
|**Remove private keys from old certificates**|Old cert cannot be selected if no private key|Export without key: `Export-Certificate -Type CERT`|  
|**Single store policy**|Eliminates cross-store confusion|Services → LocalMachine, Users → CurrentUser only|  
|**Verify before deletion**|Prevents accidental removal of active certificate|Check [IIS][] bindings, app configs, service references|  
|**Document current certificate**|Clear audit trail for renewals|Maintain inventory with thumbprints and renewal dates|  
|**Automate cleanup**|Consistent enforcement without manual errors|Scheduled task: remove expired certs monthly|  
|**Test renewal process**|Validates new certificate before cleanup|24-48 hour verification period before old cert removal|  
|**Set realistic thresholds**|Balance strictness with operational flexibility|Production: `MaximumAllowedDuplicates=1`, Staging: `2`|  

### <i class="fal fa-times-circle" aria-hidden="true"></i> DON'T - Practices to Avoid

|**Anti-Pattern**|**Risk**|**Correct Approach**|  
|---|---|---|  
|**Leave old certificates indefinitely**|Application may select expired certificate on restart|Remove old certificates within 7 days of renewal|  
|**Keep multiple certificates with private keys**|HIGH RISK: Unpredictable application selection|Only one certificate per Subject/SAN with private key|  
|**Duplicate across stores without reason**|Confusion about authoritative certificate location|Consolidate to single store (LocalMachine for services)|  
|**Delete without verification**|Risk removing active certificate, breaking production|Verify IIS bindings and app configs first|  
|**Rely on manual cleanup**|Human error causes duplicate accumulation|Automate with scheduled tasks and monitoring alerts|  
|**Skip testing after renewal**|New certificate may have configuration issues|Test 24-48 hours before removing old certificate|  
|**Set threshold too high**|Masks legitimate duplicate problems|Production environments should use threshold of 1|  
|**Ignore cross-store duplicates**|Security and compliance issues|Enable `AlertOnCrossStoreDuplicates=true`|  

## <i class="fal fa-exclamation-circle" aria-hidden="true"></i> Common Duplicate Issues

### Issue: Application Uses Old Certificate After Renewal

**Cause**: Application cached old certificate thumbprint or selecting by subject (ambiguous with duplicates)

**Solution**:

1. Identify correct certificate (new renewal):

   ```powershell
   Get-ChildItem -Path 'Cert:\LocalMachine\My' |  
     Where-Object { $_.Subject -eq "CN=www.example.com" } |  
     Sort-Object NotAfter -Descending | Select-Object -First 1  
   ```

2. Update application config with new thumbprint
3. Restart application/service
4. Remove old certificate after verifying application uses new cert

### Issue: IIS Binding Shows Error After Renewal

**Cause**: IIS binding still references old certificate thumbprint (orphaned binding)

**Solution**:

```powershell
# Update IIS binding to new certificate
Import-Module WebAdministration

# Get new certificate thumbprint
$newCert = Get-ChildItem -Path 'Cert:\LocalMachine\My'|
  Where-Object { $_.Subject -eq "CN=www.example.com" }|
  Sort-Object NotAfter -Descending|Select-Object -First 1

# Update binding
$binding = Get-WebBinding -Name "Default Web Site" -Protocol "https"
$binding.AddSslCertificate($newCert.Thumbprint, "my")

# Verify binding
Get-WebBinding -Name "Default Web Site" -Protocol "https"|
  Select-Object bindingInformation, certificateHash
```

### Issue: Cannot Determine Which Certificate is Current

**Cause**: Multiple certificates with private keys, unclear which is actively used

**Solution**:

```powershell
# Check IIS bindings for active certificate
Import-Module WebAdministration
$activeThumbprints = Get-WebBinding|
  Where-Object { $_.protocol -eq "https" }|
  Select-Object -ExpandProperty certificateHash -Unique

# Check running services for certificate usage
Get-ChildItem -Path 'Cert:\LocalMachine\My'|
  Where-Object { $_.Subject -eq "CN=www.example.com" -and $activeThumbprints -contains $_.Thumbprint }|
  Select-Object Thumbprint, NotAfter, HasPrivateKey, FriendlyName

# Current certificate = the one referenced in IIS bindings
```

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

<i class="fal fa-wrench" aria-hidden="true"></i> [Certificate Remote Actions][]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

<i class="fal fa-home" aria-hidden="true"></i> [Certificate Monitoring Overview][Certificate Monitoring]  
<i class="fal fa-shield-check" aria-hidden="true"></i> [Private Key Health][]  
<i class="fal fa-exclamation-triangle" aria-hidden="true"></i> [Weak Cryptography Detection][]  
<i class="fal fa-sitemap" aria-hidden="true"></i> [Chain Validation][]  
<i class="fal fa-certificate" aria-hidden="true"></i> [Certificate Purpose and EKU][]  
<i class="fal fa-server" aria-hidden="true"></i> [IIS Binding and SAN Monitoring][]  
<i class="fal fa-cog" aria-hidden="true"></i> [Certificate Configuration][]  
<i class="fal fa-question-circle" aria-hidden="true"></i> [FAQ: Duplicate Certificate Detection][]  

[Certificate Configuration]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/certificates/configuration/
[Certificate Monitoring]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/certificates/monitoring/
[Certificate Purpose and EKU]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/certificates/certificate-purpose-and-eku/
[Certificate Remote Actions]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/certificates/remote-actions/
[Chain Validation]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/certificates/chain-validation/
[Configuration]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/certificates/configuration/
[FAQ Scenario 1]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/certificates/troubleshooting/faq-duplicate-certificate-detection/#fa-check-scenario-1-same-store-duplicates
[FAQ Scenario 2]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/certificates/troubleshooting/faq-duplicate-certificate-detection/#fa-triangle-exclamation-scenario-2-high-risk-duplicates-multiple-private-keys
[FAQ Scenario 3]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/certificates/troubleshooting/faq-duplicate-certificate-detection/#fa-network-wired-scenario-3-cross-store-duplicates
[FAQ Scenario 4]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/certificates/troubleshooting/faq-duplicate-certificate-detection/#fa-circle-info-scenario-5-allowed-duplicates-within-threshold
[FAQ Scenario 5]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/certificates/troubleshooting/faq-duplicate-certificate-detection/#fa-check-scenario-4-renewal-success-single-valid-certificate
[FAQ: Duplicate Certificate Detection]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/certificates/troubleshooting/faq-duplicate-certificate-detection/
[IIS]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/iis/
[IIS Binding and SAN Monitoring]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/certificates/iis-binding-and-san-monitoring/
[Private Key Health]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/certificates/private-key-health/
[Weak Cryptography Detection]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/certificates/weak-cryptography-detection/
[Windows Server]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/windows-server/