?
Solved

psexec  using @file switch to uninstall application for multiple computer

Posted on 2007-11-19
6
Medium Priority
?
10,545 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
[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
6 Comments
 
LVL 7

Accepted Solution

by:
ALNMOO earned 1000 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
This video demonstrates basic masking and how to edit the mask to reveal the desired image.
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…
Suggested Courses

777 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