Disable/Remove NET Framework 4.8 from Server 2022?

stevenkan

Ars Legatus Legionis
16,327
TL;DR I can't uncheck NET Framework 4.8 from Server 2022:

1737596108946.png


I'm troubleshooting a problem with an ERP system that we're trying to deploy. The server software runs atop SQL Server and uses AD, so I've got SQL Server 2022 freshly installed on a freshly installed Server 2022.

With vendor handholding me, we got server software installed on the server VM, then installed the client software on the same VM, where it ran correctly.

Then I installed the client software on a Win10 PC, and it ran correctly.

Then we installed the vendor's latest service pack on the server software, updated the client software on the server, and then updated the client software on the client PC.

Now we can no longer run the client installer, because the client installer barfs with an Event 1026, .NET Runtime:

Code:
Application: INTUIT~1.EXE
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
   at IntuitiveUI_ClientUtility.Program.Main(System.String[])

This occurred trying to run the client installer on the server VM, on the client PC that we installed originally (though the existing installed client still runs properly!), nor on 2 other client PCs that we attempted to run the installer on.

After trying a hundred things that didn't work, I suggested it was a .NET mismatch, so we went to Add Features on the server and checked the box for .NET Framework 4.8 Features. It installed successfully, and then there were a couple of Updates that wanted to run, so we let those all install, rebooted, and then ran the client installer successfully on the server.

So I went back to the first client PC and checked the box for .NET Framework 4.8 Features, installed, rebooted, and the client installer still fails with the same error.

In an attempt to backtrack a little bit, I want to disable/uninstall .NET Framework 4.8 Features on the server VM to see if I can reproduce the problem there.

But, as shown in the above screen capture, the checkbox is grayed out now, so I can't disable/uninstall it.

Any suggestions?
 

SplatMan_DK

Ars Tribunus Angusticlavius
8,293
Subscriptor++
If the clients and serves are fresh installs and it still doesnt work, then I will politely say this is the ERP vendors problem. Ask them to get in gear, and provide you with clear instructions in how to proceed - or clear instructions on how to debug.

In more clear governance terms this is an Application Management issue, not an Operations issue.

I understand that as "the IT guy" you're tasked with knowing and fixing everything. But there is a limit to how much you can reasonable do.

You can try it on a Win11 client just to show the world you're busy. But the ERP vendor needs to take responsibility here.
 
  • Like
Reactions: continuum

stevenkan

Ars Legatus Legionis
16,327
If the clients and serves are fresh installs and it still doesnt work, then I will politely say this is the ERP vendors problem. Ask them to get in gear, and provide you with clear instructions in how to proceed - or clear instructions on how to debug.

In more clear governance terms this is an Application Management issue, not an Operations issue.

I understand that as "the IT guy" you're tasked with knowing and fixing everything. But there is a limit to how much you can reasonable do.

You can try it on a Win11 client just to show the world you're busy. But the ERP vendor needs to take responsibility here.
The ERP vendor is absolutely taking responsibility here, but they're stumped, and I'm in a hurry!
 

stevenkan

Ars Legatus Legionis
16,327

stevenkan

Ars Legatus Legionis
16,327
Well, mixed bag.

Without .NET 4.8, the client installer no longer runs, but neither does Server Manager 🤦🏻‍♂️, so I can't even add it back for easy repeatability testing.

So that doesn't really prove that it's a .NET problem, though I'm still suspicious.

And I don't have a backup from before I added .NET 4.8 because I had the backup job configured incorrectly.

But I did restore from yesterday's backup, so at least I'm running again.
 

LodeRunner

Ars Tribunus Militum
2,545
Well, mixed bag.

Without .NET 4.8, the client installer no longer runs, but neither does Server Manager 🤦🏻‍♂️, so I can't even add it back for easy repeatability testing.

So that doesn't really prove that it's a .NET problem, though I'm still suspicious.

And I don't have a backup from before I added .NET 4.8 because I had the backup job configured incorrectly.
I believe you can simply use the offline .NET installer https://support.microsoft.com/en-us...t-framework-4-8-offline-installer-for-windows to resolve that issue.

You may have to use DISM or command line flags with the offline installer
DISM /online /enable-feature /featurename:NETfx4ServerFeatures /all
DISM /online /enable-feature /featurename:NETfx4

Taken from
View: https://www.reddit.com/r/sysadmin/comments/t4l8rj/reinstalling_net_48_on_server_2022_after/
 
Last edited:

stevenkan

Ars Legatus Legionis
16,327
I believe you can simply use the offline .NET installer https://support.microsoft.com/en-us...t-framework-4-8-offline-installer-for-windows to resolve that issue.

You may have to use DISM or command line flags with the offline installer
DISM /online /enable-feature /featurename:NETfx4ServerFeatures /all
DISM /online /enable-feature /featurename:NETfx4

Taken from
View: https://www.reddit.com/r/sysadmin/comments/t4l8rj/reinstalling_net_48_on_server_2022_after/

I re-removed .NET 4.8 Framework and attempted to run that offline installer, but:

.NET Framework 4.8 or a later update is already installed on this computer.

I can't even launch PowerShell after removing it!

Now attempting to reinstall from ServerManager on another server. . .
 
Last edited: