Share via

How do i uninstall a program using cmd in Recovery?

Anonymous
2024-01-17T16:59:39+00:00

So i am currently running a windows server for some purposes, and when i last time booted the computer, suddenly the mouse and keyboard are no longer to be working, so i thought that there is a program i downloaded it before it happened, so i cannot boot into safe mode because its the same problem again so i was wondering if i can fix it simply by uninstalling the program using cmd in recovery.

Could anyone please show me how?

Thanks!

Windows for home | Windows 10 | Windows update

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2024-04-02T16:10:40+00:00

    Hi IIIGeneralII

    This problem has been solved by me, i just forgot that the support ticket is still active :b

    You can uninstall the program by breaking it, simply use the following command in the recovery cmd

    cd C:

    Note: depending on which drive you install windows on, it might be D: or something else

    cd Program Files

    After that use dir to locate the avast file

    If you didn’t find it use cd program files (x86) instead

    Note its important to check on ehich folder did avast install on

    Search on the internet and find out

    After that

    del avast

    It will say “are you sure? (Y/N)?”

    Type y and enter

    Use cd avast to make sure that all files are deleted

    Then use dir

    If not all of them are deleted

    Use del (something like avast.exe and etc) on all of the files.

    Restart your PC/laptop and boot into it

    For driver issues and boot looping

    Check other topics on them

    2 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-04-02T05:11:57+00:00

    system restore does not work in my case and when trying to use wmic, product returns an invalid class error. Neither of these are a solution for me.

    The issue is trying to download avast, the driver files were corrupted causing the BSOD. It is now in a boot loop and the repair nor the system restore will work. They return errors. Checking the logs, they point back to AVAST files. Now I am trying to just remove AVAST since this all happened when I started to download it and the corrupted files all seem to be due to AVAST. I figured the easiest thing should have been to uninstall via the CMD, but wmic does not work as when I type product or product get name, it returns

    Node - MININT-JBIHR0D

    ERROR:

    Description - Invalid class

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2024-01-17T18:11:38+00:00

    Hello there,

    I am Jaspreet Singh.

    While you can uninstall the installed apps though command prompt using the guide here : https://onmsft.com/how-to/uninstall-an-app-usin...

    A better option will be to use a system restore point from recovery itself before the issue started.

    Disclaimer: this is a non Microsoft website. The page appears to be providing accurate and safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (potentially unwanted products). Thoroughly research any product advertised on the site before you decide to download and install it

    0 comments No comments