Windows PRO Upgrade product keys and automated installation

Hi Guys,
I have 28 Microsoft product keys.
The product keys are good to upgrade from Windows 8.1 Home to Windows 8.1 Professional.

For each of the 28 computers I need to:
1. Upgrade it from Windows 8.1 Home to Windows 8.1 Professional using one of the product keys.
2. Upgrade to Windows 10 Professional for free using the software provided by Microsoft.
3. Do a system restore so that all the trash accumulated by the user is removed and we end up with a "brand new"  Windows 10 Pro installation.

I have done this manually and it is Ok, I mean it works.

Is there a way to automate this process, like creating an image of a PC?

I have been thinking about this but the fact that each PC needs a different Product Key to upgrade from Windows 8.1 Home to Windows 8.1 Professional keeps getting in the way of any automation options I have come up with.

Thanks in advance.
Any idea you have will be appreciated.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Cliff GaliherCommented:
There is no good way to automate this. Only 8.1 VL will install without a key and you can't effectively automate handing out a unique key to each machine with tools like MDT.

This is where volume licensing really pays off. One key (mak, KMS, etc), customizable media, and automation options. Microsoft just didn't design retail keys for large deployments.
☠ MASQ ☠Commented:
No imaging isn't an option for you because these are individually licensed machines you need to upgrade them individually, you might be able to skip the Windows Updates stage though.  Try running the Windows 10 setup immediately after restarting from the 8.1 key change.
Gary CaseRetiredCommented:
Not certain, but I'm pretty sure Masq is correct that you can skip all the upgrades after you've done the 8.1 upgrade.

You can also, when you're doing the upgrade to 10, select the "keep nothing" option and it will do a clean install of '10.     Of course if you're going to do this, be sure you've backed up all of the user's data and that you have the appropriate installation media for any added programs they use.
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

There's always a way.

These pro keys, are they sold as "Windows 8.1 Pro pack" or are they the keys of a full win8.1 pro?
If "pro pack" - I don't know, if "full", then you can script an upgrade installation by simply using the extracted ISO of win8.1 pro and using parameters for setup.exe like
\\server\share\setup.exe /auto:upgrade
described here
The product keys would need to be written for each machine to a single file
\\server\share\keys\%computername%.txt (in a PID.txt form as described here ) and then be copied over to the setup folder. (If you are still following: the real deal would be a batch install81pro.bat that goes
copy \\server\share\keys\%computername%.txt \\server\share\PID.txt /y && \\server\share\setup.exe /auto:upgrade

Open in new window

That's that, you are on 8.1 now. Using a startup script domain wide would do. Activation afterwards is needed, can be done using
slmgr.vbs /ato

Open in new window

To upgrade to 10: almost the same. Extract the ISO to another share \\server\share10 and go
\\server\share10\setup.exe /auto clean

Open in new window

That's all. You have upgraded to 10 fully automated and it's clean.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cargexAuthor Commented:
It's a Windows 8.1 Pro pack
cargexAuthor Commented:
Mr. McKnife,
I think I could make the following work given the information you have provided.

1. Upgrade the computers using the product keys. (The upgrade process doesn't really take too long and there are only 28 computers).

2. Add the upgraded computers to the domain and put them in a different OU

3. Use GPO to execute the Windows 10 Pro Upgrade using the command you are providing
\\server\share10\setup.exe /auto clean

cargexAuthor Commented:
Thank you Guys.
You comments have been really helpful as usual.
Have a nice weekend.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 8

From novice to tech pro — start learning today.