Terminal window showing a NotSigned status for signed PowerShell scripts after the November 2026 Windows update

Signed PowerShell Scripts Failing After the November Update: What Microsoft Changed, Who’s Hit and How to Fix Them

If your signed PowerShell scripts suddenly show up as unsigned, or refuse to sign at all, the November 2026 Windows security update is the likely cause. Microsoft says it tightened how Windows checks text encoding when it signs and verifies scripts, so files with malformed UTF-8 that used to pass are now rejected. Microsoft has published a scan-first fix path, so you can find out which scripts are hit before you change anything.

Here are the facts worth knowing before you touch a single file.

  • The change started with Windows security updates released on November 10, 2026, documented in Microsoft’s KB5135999 guidance.
  • It covers Windows 11 (23H2 through 26H2), Windows 10 Enterprise LTSC 2021, and Windows Server 2016 through 2025.
  • The tell-tale sign is Get-AuthenticodeSignature returning NotSigned for a script you signed earlier.
  • Microsoft calls it intentional security hardening and lists no further phases or deadlines.
  • Its helper script, Repair-SignedPowerShellUtf8.ps1, starts in a read-only scan mode.

What changed for signed PowerShell scripts in the November update

Windows has to read your script’s text before it can sign it or check a signature. Before November, a file with invalid bytes could still be decoded, with the bad bytes swapped for replacement characters. Now Windows rejects those files outright, according to Microsoft.

How Windows picks an encoding hasn’t changed. It looks for a byte order mark (BOM) first, then checks the first 32 bytes for patterns, and finally falls back to the machine’s system code page. Only the decoding step got stricter.

That detail matters because a UTF-8-looking header doesn’t prove the whole file is valid UTF-8. Microsoft also says that adding a BOM won’t repair invalid bytes. The stricter validation is listed in the release notes for the November cumulative update, KB5132061.

Which scripts break, and which ones don’t

Microsoft sorts the trouble into three cases. The table shows what each one looks like and whether the repair mode can help.

Case What’s in the file Can Repair mode help?
1. Invalid UTF-8 Windows reads the file as UTF-8, but some bytes aren’t valid UTF-8. Yes, as a temporary fix.
2. UTF-8 without a BOM Windows falls back to the system code page (Microsoft’s example is Japanese code page 932), and the bytes are invalid there. Yes, on a machine with the signer’s system code page.
3. Language-specific encoding An encoding such as Shift-JIS that Windows mistakes for UTF-8. No. Convert it and name the original code page.

Microsoft stresses that not every script in these groups fails. A scan tells you for sure, so run one before you assume anything.

How to tell it’s the encoding change and not something else

Three symptoms point to this problem, though Microsoft warns that each one can have other causes too.

  • Get-AuthenticodeSignature reports NotSigned for a script that was signed before.
  • Set-AuthenticodeSignature returns UnknownError with the message “No mapping for the Unicode character exists in the target multi-byte code page.”
  • On devices enforcing App Control for Business (WDAC), affected scripts may run in ConstrainedLanguage mode.

That’s why the scan comes first. It reports the issue type, the signature status and a suggested action without changing anything. It also flags encoding problems in unsigned files, so NotSigned on its own doesn’t prove a file is affected.

Fixing signed PowerShell scripts: scan, repair or re-sign

The helper script has three modes, and none of them overwrites your source file or an existing output file. It needs Windows PowerShell 5.1 running in FullLanguage mode.

  • Scan is the default. It’s read-only and just reports what it finds.
  • Repair makes a temporary copy that keeps the existing signature. It doesn’t need your signing key and works for cases 1 and 2.
  • ConvertToUtf8Bom makes a UTF-8-with-BOM copy and strips the old signature, so you review the text and sign it again yourself.

Microsoft’s recommended path is to convert and re-sign. Treat a repaired copy as a stopgap, and deploy it only if it reports SignatureStatus : Valid after review and testing.

.\Repair-SignedPowerShellUtf8.ps1 -Mode Scan -Path C:\Scripts -Recurse
.\Repair-SignedPowerShellUtf8.ps1 -Mode Repair -Path C:\Scripts\Deploy.ps1
.\Repair-SignedPowerShellUtf8.ps1 -Mode ConvertToUtf8Bom -Path C:\Scripts\Deploy.ps1

For case 3 files, add -SourceCodePage with the original code page, such as 932 for Shift-JIS. Those commands come straight from Microsoft’s guidance.

What if you don’t own the script, or you’re hoping for a patch?

If a vendor signed the script and you don’t hold the certificate, Repair mode may still work, since it doesn’t need the signing key. If it fails, Microsoft says to ask the publisher for a corrected, signed copy. Repair can’t restore missing text or fix script logic.

I wouldn’t plan around a rollback. Microsoft describes the change as deliberate and gives no later phase. It’s also skipping the December preview update, as we covered earlier, so there’s no optional build to wait on this month either. If you’re tracking what else landed in recent builds, our KB5132057 rundown on the new search and Run dialog covers a separate change.

Frequently Asked Questions

Does adding a BOM fix signed PowerShell scripts that stopped working?

Not by itself. Microsoft says a BOM doesn’t correct invalid bytes. Convert the file, review the text, then sign it again.

Do I need my code-signing certificate to repair a script?

Not for Repair mode, which keeps the existing signature and doesn’t need the key. Converting to UTF-8 with a BOM does remove the old signature, so you’ll need your certificate to sign the new copy.

Is this the same as the “hash of the file does not match” error?

No. Microsoft’s separate troubleshooting article ties that error to running a signed script with special characters on a PC with a different system locale. Its fixes are removing those characters or saving the script as UTF-16 LE with a BOM.

Can I just uninstall the update?

Microsoft’s guidance doesn’t list that as a workaround. Removing it would also take out that month’s security fixes, which is a bad trade for a problem you can fix file by file.

Should you re-sign everything? Our verdict

Scan your whole script library this week, then re-sign anything flagged as UTF-8 with a BOM rather than leaning on temporary repairs. A repaired copy keeps your pipeline alive today, but it’s one more artifact to forget about later. Scripts with non-English comments or text are the likeliest suspects, going by Microsoft’s examples, so start there.