Solved

Uninstall Silently Not working, still prompts for user input

Posted on 2013-06-07
4
348 Views
Last Modified: 2013-06-25
I'm trying to do a silent uninstall of a program on my system.  I have successfully uninstalled other programs with msiexec /quiet /x{uninstall string GUID}, but this program prompts:
    "would you want to permanently delete files in library?"

I've tried wmic product call uninstall /nointeraction (not my exact syntax) and everything is silent until it prompts as above.

Is there a way to get it to pass a key stroke or press enter to get past this prompt?  Or is there a more silent way?

NOTE:  My system is very restricted and adding any outside software is not ok.  This is windows 7.

Thanks
0
Comment
Question by:cavalierlan
  • 2
4 Comments
 
LVL 3

Expert Comment

by:phoenix5ire
ID: 39229554
Have you tried:
msiexec /qn

?
0
 
LVL 8

Expert Comment

by:Esteban Blanco
ID: 39230522
That above or /qs
0
 

Accepted Solution

by:
cavalierlan earned 0 total points
ID: 39262507
Sorry for responding late...

I did try that, but the uninstall must have called another script to prompt for input.

I ended up writing a script that uninstalled then after a wait ran a tskill on the process that was started by the prompt.  Since I didn't care how the prompt was answered this worked.
0
 

Author Closing Comment

by:cavalierlan
ID: 39274151
I didn't receive a solution and found a way on my own
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

You may have already been in the need to update a whole folder stucture using a script. Robocopy does it well and even provides a list of non-updated files in a log (if asked to). Generally those files that were locked by a user or a process by the …
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
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…

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now