Question How to uninstall Microsoft .NET Framework 4.6.1 on multiple systems ?

Mar 30, 2023
1
0
10
Hi,

I am trying to uninstall Microsoft .NET Framework 4.6.1 on multiple systems in a enterprise environment. I have used the dotnet removal tool for other types like this but cannot seem to find a way to remove this software remotely.

If anyone has any suggestions; it would be highly appreciated.

I've tried using wmic removal, with the following:
---------------
C:\Windows\Microsoft.NET\Framework64\v4.0.30319>wmic product where name="Microsoft .NET Framework 4.6.1" call uninstall
Executing (\\DANAS-V10\ROOT\CIMV2:Win32_Product.IdentifyingNumber="{BD6F5371-DAC1-30F0-9DDE-CAC6791E28C3}",Name="Microsoft .NET Framework 4.6.1",Version="4.6.01055")->Uninstall()

Method execution successful.


Out Parameters:
instance of __PARAMETERS
{
ReturnValue = 1603;
};

C:\Windows\Microsoft.NET\Framework64\v4.0.30319>
--------------

However, when I try to wmic product get name; it lists the software still there. This is such a pain because it is necessary to remove for security reasons; so if there is a way to remove it with Group Policy; or any other tool/command I would be grateful!