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
Please log in to comment



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...

Answered 05/26/2016 by: VBScab
Red Belt

  • 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.
Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja