
Using the commands from my script, it does properly capture the key as a variable, it uses the variable to enter the key into the "slmgr.vbs /ipk" command before prompting the error. "E rror: 0xc004e016 on a computer running microsoft windows non-core edition run slui.exe 0x2a 0xc004e016 to display the error text." Or when I manually run the script, it results in a pop-up displaying: The script worked in testing on several machines, but has since stopped working, even though we're using the same image with the same script as we did when testing, and even when reimaging machines where the script previously worked. I've written a script to pull the Windows 10 Pro key from the motherboard, as we're contracted to use the keys provided with the machine, and added that script to the C:\Windows\Setup\Scripts\įolder to run at the completion of the Windows install. Windows 10 install to work was to use a generic KMS key for the unattend file. The only way I was able to get an unattended

Image that already has our universal software then, if necessary, install a couple of individual specific software packages, as opposed to manually installing all the individual applications that each user needs.

I created a custom unattended install of Windows 10 Pro, as it's faster to reimage devices with a custom I'm a system admin, I have nearly 300 devices that I'm responsible for, nearly all of the user devices are Windows 10 Pro.
