Habitat PoSh Maintenance Script Failing

Support forums for the Habitat Automate plugin
Post Reply
twscottiii
Posts: 2
Joined: Sun Mar 13, 2022 4:02 pm
2

Habitat PoSh Maintenance Script Failing

Post by twscottiii »

New Habitat Users...The "Habitat PoSh Maintenance" Script is failing on every workstation every day. The script logging looks to indicate that the download url in the script is incorrect. I get an IIS error when I try to access that URL..does anyone know what this should be?


he Script(6128) failed in the Else section at step 170. The reason: ERR Could not Download file https://download.microsoft.com/download ... OS-ENU.exe

Script: S6128 - Starting at Server Time: Wednesday, March 23, 2022 12:08:26 AM
Script step logging has been disabled. Please set @ScriptEngineEnableLogger@ = True in your script to enable function logging.

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

Re: Habitat PoSh Maintenance Script Failing

Post by Cubert »

Looks like the link to the installer is no longer valid. This is a microsoft link so not sure why they would take it down but they did.

So to fix You will need to edit the POSH maintenance script at line 170 and replace that URL with

Code: Select all

https://go.microsoft.com/fwlink/?LinkId=780600
This will capture the same 4.6.2 version of dot.net



Screenshot 2022-03-25 085831.jpg

We will update the script in our code so it will be available in next build.

Post Reply

Return to “Habitat”