r/pdq•
Scaraban

Windows 10 ESU Key Deployment Script

Package Sharing

If you happen to be an organization with an amount of Windows 10 machines that cannot move to 11 and need ESU keys applied. I threw together the following script that seems to run fine as a deployment. It seemed to work fine without defining an Activation ID, but the official documentation says to include it.

cscript.exe "%Systemroot%\system32\slmgr.vbs" /ipk <ESU MAK>
 
cscript.exe "%Systemroot%\system32\slmgr.vbs" /ato <Activation ID>

cscript.exe "%Systemroot%\system32\slmgr.vbs" /dlv    

It's the first thing I tried and it worked so development has stopped.

Posted Oct 1, 2025, 3:20 PM UTC

92

Comments aren't archived yet

This post had 2 comments on Reddit. Comments for this period haven't been loaded into the archive yet.