Microsoft Warns Windows 11 KB5132061 Update Could Break Older PowerShell Scripts


powersheall break windows update
Image credit: Microsoft

Microsoft’s November 2026 Patch Tuesday update, KB5132061, introduces stricter PowerShell script-signing validation that could cause older scripts to stop working.

The change strengthens security by rejecting scripts containing invalid text encoding, particularly malformed UTF-8 characters. Microsoft has also published troubleshooting guidance and a repair tool to help administrators address compatibility problems.

Windows 11 KB5132061 introduces stricter PowerShell signature validation

Before the November update, Windows could replace malformed characters during text decoding, allowing some scripts with invalid encoding to pass signature verification.

With the new security changes, Windows rejects malformed UTF-8 sequences rather than silently replacing them. As a result, previously signed scripts may fail signature checks even if administrators have not modified them.

The change can cause several problems:

  • Get-AuthenticodeSignature may return a NotSigned status for scripts that previously had valid signatures.
  • Set-AuthenticodeSignature may fail when administrators attempt to sign scripts containing invalid encoding.
  • PowerShell automation may stop working in environments that require valid script signatures.

The issue primarily affects scripts with malformed text encoding rather than all PowerShell scripts.

Microsoft provides a repair tool for affected PowerShell scripts

Microsoft recommends checking affected scripts for encoding problems and correcting invalid characters before signing them again.

Administrators can save affected scripts using valid UTF-8 encoding with a byte order mark (BOM) and generate new signatures when necessary.

Microsoft has also released a PowerShell repair tool that can scan multiple scripts for encoding problems and attempt to correct affected files.

The tool can identify potentially problematic scripts, attempt repairs while preserving existing signatures, and avoid overwriting original files.

However, Microsoft warns that the repair process cannot automatically fix every affected script. Some files may require manual corrections and new digital signatures.

Windows 10 and Windows Server are also affected

The stricter PowerShell signature validation does not apply exclusively to Windows 11.

Microsoft’s guidance also covers Windows 10 Enterprise LTSC 2021 and several Windows Server releases, including Windows Server 2025.

Administrators who notice unexpected signature verification failures after installing the November 2026 security updates should check their scripts for malformed UTF-8 encoding before investigating other PowerShell issues.

The change comes as Microsoft continues updating its PowerShell ecosystem. The company recently released a PowerShell update with new commands and security upgrades.

Separately, Microsoft has also acknowledged KB5132061 installation failures and started rolling out an automatic fix for affected devices.

Via Neowin

More about the topics: KB5132061, microsoft, Microsoft PowerShell, PowerShell, Windows 11

Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

User forum

0 messages