?
Solved

Skype Removal via WMIC

Posted on 2015-01-27
5
Medium Priority
?
1,046 Views
Last Modified: 2015-01-27
Hi, I am trying to remove previous versions of Skype via wmic,  but it always returns no instances found even though Skype is installed.

wmic product where "name like 'SkypeT 7%'" call uninstall /nointeractive
wmic product where "name like 'SkypeT 6%'" call uninstall /nointeractive

I check the product name via wmic product get name
and get value SkypeT 6.18
I also tried wmic product where name="Skype 6.18" call uninstall and it also returns no instance
I ran cmd via administrator

Any idea?
0
Comment
Question by:kwatt562
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 85

Expert Comment

by:oBdA
ID: 40572880
I guess you're trying that inside a batch script? Double up on the wildcard percent sign (and is the T at the end of Skype really there?):
wmic product where "name like 'SkypeT 6%%'" call uninstall /nointeractive

Open in new window

0
 

Author Comment

by:kwatt562
ID: 40572953
Thanks, I tried with double wildcard, but get the same result. Its named SkypeT 6.18 when I scan products via wmic
0
 
LVL 85

Accepted Solution

by:
oBdA earned 2000 total points
ID: 40572997
Can't reproduce that here (at least with some other software, as I don't have Skype installed).
Are you testing this directly in a command prompt or in a batch file? The additional percent sign would be required in a batch to escape the real one.
Do any of the following work:
wmic product where "name like 'SkypeT 6%%'" get name
wmic product where "name like 'Skype%%'" get name
wmic product where "name like 'SkypeT 6.18'" get name

Open in new window

0
 
LVL 85

Expert Comment

by:oBdA
ID: 40573016
On a side note: did you copy and paste the "SkypeT"?
Could it be that the "T" is not a capital T, but a (r) or (tm) symbol or some such, that got garbled in the output because of the code page?
Does the "T" look like a T when you paste it into a Word document or Notepad and add a "real" T next to it?
How does the name look in Control Panel > Programs and Features?
0
 

Author Comment

by:kwatt562
ID: 40573157
thanks for the help
wmic product where "name like 'Skype%%'" get name - returned value skypeT 6.18
so wmic product where "name like 'Skype%%'" call uninstall /nointeractive uninstalled version 6.18 and I did a test with version 7 which also worked.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
A quick guide on how to use Group Policy to create a custom power plan and set it active on Windows 7.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question