Having an issue using Custom Deployments to upgrade Win7 to Win10
I followed this article; https://www.itninja.com/blog/view/upgrading-to-windows-10 to setup Custom Deployment tasks in attempt to do an in-place upgrade of Windows 10. As you can see in the attached images, all tasks up to [Upgrade] Set Engine Run Key are completed. Upon the first reboot, I am presented with the following error below. Once I click on OK, it continues with the remaining tasks and completes them, reboots one final time, but Windows 7 does not upgrade to Windows 10. I have searched for this error, but have not had any luck. The environment that I am working in is on a fresh installation of Windows 7 Pro with latest updates, a newly created VM. Any insight on the issue below would be greatly appreciated. I have a project to upgrade all of our users to Windows 10 - 300+ users. :/
Answer Chosen by the Author
First of all, you should try the command locally on a test machine just to confirm that it works.
You can sometimes receive that error if you have not specified the version of Windows 10 you are upgrading to (Pro,Ent,Edu). The new ISO's have Pro,Ent,Edu built-in and you need to specify a Product key to upgrade.
This is my command line with Windows 10 Pro KMS Key
%systemdrive%\win10\setup.exe /auto upgrade /pkey W269N-WFGWX-YVC9B-4J6C9-T83GX /installfrom %systemdrive%\win10\sources\install.wim /postoobe %systemdrive%\KACE\setupcomplete.cmd /noreboot /dynamicupdate disable
(Just make sure the KMS or Real key is correct)
Also, please have a look at https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/windows-setup-command-line-options
Works for me, hope it works for you!