Habitat OS Upgrade Script Failing - Setup.exe Not Available
Posted: Tue Dec 01, 2020 11:09 pm
I am running into issues with the Windows Upgrade Assistant. The ISO downloads to the proper directory with no problem. In checking the script logs, it looks like it is failing each time on trying to mount\unpack the ISO. I have tried different ISO files as well as upgraded the version of powershell on the PCs but this did not resolve the issue.
Snippet of the failure is listed below, full log files attached:
242 F139 Note (P1): Unpack ISO to Patch Remedy Upgrade directory T: 270.2541163
L243 F16 Shell (P1): 'robocopy Mount-DiskImage : The term 'Mount-DiskImage' is not recognized as the name of :\...' T: 270.2541163
L244 F29 Message (P1): 'ROBOCOPY Returned -> [ -------------------------------------------------------------------...' T: 281.1585406
L245 F139 Note (P1): Unmount Windows 10 ISO T: 281.1596462
L246 F235 T: 281.1596462
L247 F29 Message (P1): 'Dismount Drive Returned -> [ -------------------------------------------------------------...' T: 289.3293795
L248 F129 Jump (P1): :LETSCHECKFORSETUPFILE T: 289.3293795
L274 F139 Note (P1): :LETSCHECKFORSETUPFILE T: 289.3293795
L275 F114 File (P1): '%ltsvcdir%\Habitat\windows10UG...' Check (P2): 1 Jump (P3): :WINDOWS10UGSETUPFILE T: 289.3293795
L311 F139 Note (P1): :WINDOWS10UGSETUPFILE T: 307.4023061
L312 F235 T: 307.4023061
L313 F67 Sql (P1): 'INSERT IGNORE INTO plugin_p4a_habitat_win10upgrades_agents (`ComputerID`,`AttemptLog`) Val...' T: 321.4935421
L314 F29 Message (P1): 'Stopping Script. The Setup.exe file was not available for execution. The downloads or netw...' T: 321.4935421
L315 F215 T: 321.4935421
Snippet of the failure is listed below, full log files attached:
242 F139 Note (P1): Unpack ISO to Patch Remedy Upgrade directory T: 270.2541163
L243 F16 Shell (P1): 'robocopy Mount-DiskImage : The term 'Mount-DiskImage' is not recognized as the name of :\...' T: 270.2541163
L244 F29 Message (P1): 'ROBOCOPY Returned -> [ -------------------------------------------------------------------...' T: 281.1585406
L245 F139 Note (P1): Unmount Windows 10 ISO T: 281.1596462
L246 F235 T: 281.1596462
L247 F29 Message (P1): 'Dismount Drive Returned -> [ -------------------------------------------------------------...' T: 289.3293795
L248 F129 Jump (P1): :LETSCHECKFORSETUPFILE T: 289.3293795
L274 F139 Note (P1): :LETSCHECKFORSETUPFILE T: 289.3293795
L275 F114 File (P1): '%ltsvcdir%\Habitat\windows10UG...' Check (P2): 1 Jump (P3): :WINDOWS10UGSETUPFILE T: 289.3293795
L311 F139 Note (P1): :WINDOWS10UGSETUPFILE T: 307.4023061
L312 F235 T: 307.4023061
L313 F67 Sql (P1): 'INSERT IGNORE INTO plugin_p4a_habitat_win10upgrades_agents (`ComputerID`,`AttemptLog`) Val...' T: 321.4935421
L314 F29 Message (P1): 'Stopping Script. The Setup.exe file was not available for execution. The downloads or netw...' T: 321.4935421
L315 F215 T: 321.4935421