Solved

psexec  using @file switch to uninstall application for multiple computer

Posted on 2007-11-19
6
10,494 Views
Last Modified: 2013-11-14
Need to uninstall application from multiple computer in a domain
currently i am using the

psexec \\computer name Msiexec.exe /q/x{guid} remove=all

from a remote computer to uninstall application --one computer at a time

how do i use the @file switch and what needs to go in the file ??
would I just create a .txt file and just list all the computers

computername, computername, computername

or does it need to be a specific format??
and how would I add that switch
0
Comment
Question by:enosuna
6 Comments
 
LVL 7

Accepted Solution

by:
ALNMOO earned 250 total points
ID: 20318144
just use this

psexec \\@PCs.txt Msiexec.exe /q/x{guid} remove=all

where pcs.txt contains list of pcs

pc1
pc2
pc3
..
.
0
 

Author Comment

by:enosuna
ID: 20318158
do I need to specify the path of the PCs.txt
0
 
LVL 7

Expert Comment

by:ALNMOO
ID: 20318165
yes, i assumed that text file in the same directory with psexec.exe
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 38

Expert Comment

by:younghv
ID: 20320357
enosuna,
Here is a link to some detailed psexec scripting from 'sirbounty'.
There are also some comments about permissions, etc.

Vic

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Q_22397407.html
0
 
LVL 11

Expert Comment

by:bsharath
ID: 20326425
Here is a sysinternals forum where you can find info.

http://forum.sysinternals.com/forum_posts.asp?TID=11457&PN=1
0
 

Author Closing Comment

by:enosuna
ID: 31410071
thank you for all your help it work great
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
If you don't know how to downgrade, my instructions below should be helpful.
The viewer will learn how to set up a document for the web and print and the recommended PPI for printing.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

839 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