One of the the tasks you can do using command prompt is to completely uninstall every program in your computer. Of course it is far easier to use standard
add/remove or special third-party uninstallers but in some rare cases there is no other way to uninstall program than through command prompt. For example when you have to boot into corrupted Windows with so called
boot with command prompt. Here we are going to take a look at how to uninstall CCleaner using delete command prompt function.

Open Start>run>cmd. Enter
"cd %programfiles%" and press enter. Type
"dir /p" without quotes. You will see the list of all your programs now. To delete-uninstall CCleaner type
rd /s "CCleaner" and press "Y". This will permanently delete this program so be sure you know this is what you want.
You can delete any program using this method just replace the name with what you want to delete. Read also
how to uninstall programs using command prompt.

How to Remove Programs with Delete Command Prompt
27 Comments:
@Anonymous
Let say your account you want to delity is annonymous.
Open cmd and type in "net stat anonymous/delete". Press enter. Here anonymous represent account we want to delete but in your computer it will be something else I imagine. So just replace "anonymous" with account name you want to delete.
Hey Thomas... You should have kept a note that the symbol "%" Implies the Drive in which the Operating system is installed... It will be helpful for newbies...
Nice share buddy.. I uninstalled VideoLAN in my system in that fashion!
@Tejaswi
thanks for info. I did not think about that. Good that you mentioned.
This command is actually force deletition of every program. So if you use it, it will not just uninstall it but force-delete it. True it will leave all registry imputs, but it is meant to be used as/when nothing else works. You can that easily remove all registry imputs with a good registry cleaner such as Comodo system cleaner or any else.
Yup... Absolutely true... It just deletes the installed file in the Program Files folder of the OS...
There is also some trick to uninstall programs which do not give an uninstaller... By getting the correct Registry Entry and entering the same in the Run command... Uninstall of a program can be done...
(psst..! I don't know how it is done exactly.. but i read it some where very long back..)
I know what you mean Tejaswi. Before posting this method I tried the original uninstallation method in cmd, but somehow it did not work out. maybe I forgot the exact command....
so now I chose this method.
nice post about OS and good ideas for delete some files with using cmd.
Thanks Sajid. Recommend us to your friends please to help us grow.
Thanks, great post
@Home Appliance Deals
Thank you for compliments
i tried it but when i look in add/remove programs is still there and it also show on the all programs menu..it just deleted the application folder on the program files
Yes. This method is forced deletition of every program you choose but it leaves registry leftovers behind. You can remove it from add/remove by choosing so it is not a big deal. But for true uninstallation from command prompt use this method here.
www.pcterritory.net/uninstall programs via command prompt
thnx a lot...it worked...cheers ;)
The best way is to remove using some uninstaller or the default option provided by window
@Techie Inspire
This is actually not uninstalling but is force deletion. This is extremely useful when all other methods of uninstalling fail, be because of spyware, corrupted application's uninstaller or software without provided uninstaller.
hi, what if i choose y, then the message says Access denied??
@dennis
Maybe you forgot to close the program before trying to delete it.
Another option is that program is either system-protected by operating system and refuses to be deleted (important part of operating system) or the program is being protected be self-termination shield to protect itself from being deleted by malware. Majority of security products (antivirus, firewall) have that shield. Again...try to exit the program you want to delete and than go on with deleting.
let me know how it works and what is the program you wanna get rid of
pcterritory
i m glad to see the page
hey i cant able to delete "ms office professional plus 2010" from my system,,i am using windows 7 operating system,
i am getting an error message that access is denied,,please help me,,,,
thank you so much
I can't bypass a self termination shield... any way to disable it do that I can delete it?
Wow finally i've found a simple but very useful tutorial concerning how to use the command prompt to solve the common problems in any computer..,Great Post...thanks a lot guys.
i have window 7 starter.
typed cd%programfiles%...and
syntax is incorrect..
any helps?
k.
Tryimg to get rid of avg 9 and its saying not found
yer i have the same problem, I installed McAfee 2010 on my 7 year old PC as a quick try and fix/remove a virus I got, and as it was scanning the computer crashed, blue screen, and now it will not reload I think perhaps it is strangling my system even more new core i5 work laptop struggles with this mcAfee antivirus (only used due to work regulations)... is there a way around this access denied self termination shield, i am not familiar with dos, but can write in unix unfortunately, is there a su cmd
for window 7 place a space between cd and %programfiles%
i have problem to remove omud application and Massage i am getting as below could you please help me?
C:\user\admin\sc query omud
SERVICE_NAME: omud
TYPE :10 WIN32_OWN_PROCESS
STATE :1 STOPPED
WIN32_EXIT_CODE :1077 <0x435>
SERVICE_EXIT_CODE :0 <0x0>
CHECKPOINT :0x0
WAIT_HINT :0x0
Post a Comment