Habitat OS Upgrade Script Failing - Setup.exe Not Available

Support forums for the Habitat Automate plugin
Post Reply
jeffdoggendorf
Posts: 16
Joined: Mon Jun 01, 2020 5:27 pm
3

Habitat OS Upgrade Script Failing - Setup.exe Not Available

Post by jeffdoggendorf »

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
Directory.png
Directory.png (43.92 KiB) Viewed 2229 times
Habitat_Logs.docx
(15.52 KiB) Downloaded 200 times

jeffdoggendorf
Posts: 16
Joined: Mon Jun 01, 2020 5:27 pm
3

Re: Habitat OS Upgrade Script Failing - Setup.exe Not Available

Post by jeffdoggendorf »

In reviewing the logs of the script I am not sure how this would work to update from Windows 7 to 10 as the powershell commands it references to mount the diskImage are not supported by Windows 7.

User avatar
Cubert
Posts: 2430
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: Habitat OS Upgrade Script Failing - Setup.exe Not Available

Post by Cubert »

Well there's your issue.

This was designed to upgrade Windows 10 from one version to another. Was not intended for out of OS updates.

Post Reply

Return to “Habitat”