Hi all.
I made a bad installation of an agent wit a wrong MST File. Well there are around 600 hundred Servers. The best way to fixed is force installation.
How can I do it?
Do I have to uninstall the agent with msiexec.exe? if yes, how can I find the producto code?
Thanks in advance and have a nice week.
I will answer it myself.
To get the Identify Number I can run a PS cmdlet:
get-wmiobject Win32_Product | Format-Table IdentifyingNumber, Name, LocalPackage -AutoSize
Then the command to uninstall is:
wait msiexec.exe /x {IdentifyingNumber /quiet /norestart
In my case this:
wait msiexec.exe /x {{ECAF5BD6-0522-4761-A073-1C1DD95DF5BD} /quiet /norestart
It works as spected.
Regards.