Silently run Microsoft Program Install and Uninstall troubleshooter

Trevor Simpson 1 Reputation point
2023-03-23T03:06:23.87+00:00

I have an app on a number of machines that I need to uninstall silently, it doesn't show up in control panel 'uninstall programs'

This tool does find it and uninstalls it.

https://support.microsoft.com/en-us/topic/fix-problems-that-block-programs-from-being-installed-or-removed-cca7d1b6-65a9-3d98-426b-e9f927e1eb4d

I need to run it on multiple computers, I can't find any logs as to what changes it made, just a ps1 file and xml on how to restore the registry.

no logs at @temp@ either.

Any help would be great.

Thanks!

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,477 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,509 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,221 Reputation points
    2023-03-23T16:09:43.07+00:00

    Hello there,

    If you cannot find the logs in Event viewer you can use other Windows tools to find the necessary logs.

    Process Monitor is an advanced monitoring tool for Windows that shows real-time file system, Registry and process/thread activity. You can get the tool from here https://docs.microsoft.com/en-us/sysinternals/downloads/procmon

    System Monitor (Sysmon) is a Windows system service and device driver that, once installed on a system, remains resident across system reboots to monitor and log system activity to the Windows event log.You can get the tool from here https://docs.microsoft.com/en-us/sysinternals/downloads/sysmon

    How to Determine What Just Ran on Windows Console https://devblogs.microsoft.com/commandline/how-to-determine-what-just-ran-on-windows-console/

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer–

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.