Solved

psexec  using @file switch to uninstall application for multiple computer

Posted on 2007-11-19
6
10,508 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 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
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
need help to install vb6.0 7 86
Getting unsigned Active X to work with IE 11 1 22
Exchange Server 2016 Installation 2 44
PGP can't open key rings 7 16
Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
In our personal lives, we have well-designed consumer apps to delight us and make even the most complex transactions simple. Many enterprise applications, however, are a bit behind the times. For an enterprise app to be successful in today's tech wo…
The viewer will learn how to set up a document for the web and print and the recommended PPI for printing.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

749 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