WMIC is compatible with existing shells and utility commands. For this technical article for IT professionals, well be using WMIC with domain admin credentials to crawl through a list of nodes (PCs/Laptops) and uninstall an example program. I run the command to uninstall certain programs (such as ScanSnap Organizer Used for scanning), but after the command executes, and the results show the the program has been uninstalled, it still shows the program on the computer, and does not UnInstall it.
#WMIC UNINSTALL COMMAND SOFTWARE#
Inside the last folder is a backupArchives directory that may contain inbound backups from another computer. If there is data in this folder, move it elsewhere. To uninstall a program using Command Prompt, we will use the Windows Management Instrumentation Command-line (WMIC) software utility. WMIC (Windows Management Instrumentation Command-Line) is a potent tool that often doesnt see much use due to the lack of (easily accessible) documentation available. I am having a problem during the process of Uninstalling programs when using WMIC command. When run it manually everything works fine.
When I run the script, it stops immediately after the wMIC command is run.
#WMIC UNINSTALL COMMAND PC#
The PC will restart and the FortiClient garbage will not be. I am writing a script to uninstall a program.