Please reach out or leave comments below if you see necessary improvements. Note: I am not a scripting expert, but I was able to piece the following together. The ESU license is activated - Great! Now how do we automate this process for the rest of our machines? Lets create a quick batch script that we can then push out via a RMM solution and/or GPO logon scripts. Let’s run the command again, but leverage cscript so we can copy the Activation ID value from the console.Ĭscript "c:\windows\system32\slmgr.vbs" /dlvĤ) With the Activation ID copied, let’s move forward with the activation.ĥ) Once you have activated the ESU product key, you can verify the status at any time by running the following command and referencing the License Status value. Run the following command:ģb) While the command above will present the Activation ID to us, it’s not easy to copy.
One the prerequisites are installed, you can follow these steps to activate Extended Security Updates (ESU) for machines that are connected to the internet.ġ) First, locate and Copy the ESU Key to your clipboard.Ģa) Open an Elevated Command Prompt window and run the following command.Īfter a few moments, you should get a message confirming that the product key was installed.Ģb) If you are unable to interact with the desktop GUI, you can leverage the cscript command to write the output to the console.Ĭscript "c:\windows\system32\slmgr.vbs" /ipk ģa) Now that the key is on the system, we need to locate its Activation ID so we can activate the key in a future step.
I’m making the assumption that you have already gone through the procedure to purchase the Windows 7 ESU key and have access to it. This post intends to serve as a guide on activating a purchase ESU license key on a Windows 7 box.