/build/static/layout/Breadcrumb_cap_w.png

Uninstall Script for .NET Framework 4.6.1

A bunch of our systems took the .NET Framework 4.6.1 upgrade. I cant seem to find a script that i could send from KACE K1000 that could uninstall the .NET Framework. I would like to remotely uninstall .NET Framework 4.6.1 through a script from K1000 in Windows 7. 

1 Comment   [ + ] Show comment
  • run this in a script
    MsiExec.exe /X{BD6F5371-DAC1-30F0-9DDE-CAC6791E28C3} /qn - akmagnum 7 years ago

Answers (1)

Posted by: anonymous_9363 7 years ago
Red Belt
2

I'm going to be kind and NOT post a LMGTFY link.

One, use this:

start /wait %windir%\Microsoft.NET\Framework64\v4.0.30319\SetupCache\v4.6.01055\Setup.exe /uninstall /x86 /x64 /q /norestart

Obviously, the 32-bit flavour will be in a slightly different path. You may also want to add an 'RD' of the folder.

Two, next time, try going waaaaaaaaaaaaaaaaaaaay out on a limb and find the HKLM\Software\[Wow6432Node]\Microsoft\Windows\CurrentVersion\Uninstall\[Product's_ProductCode]\UninstallString value.

Three, you want to uninstall it...why?

Four, if the machines were upgraded, the implication is that your users have administrative rights. Scary...


Comments:
  • Also, I want to add to your answer. Why use a script and not an uninstall Distribution? That way you're not repeating the process for each machine over and over. KACE recognizes that the distribution has ran on each machine, however, that is not the case with a script. Yes, it places a KBot Configuration in the registry, but runs continuously. - FSU Facilities 7 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ