Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Fri Mar 29, 2024 2:37 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Un-install Software
PostPosted: Thu Jun 19, 2008 10:16 am 
Offline
Newbie

Joined: Tue Jun 17, 2008 2:11 pm
Posts: 9
It would be great if there was a link to un-install software from a particular machine..

msiexec -u {blah-blah -blah blah-}


Just for little things like MSN messenger and MSN toolbar, google toolbar etc etc (would be also handy for rogue apps on the system)


Top
 Profile  
Reply with quote  
 Post subject: Re: Un-install Software
PostPosted: Tue Jul 15, 2008 10:41 am 
Offline
Newbie

Joined: Tue Jun 17, 2008 2:11 pm
Posts: 9
would this be possible , ? or am I blowing smoke...


Top
 Profile  
Reply with quote  
 Post subject: Re: Un-install Software
PostPosted: Tue Jul 15, 2008 11:51 pm 
Offline
Newbie

Joined: Wed May 25, 2005 5:11 am
Posts: 49
Location: Toronto, Ontario, Canada
I'm not sure how this would work. The uninstall command for each software package is stored in the registry under "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" and could probably be retrieved by the audit.vbs script (if it is not already).

The only problem would be that the uninstall command would have to be executed on each system with the software installed. If the idea is to do this centrally from a remote location (perhaps doable using psexec) this would require that the account performing the uninstall have local admin rights on each machine. Most uninstallers require some kind of interactive GUI response with the standard uninstall command (which would be a problem if using a command line utility like psexec for example). You could probably get around this if the installer application supports silent uninstallation (i.e. for msi-based packages msiexec /x z:\myMSIfile.msi /q might work). But there are dozens of installer types out there and some make it easier to do silent installs/uninstalls than others. (AppDeploy is a good resource for finding out silent install/uninstall options: http://www.appdeploy.com/packages/index.asp)

It might be possible to make a list of silent uninstall strings for common applications but from what I've seen the silent uninstall options are a lot less prevalent than silent install options.


Top
 Profile  
Reply with quote  
 Post subject: Re: Un-install Software
PostPosted: Tue Jul 22, 2008 11:21 pm 
Offline
Moderator
User avatar

Joined: Tue Jan 25, 2005 3:09 am
Posts: 2140
Location: Scotland
It might also be possible using something like AutoIT, but I agree it will require a bit of thought.

_________________
Andrew

[size=85]OA Server: Windows XP/ XAMPP, Mandriva/Apache, Ubuntu
Auditing: 300+ Wstns, 20+ Srvrs, Thin clients, Linux boxes, Routers, etc
OS's: Windows XP , W2K Srvr, W2K3 Srvr, W2K8, Vista, Windows 7, Linuxes (and a Mac at home)
LDAP: Active Directory[/size]


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group