Wmic Uninstall Software

Wmic Uninstall Software Average ratng: 7,4/10 3305 reviews

A reddit dedicated to the profession of Computer System Administration.Community members shall conduct themselves with professionalism.Do not expressly advertise your product.More details on the may be found.For IT career related questions, please visitPlease check out our, which includes lists of subreddits, webpages, books, and other articles of interest that every sysadmin should read!Checkout the Users are encouraged to contribute to and grow our Wiki.So you want to be a sysadmin?Official IRC Channel - #reddit-sysadmin onOfficial Discord -. Hey Defenders of the Systems of the Universe,Anyone know of a tool that can uninstall software remotely, that is me being able to uninstall software on someone else's computer? Here's some background:My team uses BigFix to push software and the majority of our users do not have local admin rights on their machines. For us to create an uninstall job from.exe files can be challenging and/or time consuming.

I need to empower my help desk to be able to uninstall software even if an uninstall job does not exist. Caveats:.The helpdesk has an elevated AD account that gives them local admin rights to any machine.

Wmic

I know that they can remote into the user's machine, temporarily give the user local admin rights, and uninstall said software. I also know that they can just RDP into the user's box and uninstall software using their aforementioned elevated accounts. Looking for an 'easier' solution for them.I know there is a way to remove software remotely using. Expecting them to use that method is out of the question as it is too complex and/or detailed for them.Anyone know if any tools that would allow the uninstalls?. Create a tool that makes the remote uninstall from registry easier.Basic psuedo code would beEnter Name of application you want to removeget a list of all applications installed(?) store in memory as objectsif name given does not exist, prompt tech with a hash table with a number as the key, and display the name as the value.They can then enter the number and wamo bamo software is uninstalled.crappy applications wont have the registry entry added, so this wont work for all and they will have to fail back to logging into the workstation via RDP. I use Powershell and bash scripting for everything remotely. Granted, it takes a little set up for it to be done properly (signing PS scripts, version checks so commands work properly, ssh server and configs on each station or server, etc.).

I am not paying for anything, it works, and it isn't complicated and really repeated.One site does have a Dell K1000, though, and historically, for some of the things I've had to remove, I simply called the msi with an uninstall switch or called the uninstall file (often found in the registry). Easy and works almost perfectly across Dell products.

Windows PowerShell (POSH) is a command-line shell and associated scripting language created by Microsoft. Offering full access to COM, WMI and.NET, POSH is a full-featured task automation framework for distributed Microsoft platforms and solutions.SUBREDDIT FILTERS. RESOURCES. SCRIPT REPOSITORIES. VIRTUAL LABS & BOOKS. BLOGS & PODCASTS. LIVE CHAT.

NORTH AMERICAN USER GROUPS. remote-capable. remote-capable. remote-capable.

remote-capable. EUROPEAN USER GROUPS. Here's something I whipped up quickly that should do what you wantI'll explain the logic a little in regards to what it's doing.The script will search in the registry for uninstall locations for anything with a 'DisplayName' that matches 'Java'. After this, it goes through and creates the uninstall strings based on the registry key name.Normally, these keys actually have a registry value called 'UninstallString' that has a already crafted uninstall string but not all keys will contain this. The way i'm doing it is just telling it to use the key name and manually construct the uninstall string which should have better results for the most part.One thing I forgot to include in the uninstall string is the '/q' for quiet. Without this, it will popup and ask if you want to uninstall the product so you might want to add that in.

For HP products a product number. Examples: LG534UA. Use product model name: - Examples: laserjet pro p1102, DeskJet 2130. See all 98 rows on www.driverdr.com.

Wmic Uninstall Program Like

I actually tried this in one shop which had a bunch of PCs to be imaged but was too cheap to create an actual image and so just kept modifying the one which came with the shitboxes they bought.Oddly enough, even using both call uninstall /nointeractive and msiexec /x didn't reliably work in all circumstances. I'd have an uninstaller attempt to work through a list of known installed software and call the uninstall line which worked perfectly fine by itself from a command prompt, and get maybe a 60% chance that the software would actually uninstall. Looping the uninstaller a couple of times didn't work. Rebooting between attempts didn't work.

Wmic Uninstall Program Silently

Sometimes even typing the uninstall line from the command prompt didn't work - although it would work on other identically configured machines.Possibly I just got an extended run of really horribly configured machines, but I spent a lot of time looking for an uninstaller which could be near-guaranteed to rip a list of software out by the roots.(And no, most of their PCs weren't on a domain, so group policy updates were out. Hated that place for more than one reason.).