Amazon holiday deals See deals →ad

Mets Minor League Blog

Music theory, instruments and musicians

Mets Minor League Blog

Music theory, instruments and musicians

Enable SMB Signing with Group Policy (GPO)

SMB signing adds a cryptographic signature to SMB network messages, helping clients and servers detect tampering and reducing the risk of certain relay and spoofing attacks. You can require it through Group Policy on Windows computers. Plan carefully: older devices and third-party file servers may not support signing, and requiring it can interrupt access. The steps below cover both client and server policies, how to deploy them, and how to verify the result.

What You’ll Need

  • Administrative access to Group Policy Management on a domain controller or a computer with the Group Policy Management Console (GPMC) installed.
  • A domain account with permission to create or edit and link Group Policy Objects (GPOs), plus access to test computers.
  • An inventory of SMB clients, file servers, NAS devices, and other systems that connect to the affected computers. Confirm they support SMB signing before requiring it.
  • A maintenance and rollback plan. Test on a limited organizational unit (OU) before broad deployment.

Step-by-Step

  1. Choose what to protect. Decide whether the policy should make Windows computers require signing for outbound SMB connections, inbound SMB connections, or both. Client settings govern connections initiated by a computer; server settings govern connections it accepts. Apply the appropriate settings to the computers that perform each role. A file server that both connects to shares and hosts them may need both.
  2. Check existing policy and compatibility. In GPMC, review linked GPOs and the Resultant Set of Policy for representative computers. Record the current SMB signing settings and identify non-Windows clients and servers. If possible, assess whether they negotiate signing before enforcing it. Do not assume that a device supports signing just because it supports SMB.
  3. Create a test GPO. Open Group Policy Management (gpmc.msc), right-click the domain or an appropriate test OU, and select Create a GPO in this domain, and Link it here. Give it a clear name, such as “Require SMB Signing – Test.” Linking to a test OU limits the initial impact. You can instead create the GPO without linking it and link it after review.
  4. Open the policy settings. Right-click the new GPO and choose Edit. In the Group Policy Management Editor, go to Computer Configuration > Policies > Windows Settings > Security Settings > Local Policies > Security Options. These are computer policies, so link the GPO where the target computer accounts are located; placing user accounts in the OU is not sufficient.
  5. Require signing for outbound SMB. Find Microsoft network client: Digitally sign communications (always), open it, select Define this policy setting, choose Enabled, and select OK. This requires the Windows SMB client on the computer to sign communications when connecting to SMB servers.
  6. Require signing for inbound SMB. Find Microsoft network server: Digitally sign communications (always), define the setting, select Enabled, and click OK. This requires the Windows SMB server on the computer to sign communications it serves to clients. Enable both “always” settings where you need both directions protected.
  7. Do not confuse “always” with “if client/server agrees.” The similarly named client and server settings ending in (if client agrees) allow signing to be negotiated when the other side supports it; they do not require it in every connection. For a strict requirement, enable the relevant (always) setting. Avoid changing the “if client/server agrees” settings without a specific reason, since they affect negotiation behavior.
  8. Review scope and security filtering. Confirm the GPO is linked to the intended OU and that its links are enabled. Check security filtering and delegation so the target computer accounts have both Read and Apply Group Policy permissions. Check for conflicting policies: a higher-precedence GPO or enforced link can change the effective setting.
  9. Update and verify on a test computer. On a target Windows computer, run gpupdate /force from an elevated Command Prompt, then restart if needed or schedule a restart during your maintenance window. Check the applied settings with gpresult /h C:\gpresult.html and review the report for the winning GPO. Also inspect Local Security Policy or the Resultant Set of Policy to confirm the two “always” settings are enabled.
  10. Test actual SMB access, then roll out gradually. From affected clients, access representative shares; on affected servers, test connections from representative clients. Check application workflows, authentication, and file operations, not just whether a share opens. Review logs and monitoring for connection failures. Expand the GPO to additional OUs in stages only after testing succeeds. Keep a record of the original values and a ready rollback plan.

Common Mistakes

  • Enabling only one direction. Requiring client signing protects outbound connections from that computer; it does not make its inbound SMB service require signing. Configure the client and server settings according to the computer’s role.
  • Enabling the “if agrees” setting and assuming signing is mandatory. That setting permits negotiation but does not impose the same requirement as “always.”
  • Linking the GPO to the wrong OU. Computer Configuration applies based on computer accounts. Verify where those accounts reside and whether loopback or inheritance settings alter processing.
  • Deploying across the domain without compatibility checks. Some older systems and appliances may fail to connect when signing is required. Inventory and test them first.
  • Assuming a successful policy refresh proves the setting took effect. A refresh can succeed while the GPO is out of scope, filtered out, or overridden. Verify the winning policy and test SMB connections.

Tips

  • Use a dedicated, clearly named GPO and keep a change record so the setting is easy to audit or reverse.
  • Use a pilot OU containing representative clients and servers, including the business applications that access file shares.
  • For Windows 10 and Windows Server 2016 or later, consider whether SMB signing is already required by default for the relevant edition and configuration. Verify actual policy and behavior rather than relying on version alone.
  • Signing is not encryption: it helps detect message tampering but does not conceal SMB data. Use SMB encryption where confidentiality is required and supported.

Troubleshooting

The GPO does not appear in the result: Run gpresult /h C:\gpresult.html as an administrator and inspect the computer’s applied GPOs. Confirm OU placement, link status, network access to a domain controller, security filtering, and permissions. Use the Group Policy Results wizard in GPMC to identify denied or overridden policies.

A share stops working after enforcement: The remote SMB server or client may not support signing, or it may have signing disabled. Check the affected device’s documentation and configuration, and review Windows SMB Client and SMB Server operational logs in Event Viewer for negotiation or connection errors. If business access is blocked, unlink or disable the test GPO, or restore the prior setting, then refresh policy. Resolve compatibility before trying enforcement again.

The setting looks enabled but connections still fail: Confirm that you enabled the correct “always” policy for the direction being tested and that the effective policy has not been overridden. Test a fresh connection after policy refresh; an existing SMB session may not reflect a changed configuration. Check firewall rules, name resolution, credentials, and SMB version separately, since signing does not fix those issues.

Frequently Asked Questions

Should I enable both SMB signing settings?
Enable the client “always” setting to require signing on outbound connections and the server “always” setting to require it on inbound connections. Enable both on computers that need both protections.

Does SMB signing encrypt files?
No. Signing helps verify message integrity and authenticity; it does not hide data. Use SMB encryption or another suitable protection when confidentiality is required.

Will requiring signing break older devices?
It can. A peer that cannot negotiate signing may be unable to connect. Test NAS devices, older Windows systems, and other SMB implementations before broad deployment.

Do I need to restart after changing the GPO?
Run gpupdate /force and follow the setting’s behavior on your Windows versions. A restart or reconnect may be needed for changes to affect existing SMB sessions; plan one if verification indicates the old session remains active.

How can I confirm signing is actually used?
Verify the effective “always” policy with Resultant Set of Policy or gpresult, then check a live SMB connection using appropriate Windows SMB diagnostics or packet analysis. A policy report confirms configuration, but testing the connection confirms negotiation with the peer.

Enable SMB Signing with Group Policy (GPO)
Scroll to top