Hi Guys
I have been rolling out Windows 10 Enterprise 1709 in my organization using SCCM In-Place upgrade Task Sequence. I have successfully upgraded over 200 computers various models and OS, we only use Dell computers though.
I came across one single model from DELL which is Optiplex 7040 that fails during the upgrade with error 0xC1900204. I know that in most cases this error refers to compatibility issues, however I have eliminated that it would be any compatibility issue by running the actual setup.exe on one of the computers to see exactly what was failing. It was the Intel graphics driver which easily fixable issue once you tick the box of "ignore any dismissable compatibility messages". However on one of the computers I have uninstalled this driver and it still failed with the same exact error.
I have examined the logs and it's clear it's something to do with Windows licensing and I am not sure if it's possible to bypass this or not.
Here is snippet of the setupact.log
2018-09-30 19:49:34, Info MOUPG MoSetupPlatform: Persisting telemetry data 2018-09-30 19:49:34, Info MOUPG ProductKey: Product key found in Host OS. 2018-09-30 19:49:34, Info MOUPG ProductKey: Populating Image info set. 2018-09-30 19:49:35, Info MOUPG Action progress: [0%] 2018-09-30 19:49:35, Info MOUPG Setup SubPhase: [5] 2018-09-30 19:49:53, Info SPValidateProductKey: Calling PidGenX 2018-09-30 19:49:54, Error CallPidGenX: PidGenX function failed on this product key. (hr = 0x8a010101) 2018-09-30 19:49:54, Warning SPValidateProductKey: Failed to call PidGenX to validate product key 2018-09-30 19:49:54, Error MOUPG CDlpActionProductKeyValidate::ReportDownlevelInstallChannel(2975): Result = 0x8A010101 2018-09-30 19:49:54, Error MOUPG ProductKey: Failed to report Host OS channel to telemetry. 2018-09-30 19:49:54, Info MOUPG ProductKey: Calling GatherOSState to generate GenuineTicket.xml 2018-09-30 19:50:04, Info MOUPG ProductKey: GatherOsState Process returned : [0x0] 2018-09-30 19:50:04, Info MOUPG ProductKey: Is Machine Active : [TRUE] 2018-09-30 19:50:04, Info MOUPG ProductKey: Genuine ticket generated : [TRUE] 2018-09-30 19:50:04, Info MOUPG ProductKey: Offer Default. 2018-09-30 19:50:04, Info MOUPG ProductKey: Offer = [TRUE]. 2018-09-30 19:50:04, Info MOUPG GetProductKeyFromResponse: Attempting to get a product key from the response layer. 2018-09-30 19:50:04, Info MOUPG GetProductKeyFromResponse: Using automation response. 2018-09-30 19:50:04, Info MOUPG GetProductKeyFromResponse: Automation response not found. 2018-09-30 19:50:04, Info MOUPG ProductKey: Looking for product key in Pid.txt file. 2018-09-30 19:50:04, Info MOUPG ProductKey: Pid.txt file not found. 2018-09-30 19:50:04, Info MOUPG ProductKey: Looking for product key in Host OS. 2018-09-30 19:50:04, Info MOUPG ProductKey: Product key found in Host OS. 2018-09-30 19:50:04, Info MOUPG ProductKey: Validating Product Key for Image. 2018-09-30 19:50:04, Info SPValidateProductKey: Calling PidGenX 2018-09-30 19:50:05, Error CallPidGenX: PidGenX function failed on this product key. (hr = 0x8a010101) 2018-09-30 19:50:05, Warning SPValidateProductKey: Failed to call PidGenX to validate product key 2018-09-30 19:50:05, Info MOUPG ProductKey: Product key is invalid. 2018-09-30 19:50:05, Info MOUPG ProductKey: Looking for product key in Digital Marker. 2018-09-30 19:50:05, Info MOUPG ProductKey: Product key found in Digital Marker. 2018-09-30 19:50:05, Info MOUPG ProductKey: Validating Product Key for Image. 2018-09-30 19:50:06, Info SPValidateProductKey: Calling PidGenX 2018-09-30 19:50:06, Info MOUPG ProductKey: Product key using pkey edition = [Professional]. 2018-09-30 19:50:06, Info MOUPG ProductKey: Matching Install Wim For Exact Editions 2018-09-30 19:50:06, Info MOUPG ProductKey: Matching Install Wim. 2018-09-30 19:50:06, Info MOUPG ProductKey: Matching Install Wim: Found [1] matching images. 2018-09-30 19:50:06, Info MOUPG ProductKey: Extracting Eula 2018-09-30 19:50:06, Info MOUPG ProductKey: Product key was successfully validated. 2018-09-30 19:50:06, Info MOUPG ProductKey: Product EditionID = Professional 2018-09-30 19:50:06, Info MOUPG ProductKey: Product InstallChannel = OEM 2018-09-30 19:50:06, Info MOUPG ProductKey: Eula = C:\$WINDOWS.~BT\Sources\Panther\_s_888D.tmp 2018-09-30 19:50:06, Info MOUPG ProductKey: Valid product key found = [TRUE]. 2018-09-30 19:50:06, Info MOUPG ProductKey: SelectImageIndex: Only one image found. Selecting default. 2018-09-30 19:50:06, Info MOUPG MoSetupPlatform: Releasing Setup Platform object...
This is the last part of the setupact.log
2018-09-30 19:50:11, Info DIAGER Watson Error Report submitted and Result=2 2018-09-30 19:50:11, Info DIAGER DiagERTerminate:Entry 2018-09-30 19:50:11, Info DIAGER CWfpER::~CWfpER:Entry 2018-09-30 19:50:11, Info DIAGER Consent Value = HKCU\Software\Microsoft\Windows\Windows Error Reporting\Consent!WinSetupDiag02 has been cleaned out 2018-09-30 19:50:11, Info DIAGER IDiagER::~IDiagER:Entry 2018-09-30 19:50:11, Info Key CollectTrace is not available. 2018-09-30 19:50:12, Info Copy telemetry file: source folder: C:\$WINDOWS.~BT\Sources\Panther, destination folder: C:\ProgramData\Microsoft\Diagnosis\ETLLogs 2018-09-30 19:50:12, Info Copy etl files: source: C:\$WINDOWS.~BT\Sources\Panther\DlTel-Merge.etl, destination: C:\ProgramData\Microsoft\Diagnosis\ETLLogs\DlTel-Merge.etl 2018-09-30 19:50:12, Info pCopyTelemetryFile: Wrote CV qibLlh8NuUyMGYjr.7 to ETL C:\ProgramData\Microsoft\Diagnosis\ETLLogs\DlTel-Merge.etl:$ETLUNIQUECVDATA 2018-09-30 19:50:12, Info Diagtrack service is running 2018-09-30 19:50:12, Warning Failed to flush queues: 0x800706d9 2018-09-30 19:50:12, Warning Either AlwaysRestartDiagTrack was specified, or ForceUpload failed with error code=0x800706d9, restarting the diagtrack service to upload the etl 2018-09-30 19:50:12, Info Restart Diagtrack service successfully 2018-09-30 19:50:12, Info SP Closing Panther Logging 2018-09-30 19:50:12, Info MOUPG MoSetupPlatform: Setup Platform object released! 2018-09-30 19:50:12, Info MOUPG Finalize: Leaving Execute Method 2018-09-30 19:50:12, Warning MOUPG CSetupDiagnostics::ReportData - Not reporting WINDLP data point [0x2004] 2018-09-30 19:50:12, Warning MOUPG CSetupDiagnostics::ReportData - Not reporting WINDLP data point [0x2003] 2018-09-30 19:50:12, Warning MOUPG CSetupDiagnostics::ReportData - Not reporting WINDLP data point [0x2001] 2018-09-30 19:50:12, Info MOUPG ProgressHandlerAction: Sending final progress message for action [0]. 2018-09-30 19:50:12, Info MOUPG ProgressHandlerAction FinalUpdate: 0x0, 0x0 / 0x0, 0x0 2018-09-30 19:50:12, Info MOUPG ProgressHandlerAction: Sending final progress message for action [0]. 2018-09-30 19:50:12, Info MOUPG ProgressHandlerAction FinalUpdate: 0x0, 0x0 / 0x0, 0x0 2018-09-30 19:50:12, Info MOUPG Waiting for actions thread to exit. 2018-09-30 19:50:12, Info MOUPG Actions thread has exited. 2018-09-30 19:50:12, Warning MOUPG CSetupDiagnostics::ReportData - Not reporting WINDLP data point [0x2004] 2018-09-30 19:50:12, Warning MOUPG CSetupDiagnostics::ReportData - Not reporting WINDLP data point [0x2000] 2018-09-30 19:50:12, Warning MOUPG CSetupDiagnostics::ReportData - Not reporting WINDLP data point [0x3000] 2018-09-30 19:50:12, Info MOUPG DlpTask: Leaving Execute Method 2018-09-30 19:50:12, Info MOUPG SetupNotify::Leaving well-known error [0xC1900204] as-is for WU/Store 2018-09-30 19:50:12, Info MOUPG Requesting full cleanup. 2018-09-30 19:50:12, Info MOUPG SetupNotify: Specifying extended data [0x4000A] for error [0xC1900204]. 2018-09-30 19:50:12, Info MOUPG SetupHost: Reporting error event -> [0xC1900204, 0x4000A] 2018-09-30 19:50:12, Warning MOUPG SetupNotify::ReportEvent - Report ID or Event Reporter not available. 2018-09-30 19:50:12, Info MOUPG SetupManager: FailureCount = [8] 2018-09-30 19:50:12, Info MOUPG SetupManager: Requesting cleanup level [0x1] from parent process. 2018-09-30 19:50:12, Info MOUPG SetupManager: Resetting WinDlp state for full cleanup... 2018-09-30 19:50:13, Error MOUPG CDlpTask::Cancel(979): Result = 0xC1800104 2018-09-30 19:50:13, Error MOUPG CDlpTask::Cancel(983): Result = 0xC180010A 2018-09-30 19:50:13, Error MOUPG CDlpTask::Cancel(979): Result = 0xC1800104 2018-09-30 19:50:13, Info CONX Uninitializing compatibility provider wsc:setup:... 2018-09-30 19:50:13, Info CONX Uninitializing compatibility provider wsc:wica:... 2018-09-30 19:50:13, Error MOUPG CSetupManager::Execute(237): Result = 0xC1900204 2018-09-30 19:50:13, Error MOUPG CSetupHost::Execute(375): Result = 0xC1900204 2018-09-30 19:50:13, Info MOUPG SetupUI: Calling PowerClearRequest with type [0x1]... 2018-09-30 19:50:13, Info MOUPG SetupUI: Power request cleared! 2018-09-30 19:50:13, Info MOUPG **************** SetupHost Logging End ****************
This is the smsts.log
Command line of Windows Setup upgrade: '"C:\_SMSTaskSequence\Packages\sitecode001BE\SETUP.EXE" /ImageIndex 3 /auto Upgrade /quiet /noreboot /postoobe "C:\WINDOWS\SMSTSPostUpgrade\SetupComplete.cmd" /postrollback "C:\WINDOWS\SMSTSPostUpgrade\SetupRollback.cmd" /installdrivers "C:\_SMSTaskSequence\Drivers" /DynamicUpdate Disable /compat IgnoreWarning ' OSDUpgradeWindows 30/09/2018 7:48:02 PM 1528 (0x05F8) Command line for extension .EXE is "%1" %* OSDUpgradeWindows 30/09/2018 7:48:02 PM 1528 (0x05F8) Set command line: "C:\_SMSTaskSequence\Packages\sitecode001BE\SETUP.EXE" /ImageIndex 3 /auto Upgrade /quiet /noreboot /postoobe "C:\WINDOWS\SMSTSPostUpgrade\SetupComplete.cmd" /postrollback "C:\WINDOWS\SMSTSPostUpgrade\SetupRollback.cmd" /installdrivers "C:\_SMSTaskSequence\Drivers" /DynamicUpdate Disable /compat IgnoreWarning OSDUpgradeWindows 30/09/2018 7:48:02 PM 1528 (0x05F8) Executing command line: "C:\_SMSTaskSequence\Packages\sitecode001BE\SETUP.EXE" /ImageIndex 3 /auto Upgrade /quiet /noreboot /postoobe "C:\WINDOWS\SMSTSPostUpgrade\SetupComplete.cmd" /postrollback "C:\WINDOWS\SMSTSPostUpgrade\SetupRollback.cmd" /installdrivers "C:\_SMSTaskSequence\Drivers" /DynamicUpdate Disable /compat IgnoreWarning OSDUpgradeWindows 30/09/2018 7:48:02 PM 1528 (0x05F8) Process completed with exit code 3247440388 OSDUpgradeWindows 30/09/2018 7:50:17 PM 1528 (0x05F8) Windows Setup completed with exit code hexadecimal 0xC1900204 (decimal 3247440388) OSDUpgradeWindows 30/09/2018 7:50:17 PM 1528 (0x05F8) Saving exit code of Windows upgrade - hexadecimal 0xC1900204 (decimal 3247440388) - to Task sequence environment variable '_SMSTSOSUpgradeActionReturnCode', as decimal string OSDUpgradeWindows 30/09/2018 7:50:17 PM 1528 (0x05F8) Windows Setup failed with hexadecimal exit code 0xC1900204 (decimal 3247440388). To identify the type of issue, lookup it against the table of known values of Windows Setup errors online. OSDUpgradeWindows 30/09/2018 7:50:17 PM 1528 (0x05F8) Failing this task sequence step OSDUpgradeWindows 30/09/2018 7:50:17 PM 1528 (0x05F8) Enabling TSManager service OSDUpgradeWindows 30/09/2018 7:50:17 PM 1528 (0x05F8) smstsmgr service startup type is set to automatic OSDUpgradeWindows 30/09/2018 7:50:17 PM 1528 (0x05F8) Enabling CCMExec service OSDUpgradeWindows 30/09/2018 7:50:17 PM 1528 (0x05F8) CcmExec service startup type is set to automatic OSDUpgradeWindows 30/09/2018 7:50:17 PM 1528 (0x05F8) Setting the client out of provisioning mode OSDUpgradeWindows 30/09/2018 7:50:17 PM 1528 (0x05F8) Exiting SetClientProvisioningMode 0x00000000 OSDUpgradeWindows 30/09/2018 7:50:25 PM 1528 (0x05F8) upgrade.Run(), HRESULT=80004005 (upgradewindows.cpp,1445) OSDUpgradeWindows 30/09/2018 7:50:25 PM 1528 (0x05F8) Exiting with code 0x80004005 OSDUpgradeWindows 30/09/2018 7:50:25 PM 1528 (0x05F8) Process completed with exit code 2147500037 TSManager 30/09/2018 7:50:25 PM 5084 (0x13DC) !--------------------------------------------------------------------------------------------! TSManager 30/09/2018 7:50:25 PM 5084 (0x13DC) Failed to run the action: Upgrade Operating System. Unspecified error (Error: 80004005; Source: Windows) TSManager 30/09/2018 7:50:25 PM 5084 (0x13DC) Set authenticator in transport TSManager 30/09/2018 7:50:25 PM 5084 (0x13DC) Set a global environment variable _SMSTSLastActionRetCode=-2147467259 TSManager 30/09/2018 7:50:26 PM 5084 (0x13DC) Set a global environment variable _SMSTSLastActionSucceeded=false TSManager 30/09/2018 7:50:26 PM 5084 (0x13DC) Clear local default environment TSManager 30/09/2018 7:50:26 PM 5084 (0x13DC) Let the parent group (Upgrade the Operating System) decides whether to continue execution TSManager 30/09/2018 7:50:26 PM 5084 (0x13DC) Let the parent group (Pre-Upgrade Check) decide whether to continue execution TSManager 30/09/2018 7:50:26 PM 5084 (0x13DC) The execution of the group (Pre-Upgrade Check) has failed and the execution has been aborted. An action failed. Operation aborted (Error: 80004004; Source: Windows) TSManager 30/09/2018 7:50:26 PM 5084 (0x13DC) Failed to run the last action: Upgrade Operating System. Execution of task sequence failed. Unspecified error (Error: 80004005; Source: Windows) TSManager 30/09/2018 7:50:26 PM 5084 (0x13DC) Set authenticator in transport TSManager 30/09/2018 7:50:26 PM 5084 (0x13DC)
- Searching allover the internet and some posts were talking about using the KMS key from "Microsoft Appendix A: KMS Client Setup Keys". I have tried that in the Product key field in the TS but no luck.
- I have tried to use the TS variable which is called "OSDSetupAdditionalUpgradeOptions" and specified the /pkey, also no luck.
- I have confirmed that the Windows 7 machine can communicate with KMS server and the license is installed and not expired, I have also tried to reinstall it using "slmgr /rearm and slmgr /ato", still no luck.
- I have made sure that the Locale language is matching the .wim image.
I have ran out of idea and I don't want to rebuild these computers, I'd really appreciate your help
Thanks
Mahmoud