Last active
April 11, 2024 19:11
-
-
Save Nevor/ed3719dad0cf66893e42a9ba024c9174 to your computer and use it in GitHub Desktop.
BSOD without elevation from Powershell on Windows 10 Creator Update (Update: Problem is BACK on Windows 11 after KB5034848)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# From https://stackoverflow.com/questions/43583651/windows-10-creators-updates-breaks-winforms-apps-bsod | |
# (This can be copy pasted into Powershell) | |
[System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms") | |
$form = new-object System.Windows.Forms.Form | |
$lastPanel = $form | |
for($i = 0; $i -lt 45; $i++) { | |
$newPanel = new-object System.Windows.Forms.Panel | |
$newPanel.Dock = [System.Windows.Forms.DockStyle]::Fill | |
$lastPanel.Controls.Add($newPanel) | |
$lastPanel = $newPanel | |
} | |
$form.ShowDialog() | |
# Then move the mouse on the window |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The PowerShell script does crash our Windows 11 AMD machines.
Correction: Intel machines also crash.