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

gMSA Troubleshooting: Test-ADServiceAccount Returns False

A group Managed Service Account (gMSA) usually fails with one word: Test-ADServiceAccount returns False, or Install-ADServiceAccount reports an error that says very little. This guide takes the causes one at a time, with the command that checks each one and the fix. If you have not created the account yet, start with the gMSA setup

November 13, 2026

Install RSAT on Windows Server 2025 and 2022 (Feature Names)

On Windows Server you do not download Remote Server Administration Tools (RSAT). The tools, from the Active Directory module to Group Policy Management, DNS and DHCP consoles, are built-in features that you turn on. This guide covers Windows Server 2025 and 2022 with PowerShell or Server Manager, the feature names, Server Core, offline servers and

November 13, 2026

Event ID 4771: Kerberos Pre-Authentication Failed (Codes)

Event ID 4771 is a failed Kerberos pre-authentication on a domain controller. Decode failure codes 0x18, 0x12, 0x17, 0x25 and find the client IP behind lockouts.

October 7, 2026

Event ID 5805: Netlogon Session Setup Failed to Authenticate

Netlogon event ID 5805 means a computer failed to authenticate its secure channel to a DC. Find why its machine password is out of sync and repair it.

October 7, 2026

Event ID 1058: Group Policy Failed to Read gpt.ini (Fix)

Fix event ID 1058 (Group Policy failed to read gpt.ini): find the DC and path, test access, then check SYSVOL replication, DNS, the DFS client, permissions and Kerberos.

October 7, 2026

Event ID 4012 DFSR: Replicated Folder Offline Too Long (Fix)

DFSR event ID 4012 means a replicated folder was offline longer than MaxOfflineTimeInDays. Why not to raise the limit, and how to resync safely.

October 7, 2026

DFS Replication Backlog: Check It with PowerShell and Fix It

Check the DFS Replication backlog with Get-DfsrBacklog and Get-DfsrState, read the health report, and fix staging quota, sharing violations, event 2213 and 4012.

October 7, 2026

PowerShell Cheat Sheet for Windows Server Admins

PowerShell cheat sheet for Windows Server admins: services, Get-WinEvent filters, networking, firewall, disks, updates, local users, Active Directory, remoting and tasks.

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

AD Health Check Report: dcdiag and repadmin PowerShell Script

Free PowerShell script that runs dcdiag, repadmin /replsummary, w32tm and SYSVOL DFSR checks on every DC and saves a colour-coded HTML report.

October 6, 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.