Free PowerShell Script: Disable SMBv1 on Windows
$0+
$0+
https://schema.org/InStock
usd
Austin T. Lowe
Remove SMBv1 and Strengthen Your Windows Security
SMBv1 is an outdated and vulnerable protocol still enabled on many systems. This free PowerShell script helps you disable it cleanly and automatically — one of the most common security baseline tasks.
🔧 What This Script Does:
- Disables SMBv1 via registry (
LanmanServer
) - Removes the SMBv1 Windows feature (if installed)
- Works on Windows 10, 11, and Server 2016–2022
- No reboot forced — safe to run during business hours
📦 What You Get:
-
Disable-SMBv1.ps1
– fully commented PowerShell script -
README.md
with instructions and sample output
💡 Want More Security Scripts?
This script is part of the PowerShell Security Hardening Script Pack, which includes:
- Password policy enforcement
- Audit logging setup
- Firewall rule config
- Defender setup
- Legacy service cleanup
👉 Grab the full pack here → Check out the full PowerShell Security Hardening Script Pack
Quickly disable SMBv1 with this free PowerShell script — improve Windows security in one click.
Size
1.32 KB
Add to wishlist