Unable to uninstall Microsoft Visual C++ 2013

I have tried to uninstall “Microsoft Visual C++ 2013” package from windows server and action executed. However it’s failing to uninstall in server and still package is present. I need assistance here.

Action Script:

waithidden cmd.exe /C msiexec /x {name of key whose (value “DisplayName” of it as string contains “Microsoft Visual C++ 2013 x64 Minimum Runtime”) of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” of native registry} /quiet /norestart

waithidden cmd.exe /C msiexec /x {name of key whose (value “DisplayName” of it as string contains “Microsoft Visual C++ 2013 x64 Additional Runtime”) of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” of native registry} /quiet /norestart

QNA Answer:

Q: name of key whose (value “DisplayName” of it as string contains “Microsoft Visual C++ 2013 x64 Additional Runtime”) of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” of native registry
A: {010792BA-551A-3AC0-A7EF-0FAB4156C382}
T: 2497

Q:

Q: name of key whose (value “DisplayName” of it as string contains “Microsoft Visual C++ 2013 x64 Minimum Runtime”) of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” of native registry
A: {53CF6934-A98D-3D84-9146-FC4EDF3D5641}
T: 2003

Q:

Action execiton log:

Relevant - Uninstall the Microsoft Visual C++ Redistributable Package 2013 (fixlet:2262181)
At 02:10:08 -0600 -
The CPU usage will be increased because _BESClient_Download_FastHashVerify is enabled
ActionLogMessage: (action:2262181) Action signature verified for Execution
ActionLogMessage: (action:2262181) starting action
Wow64 redirection disabled. action uses wow64 redirection false (action:2262181)
Command started - waithidden cmd.exe /C msiexec /x {53CF6934-A98D-3D84-9146-FC4EDF3D5641} /quiet /norestart (action:2262181)
Command succeeded (Exit Code=0) waithidden cmd.exe /C msiexec /x {53CF6934-A98D-3D84-9146-FC4EDF3D5641} /quiet /norestart (action:2262181)
Command started - waithidden cmd.exe /C msiexec /x {010792BA-551A-3AC0-A7EF-0FAB4156C382} /quiet /norestart (action:2262181)
Command succeeded (Exit Code=0) waithidden cmd.exe /C msiexec /x {010792BA-551A-3AC0-A7EF-0FAB4156C382} /quiet /norestart (action:2262181)
At 02:10:09 -0600 -
ActionLogMessage: (action:2262181) ending action

I think you should try those command lines manually to see whether any messages are displayed.

The Exit Code 0 on each certainly implies that there was no error, so I’d check whether the uninstall actually works but something else may be reinstalling them?

Thanks Jason. Let me try it maually first and post you.

@JasonWalker ,

Instead of /quiet, I used /qn which was resolved my issue. However It was not removed the package from windows server.

I have verified the windows event viewer and verified the application log. It was showing “package was removed successfully” . ( refer screenshot )

Really wondering why it was not removed . Rebooted the server and verified .

Still package is available :rofl:

Removeable_MSviewer

Badly I need assistance to fix this … please help me Jason.

This doesn’t look like a BigFix issue, this looks like something in Windows itself. Did you search he event log to see whether it was being reinstalled, like maybe from Group Policy?

No message showed “It’s getting reinstalled”. WIll check with local security team once.

Per that screenshot those are different products. “Additional Runtime” is listed in your eventlog entry, but “Redistributable” (with no ‘Additional Runtime’) is the one in the Add/Remove Programs listing.