Microsoft's November Windows 11 update tightens PowerShell security checks, non-compliant scripts will fail
IT Home, November 12: The tech media outlet NeoWin published a blog post today (November 12) reporting that in the cumulative update released for Windows 11 on this month's Patch Tuesday, Microsoft tightened security checks, which may cause some older PowerShell scripts to stop working properly.
The report points out that after installing the November cumulative update, Windows 11 introduces stricter text encoding checks for the signing and verification of PowerShell scripts, especially files containing incorrect UTF-8 encoding. Previous versions of Windows 11 could accept these non-compliant PowerShell scripts when decoding them by replacing invalid characters.

The new rules explicitly reject such encoding, so even old scripts that have already been signed may be identified as "unsigned," and attempts to re-sign them may likewise produce errors.


Microsoft's recommended fix is to save the affected scripts as valid UTF-8 encoding with a byte order mark (BOM), check the contents, and then re-sign them. For users who need to process files in bulk, Microsoft also provides a repair tool that can scan for potential encoding problems and attempt to repair files while preserving existing signatures, without overwriting the original files.
This change is not limited to Windows 11; Microsoft's guidance also covers Windows 10 Enterprise LTSC 2021 and some server versions, including Windows Server 2025.
- Encoding guidelines for signed PowerShell scripts
- Sample PowerShell script for fixing script signature encoding issues
Advertising statement: External redirect links contained in this article (including but not limited to hyperlinks, QR codes, passwords, and other forms) are used to convey more information and save selection time; the results are for reference only. All articles on IT Home that contain external links include this statement.
Related articles
- Some Windows 11 users report errors installing Microsoft's November cumulative update, with the fault pointing to the sandbox feature
- Up 1860.32% year over year: Microsoft fixed 1,235 vulnerabilities in November, setting a record for the number of fixes in the same month across previous years
- May affect performance in some games: Microsoft's November Windows 11 cumulative update expands automatic enabling of "Memory integrity"
- Microsoft releases November cumulative update for Windows 11: updates the autoplay dialog and fixes the "Code 10" error for some USB audio devices
- Microsoft upgrades Windows 11 backup/restore: "Restore summary" makes migrating to a new PC more transparent
- Microsoft accelerates the modernization of Windows 11, and dialogs such as "Services" will bid farewell to their outdated interfaces