Emergency server help: get in touch

Active Directory

Active Directory guides: install and promote domain controllers, FSMO roles, replication, account lockouts, gMSA, LAPS and PowerShell scripts.

53 guides, scripts and tools for Active Directory. Search them or pick a type. Press / to search.

53 pages

BadSuccessor dMSA on Server 2025: Audit OU Rights and Patch

BadSuccessor (CVE-2025-53779) let anyone who could create a dMSA on Windows Server 2025 take over the domain. Check DC builds, audit OU rights and dMSA links, and monitor.

October 6, 2026

Export AD Users to CSV: PowerShell Script with Last Logon

Free PowerShell script that exports Active Directory users to CSV or HTML with last logon, password age, manager, department and OU.

October 6, 2026

Inactive AD Accounts Report: PowerShell Script with Safe Disable

Free PowerShell script that reports AD users and computers inactive for N days (lastLogonTimestamp), with never-logged-on detection and a safe -WhatIf disable.

October 6, 2026

Kerberos RC4 Audit Script: Find RC4 Accounts and Tickets

Free PowerShell script that finds AD accounts allowing or requiring Kerberos RC4 and counts RC4 tickets issued by your DCs (events 4769/4768).

October 6, 2026

Kerberos RC4 Removal: Find and Fix RC4 Accounts (2027)

Kerberos RC4 removal in 2026: the KB5073381 timeline, how to find RC4 users with KDCSVC events 201-209 and event 4769 type 0x17, and how to fix service accounts and keytabs.

October 6, 2026

Reset krbtgt Password Safely: Two Resets, Replication and RODCs

Reset the krbtgt password safely: why it takes two resets, how long to wait, replication checks, Microsoft's New-KrbtgtKeys.ps1 modes, and RODC krbtgt accounts.

October 6, 2026

How to Audit Active Directory Changes: Track Who Changed What and From Which Computer

Turn on the right audit policy and SACLs, then find who changed which Active Directory user, group or setting, the old and new value, and the computer it came from. Tested on Windows Server 2025.

October 6, 2026

AD Change Audit Reporter: Find Who Changed Active Directory (PowerShell)

Read-only PowerShell report of Active Directory changes: who changed which user, group or computer, old and new values, and the source workstation when the logs allow it.

October 6, 2026

AD DNS Scavenging: Safe Aging Setup with PowerShell

Set up DNS aging and scavenging on AD-integrated zones safely: timers explained, a three-phase rollout with PowerShell, protecting static records, and events 2501/2502.

October 6, 2026

Windows LAPS with Intune and Entra ID: Setup and Retrieval

Back up Windows LAPS passwords to Microsoft Entra ID with Intune: tenant setting, policy, event 10029, retrieval with Get-LapsAADPassword or Graph, and legacy LAPS migration.

October 6, 2026

File Share Auditing: Find Who Deleted a File in 5 Steps

Turn on file share auditing on a Windows Server 2025 file server so you can answer "who deleted this file?": audit policy, SACLs in the GUI and PowerShell, events 4663 with the DELETE access mask, 4660 and 5145, a search script, log sizing and restoring from Previous Versions.

September 30, 2026

NTFS Permissions and Share Permissions: 7 Secure File Server Rules

Set up a Windows Server 2025 file share the maintainable way: simple share permissions, NTFS permissions granted to domain local groups (AGDLP), icacls and PowerShell commands, controlled inheritance, access-based enumeration and effective access checks.

September 30, 2026

Free website test

Is your website set up right?

Check SSL, security headers, redirects, robots.txt, sitemap, llms.txt and security.txt in one test. It takes about 30 seconds.