Windows Server 2025 ships with more security switched on by default than any previous release, so the job of securing a member server shifts from turning protections on to keeping them on, handling the compatibility fallout, and adopting the new identity, patching and baseline tools properly. Credential Guard is enabled by default on eligible hardware, SMB signing is required on outbound connections, NTLM authentication attempts against SMB are rate limited, and a new account type, the delegated managed service account (dMSA), gives a route away from service accounts with static passwords. Hotpatch reduces restarts, and OSConfig gives a role-aware security baseline with drift control.
This guide covers member servers: file servers, application servers, management servers and other domain-joined or workgroup systems. Domain controller changes (LDAP signing, Kerberos RC4 TGTs, functional levels, SAM RPC and computer account passwords) are covered in our Windows Server 2025 Domain Controller Upgrade guide. Version-neutral practices such as footprint reduction and role-specific settings are in the Windows Server Hardening Guide.
This is an independent guide from NHI Mgmt Group, based on Microsoft's public documentation as of November 2026. It is not sponsored or reviewed by Microsoft. Product features change, so confirm settings against Microsoft's current documentation.
Key takeaways
- Treat the new defaults as your security floor. The most common way a Windows Server 2025 deployment ends up weaker than intended is an administrator disabling SMB signing, encryption or Credential Guard to fix one legacy dependency, and never turning it back on.
- Use the SMB audit settings before rollout to find clients and servers that do not support signing or encryption, then fix them rather than relaxing the defaults.
- Plan dMSA adoption for services that still run under ordinary user accounts. dMSA uses managed, fully randomised keys and disables the original account password, but its migration rights must be tightly controlled.
- Apply the OSConfig security baseline for the server's role (member server or workgroup member). It contains more than 340 settings, protects them from drift and has known impacts you must test.
- Hotpatch can cut planned security restarts to about four a year for supported machines, but drivers, firmware, .NET and non-security updates still need restarts, and there is no automatic rollback.
- Manage local administrator accounts with Windows LAPS, using the new automatic account management, passphrases and image rollback detection.
What is new for security in Windows Server 2025
The table summarises the security-relevant changes that affect member servers, based on Microsoft's "What's new" documentation. Each is covered in more detail below.
| Area | Change in Windows Server 2025 | What to do |
|---|---|---|
| Credential Guard | Enabled by default on devices that meet the requirements | Verify it is running; remove dependencies on NTLMv1, unconstrained delegation and saved credentials that it blocks |
| SMB signing | Required by default for all outbound SMB connections (previously only SYSVOL and NETLOGON) | Audit targets that cannot sign; fix or replace them |
| SMB encryption | Administrators can require outbound connections to be encrypted; clients refuse destinations that cannot comply | Turn on for sensitive data flows after auditing |
| SMB authentication rate limiter | Delay between each failed NTLM or PKU2U authentication attempt, enabled by default | Leave on; it slows password guessing against shares |
| SMB NTLM blocking | SMB client supports blocking NTLM for remote outbound connections | Pilot on servers that only talk to Kerberos-capable targets |
| SMB firewall | File sharing uses File and Printer Sharing (Restrictive), no longer opening inbound NetBIOS ports 137 to 139 | Do not reopen NetBIOS unless a documented dependency exists |
| SMB over QUIC | Available in Standard and Datacenter, not only Azure Edition, with certificate-based client access control | Disable where not used; use client access control where it is |
| dMSA | New delegated managed service account type with managed, fully randomised keys | Migrate user-account services; restrict who can create and link dMSAs |
| Windows LAPS | Automatic account management, passphrases, readability complexity, image rollback detection | Adopt managed local admin accounts on every server |
| Hotpatch | Security updates without restart for supported Azure Edition and Azure Arc-connected machines | Enrol eligible servers; plan baseline month restarts |
| OSConfig baseline | Role-aware baselines with drift control | Apply the member server or workgroup scenario after testing |
| TLS | TLS server authentication requires RSA keys of at least 2,048 bits | Replace weak certificates before upgrade |
| VPN | New RRAS installations do not accept PPTP and L2TP VPN connections | Use IKEv2 or SSTP |
| Remote Mailslot | Disabled by default for SMB and DC Locator use | Remove applications that rely on it |
Credential Guard and virtualisation-based security on servers
Microsoft states that starting with Windows Server 2025, Credential Guard is enabled by default on devices that meet the requirements. For member servers this is significant: management servers, jump hosts and application servers are exactly where administrator and service credentials linger in memory and where attackers run credential dumping tools.
Credential Guard isolates secrets such as NTLM hashes and Kerberos ticket granting tickets inside virtualisation-based security, so that a process with administrator rights in the normal operating system cannot read them. Because it isolates these secrets, it also breaks some legacy authentication behaviours that depend on reading them, so check Microsoft's Credential Guard documentation for the current list. Applications that rely on them can fail after upgrade, and the temptation is to disable Credential Guard. Instead, find and fix the dependency. Our Credential Guard and VBS guide covers verification and troubleshooting in depth.
Two other VBS features in this release are worth knowing about. VBS enclaves are a software-based trusted execution environment inside an application's address space, isolating sensitive code from the host application and the rest of the system. VBS key protection lets keys be protected so they cannot be dumped from process memory or exported in plain text, which requires VBS to be enabled. Hypervisor-enforced paging translation (HVPT) is on by default where hardware supports it, but not when Windows Server runs as a guest in a VM. Make sure server hardware or VM configuration actually supports VBS, otherwise these defaults quietly do nothing.
Also enable memory integrity (HVCI) on servers where driver compatibility allows. It protects the kernel against code injection and enforces the vulnerable driver blocklist. See the Windows Memory Integrity (HVCI) Guide.
SMB: new defaults and how to keep them
SMB carries more changes in Windows Server 2025 than any other component, and they all point the same way: authenticated, signed and preferably encrypted file traffic, with fewer legacy fallbacks.
Signing required on outbound connections
Microsoft says SMB signing is now required by default for all outbound SMB connections. Previously it was required only for connections to SYSVOL and NETLOGON on domain controllers. Signing defeats SMB relay and tampering attacks, but it breaks connections to old NAS devices, printers, scanners and appliances that cannot sign. Find them before upgrade.
Audit first
Microsoft provides audit switches for both directions:
Set-SmbServerConfiguration -AuditClientDoesNotSupportEncryption $trueSet-SmbServerConfiguration -AuditClientDoesNotSupportSigning $trueSet-SmbClientConfiguration -AuditServerDoesNotSupportEncryption $trueSet-SmbClientConfiguration -AuditServerDoesNotSupportSigning $true
The resulting events appear in the SMBClient Audit log (event IDs 31998 and 31999) and the SMBServer Audit log (event IDs 3021 and 3022). Collect them centrally for a few weeks, build a list of devices that cannot sign or encrypt, and give each an owner and a fix date. Our SMB Signing Guide covers remediation of common devices.
Encryption, NTLM and rate limiting
Administrators can require all outbound SMB client connections to be encrypted, and can require destinations to support SMB 3.x and encryption, in which case the client will not connect to a destination that cannot comply. Turn this on for servers handling sensitive data once the audit shows targets are ready.
The SMB client also supports blocking NTLM for remote outbound connections. This stops an attacker coercing the server into sending NTLM credentials to a host they control and relaying them. It requires every target to support Kerberos, so pilot it on servers whose SMB destinations are all domain members reachable by name. The SMB authentication rate limiter, enabled by default, adds a delay between each failed NTLM or PKU2U authentication attempt, which makes password guessing against shares very slow. Leave it on.
Firewall, QUIC and dialects
When a share is created, Windows Server 2025 uses the File and Printer Sharing (Restrictive) firewall group, which no longer permits inbound NetBIOS ports 137 to 139. Do not reopen them by habit. SMB over QUIC is now available in Standard and Datacenter editions. If you do not use it, disable it on clients with Set-SmbClientConfiguration -EnableSMBQUIC $false; if you do, use client access control so only clients with approved certificates can connect. Administrators can also control which SMB dialects are negotiated; there is no reason to allow SMB 1 on any server.
Service accounts and dMSA
Service accounts are some of the most dangerous non-human identities in a Windows estate. Many still run as ordinary domain user accounts with passwords that never change, are known to several administrators and are often members of privileged groups. Group managed service accounts (gMSA) fixed the password problem years ago, but adoption stalled because migrating an application to a gMSA often meant reconfiguring it.
Windows Server 2025 adds the delegated managed service account. Microsoft describes it as an account type that enables migration from a service account to a dMSA, with managed and fully randomised keys, designed to minimise application changes while the original service account password is disabled. In practice the dMSA takes over the identity of the legacy account, so services can move without a full reconfiguration.
Adopting dMSA safely
- Inventory first. List services, scheduled tasks and application pools running under domain user accounts on each server. Our guide Windows Services and Service Account Security Guide covers discovery and choosing between gMSA and dMSA.
- Control who can create and link dMSAs. A dMSA inherits the effective permissions of the account it supersedes. Any principal that can create a dMSA in an organisational unit and link it to a privileged account can effectively obtain that account's rights. Restrict create child permissions on organisational units, monitor for new dMSA objects, and review delegation on the OUs where dMSAs live.
- Bind dMSAs to specific servers. Limit which computers can retrieve the dMSA key so that the account is only usable on the servers that run the service.
- Remove privilege as you migrate. Migration is the right moment to take the service out of Domain Admins or local Administrators and grant only the rights it needs.
- Complete the migration. Confirm the old account's password is disabled and remove it once the service runs cleanly.
Apply security updates promptly for dMSA and Kerberos components, because the attack surface around account migration has drawn research attention since release. Treat any unexpected dMSA creation as a potential privilege escalation.
Windows LAPS on Windows Server 2025
A shared local administrator password across servers is one of the fastest routes to lateral movement. Windows LAPS solves that, and the 2025 release adds features that make it easier to run well:
- Automatic account management. Windows LAPS can create the managed local account itself, customise or randomise its name, and enable or disable it. That removes the need for scripts that create a local admin account during build.
- Image rollback detection. A new attribute,
msLAPS-CurrentPasswordVersion, holds a GUID. If it differs from the locally stored copy (for example after a VM snapshot is restored), the password is rotated immediately. You need to runUpdate-LapsADSchemato enable it; without it, Windows LAPS logs warning event 10108. - Passphrases and readability. Passwords can be generated as passphrases from built-in word lists, with a configurable word count, or with a readability complexity setting that excludes easily confused characters.
- Post-authentication actions. A new option resets the password, signs out the managed account and terminates any remaining processes running under it, without notification. Use it on servers so that a credential used once during an incident or maintenance window cannot be reused.
OSConfig also includes a Windows LAPS scenario for member servers. See our Local Administrator Password Solution (LAPS) Guide for deployment detail.
Hotpatch and patching strategy
Long patch windows are a security problem: servers that need a restart for every security update often wait weeks for a maintenance slot. Hotpatch applies operating system security updates without restarting.
How the cadence works
Microsoft's hotpatch documentation describes a quarterly baseline. A baseline month installs the current cumulative update and requires a restart; the next two months are hotpatch releases that do not. A planned year therefore has four baselines and eight hotpatch releases, which means about four restarts a year plus any unplanned baselines. Unplanned baselines are released for urgent fixes, such as zero-days, that cannot ship as a hotpatch. They replace that month's hotpatch and require a restart.
Eligibility and limits
- For Windows Server 2025, hotpatch is supported on listed Datacenter Azure Edition images in Azure and Azure Local, and on Standard and Datacenter editions connected to Azure Arc, enabled through the Azure Arc portal. Microsoft's hotpatch page states that Azure Arc-enabled hotpatch for Windows Server 2025 is now available at no extra cost; confirm current terms for your licensing.
- Non-security Windows updates, .NET updates, drivers and firmware are not hotpatched and still need restarts.
- There is no automatic rollback. Recovery means uninstalling the latest update, installing the last good baseline and restarting.
- Verify installed patches with
Get-HotFixand report hotpatch compliance alongside normal patch compliance.
Hotpatch is not a reason to skip restarts entirely. Schedule baseline months like any other maintenance, and make sure unplanned baselines for actively exploited vulnerabilities are installed within your critical patch target. Cross check the CISA Known Exploited Vulnerabilities Catalog to prioritise.
OSConfig security baselines
OSConfig is a security configuration stack for Windows Server 2025 that applies a role-aware baseline and protects its settings from drift. It applies only to Windows Server 2025. Install the module with Install-Module -Name Microsoft.OSConfig -Scope AllUsers -Force and apply a scenario with Set-OSConfigDesiredConfiguration. The member server scenarios are:
SecurityBaseline/WindowsServer/2025/MemberServerfor domain-joined servers (344 settings in the current release).SecurityBaseline/WindowsServer/2025/WorkgroupMemberfor standalone servers (319 settings).SecuredCorefor Secured-core hardware features.Defender/Antivirus/WindowsServer/2025for Microsoft Defender Antivirus.LAPS/WindowsServer/2025/MemberServerfor Windows LAPS on member servers.
Known impacts to test
Microsoft lists impacts of applying the baseline: local administrator passwords must be changed to at least 14 characters meeting complexity rules; TLS or DTLS 1.2 or higher is required; SMB 3.0 or higher is required, including on non-Windows systems such as Samba; and RDP file copy and paste is disabled. A restart is required after applying or removing a baseline.
Drift control and conflicts
After a baseline is applied, OSConfig keeps its settings from drifting, including values you customise. If Group Policy, Intune or another tool sets the same setting to a different value, the setting will keep changing between sources, so decide which tool owns each setting and remove the other. Removing a baseline does not guarantee settings return to previous values. Update baselines with Update-Module -Name Microsoft.OSConfig and reapply, since each module release fully supersedes the previous version.
Remote access, TLS and legacy protocols
- TLS. TLS server authentication requires RSA keys of at least 2,048 bits. Find certificates with weaker keys on servers and devices that connect to them before upgrade.
- VPN. New RRAS installations do not accept PPTP or L2TP connections; SSTP and IKEv2 are unchanged. In-place upgrades keep existing behaviour, so actively retire PPTP and L2TP on upgraded servers too.
- Mailslots and WINS. Remote Mailslot is disabled by default for SMB and DC Locator use and may be removed later. WINS is deprecated. Plan removal of anything that depends on either.
- Administration. Manage servers from privileged access workstations, restrict RDP and WinRM to management networks, and prefer Server Core where the workload allows. See NTLM Deprecation and Elimination Guide for planning the removal of NTLM more widely.
Common failure patterns
- Disabling SMB signing globally because one old scanner or NAS stopped working, instead of fixing or isolating that device.
- Turning off Credential Guard to restore NTLMv1 or unconstrained delegation for one application.
- Assuming defaults apply after in-place upgrade. Some changes, such as the RRAS VPN behaviour, only apply to new installations.
- Loose dMSA permissions. Broad create child rights on organisational units let ordinary accounts create dMSAs linked to privileged accounts.
- Conflicting configuration sources. OSConfig and Group Policy fighting over the same setting, producing unpredictable state.
- Treating hotpatch as no restarts ever. Driver, firmware and .NET updates pile up, and baseline months slip.
- Shared local administrator passwords on servers built before Windows LAPS was configured.
Practitioner checklist
- Verify Credential Guard and VBS are running on each Windows Server 2025 member server, and fix dependencies instead of disabling them.
- Enable SMB signing and encryption audit on clients and servers, collect events 31998, 31999, 3021 and 3022, and remediate every device that cannot comply.
- Keep SMB signing required, the authentication rate limiter on and NetBIOS ports closed; disable SMB over QUIC where unused.
- Inventory services running as domain user accounts, migrate them to gMSA or dMSA, and restrict who can create and link dMSAs.
- Deploy Windows LAPS with automatic account management, run
Update-LapsADSchemafor rollback detection and set post-authentication actions. - Apply the OSConfig member server or workgroup baseline in a test ring, review the known impacts, and assign one owner tool per setting.
- Enrol eligible servers in hotpatch, schedule baseline month restarts and track unplanned baselines against KEV-driven targets.
- Replace certificates with RSA keys under 2,048 bits and retire PPTP and L2TP on upgraded RRAS servers.
- Enable memory integrity on servers where drivers allow, and alert on any change that disables VBS, Credential Guard or SMB signing.
Standards and references
- Microsoft: What's new in Windows Server 2025
- Microsoft: Hotpatch for Windows Server
- Microsoft: Configure security baselines with OSConfig
- NIST: SP 800-53 Rev. 5 (CM-6 Configuration Settings, CM-7 Least Functionality, IA-5 Authenticator Management, SI-2 Flaw Remediation)
- CIS: Critical Security Controls v8.1
- CISA: Known Exploited Vulnerabilities Catalog
- NCSC: Secure system administration
Related NHI Mgmt Group resources: Windows Server 2025 Domain Controller Upgrade · Windows Server Hardening Guide · Windows Services and Service Account Security Guide · SMB Signing Guide