How to Remove Outdated .NET Versions Efficiently?

0
1
Asked By TechSavvy92 On

I've been struggling with outdated .NET versions everywhere, and it's been a real hassle. The dotnet-core-uninstall PowerShell commands haven't been effective for me either. Since we don't have Intune deployed, I'm looking for an automated way to get rid of these versions. Has anyone found a good solution?

2 Answers

Answered By QuickFix14 On

One reliable method I've found is to use a tool like BatchPatch. It allows you to copy files and run commands remotely. You can grab the MSI for .NET and run the uninstall commands using that. .NET tends to be a little tricky when trying to remove it manually, so this approach can help simplify the process. By the way, do you worry about potential issues after uninstalling using this method?

CuriousCoder88 -

Yeah, I'm curious too! Has this method ever caused other software to break for you?

FileMover99 -

I actually have an RMM that can run commands and copy files. This might be the solution I was looking for!

Answered By ServerGuru2023 On

Managing .NET versions is such a pain! We had an audit reveal that we had .NET Core 3 installed, which led us to force our app vendor to upgrade to version 8. Now we have versions 3 to 8 everywhere, and the older runtimes just stick around even when the original apps are no longer using them. It’s super frustrating! What’s been your experience—have you resorted to just uninstalling everything manually?

DevOpsAnnie -

Totally get that! We've seen DotNet 6 still hanging around even after the release of 8. What was your end solution for cleaning it up?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.