Jump to content

Recommended Posts

Posted

Hi Guys

 

Had some new laptops and as standard we have a script that installs/enables .NET 3.5 on the computers that have the Surpass Exam software, but recently this script isnt working. It fails and you cant even install .net 3.5 from the control panel it fails also. Nothing ive tried will install .net3.5. Forums have said they have had to rebuild the PC and install it straight away to get it on there before anything else.

 

DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:\\{PATH to cab}

 

Ive disabled WSUS and bypassed in GPO to use the internet for Optional Components

Used latest versions of the CAB file from 10 22H2 even download the FOD ISO and tried the one on there, even the 11 23H2 version.

Tried .Net Repair tool

Tried resetting Windows Update with script

Tried adding the feature before enabling using Enable-Feature

Tried via Powershell: Add-WindowsPackage -Online -PackagePath "\PATH\microsoft-windows-netfx3-ondemand-package~31bf3856ad364e35~amd64~~.cab"

Ran SFC

RAN DISM Health checks and DISM /Online /Cleanup-Image /StartComponentCleanup

 

All I get is error 0x8000FFFF catastrophic failure.

 

It really doesnt want to install at all. Has anyone had this problem recently as older computers took the .net feature enable script ok and installs and is working with Surpass.

 

Cheers

 

S

Posted

DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:"\\server\share\net35\sources\sxs"

 

That's my script, looks the same. Source okay? Worth downloading a new copy?

Posted (edited)

Hi

 

I think ive sorted it! Sods law after posting here. LOL. But posting what ive done to fix it, to help others.

 

Even though it says its not installed, traces must have been left, so run this first:

 

DISM /Online /disable-Feature /FeatureName:NetFx3

 

Then run the enable script:

 

DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:"\\server\share\net35\sources\sxs"

 

This seemed to fix it. I did run this previous, but not sure its required:

 

DISM /Online /Cleanup-Image /StartComponentCleanup

 

Let me know how you get on!

 

Cheers

 

S

Edited by Scorpio
  • Thanks 2

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...