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
Answers (1)
Please log in to answer
Posted by:
anonymous_9363
8 years ago
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 8 years ago
MsiExec.exe /X{BD6F5371-DAC1-30F0-9DDE-CAC6791E28C3} /qn - akmagnum 8 years ago