Go Back   Technibble Forums > Technical Discussions > Software Applications

  Technibble Sponsor

Reply
 
Thread Tools Display Modes
  #1  
Old 04-01-2012, 11:54 PM
Larry Sabo's Avatar
Larry Sabo Larry Sabo is online now
 
Join Date: Jul 2009
Location: Ottawa, Canada
Posts: 1,436
Larry Sabo has a spectacular aura aboutLarry Sabo has a spectacular aura about
Default Utility to list/remove orphaned Program Files folders?

Many systems have orphaned Program Files and AppData folders that beg to be removed when recycling or cleaning up a system. Anyone know of a utility to identify them, e.g. list and optionally remove all Program Files folders for which there is no entry in Add/Remove Programs? Would be nice if it could also clean out related AppData folders.

Revo Uninstaller makes it easy to clean up unwanted programs and their residuals, but it requires that the programs be installed. I'm talking about programs that have been uninstalled. Somebody cue Nick!
__________________
Sabo Computer Repairs
Ottawa, Canada
Reply With Quote
  #2  
Old 04-02-2012, 01:06 PM
dannyd dannyd is offline
 
Join Date: Apr 2010
Location: Accrington Lancashire UK
Posts: 129
dannyd is an unknown quantity at this point
Default

Quote:
Originally Posted by Larry Sabo View Post
Many systems have orphaned Program Files and AppData folders that beg to be removed when recycling or cleaning up a system. Anyone know of a utility to identify them, e.g. list and optionally remove all Program Files folders for which there is no entry in Add/Remove Programs? Would be nice if it could also clean out related AppData folders.

Revo Uninstaller makes it easy to clean up unwanted programs and their residuals, but it requires that the programs be installed. I'm talking about programs that have been uninstalled. Somebody cue Nick!
I Usually do this manually as many programs claim to remove all junk files and folders, but you can usually still find more doing the work manually.
__________________
http://www.easyonlinepcfix.co.uk/
site under construction.
Please usehttp://www.google.co.uk/before asking for help.
Reply With Quote
  #3  
Old 04-02-2012, 01:17 PM
FoolishTech's Avatar
FoolishTech FoolishTech is offline
 
Join Date: Aug 2010
Location: Manteo, NC (USA)
Posts: 2,722
FoolishTech is a jewel in the roughFoolishTech is a jewel in the roughFoolishTech is a jewel in the rough
Default

Should be an easy task to compare folders in program files to their respective add/remove programs entries and push out the orphans with an option to delete.

Won't be so easy with Appdata folders as these aren't defined by installer apps in the registry, usually in the programs themselves. That part might not be so doable...

I have one concern however, the possibility of a program "installing" to program files but not using an official installer method that puts an entry in add/remove programs...

Let me run some experiments and see what I come up with... (as time allows)
__________________

Author of d7 & d7II, and TONS of other FREE PC technician's tools. www.FoolishIT.com

Check out my videos on using various Foolish IT software.

Latest free tool: CryptoPrevent - Cryptolocker prevention for any OS. Current Version: 4.3.2

Also check out My Network Boot Setup details, and the comment thread.
Boot diag CDs over the network / deploy Windows installs with updates, drivers, and pre-installed apps in minutes!
Reply With Quote
  #4  
Old 04-02-2012, 01:19 PM
Larry Sabo's Avatar
Larry Sabo Larry Sabo is online now
 
Join Date: Jul 2009
Location: Ottawa, Canada
Posts: 1,436
Larry Sabo has a spectacular aura aboutLarry Sabo has a spectacular aura about
Default

@dannyd: Yeah, me too, but there has to be a faster way. Doing it manually also doesn't tell you whether the program is still installed. I'd like something t6hat makes quick work of the task and doesn't bork an installed program. Thanks for the reply, nevertheless.
__________________
Sabo Computer Repairs
Ottawa, Canada
Reply With Quote
  #5  
Old 04-02-2012, 02:39 PM
FoolishTech's Avatar
FoolishTech FoolishTech is offline
 
Join Date: Aug 2010
Location: Manteo, NC (USA)
Posts: 2,722
FoolishTech is a jewel in the roughFoolishTech is a jewel in the roughFoolishTech is a jewel in the rough
Default

Larry, got a rough draft attached.
  • It does Program Files only, no AppData yet (not sure how to approach that to be honest.)
  • Note this will probably show a few Windows built-in programs in the list, I tried to weed them all out for WinXP but Vista/7 may show some; but you can easily weed those out by sight because you should know what Windows puts there, I hope!
  • Also, I already confirmed I have one app on my system that is in fact installed by a legacy installer that doesn't put uninstall information in the Windows registry, so it shows up in the list but it is definitely an installed program!!! So be sure to use with CARE and CAUTION!
  • EDIT: One more thing, I don't have it ready for 64bit versions of Windows yet. Thought I did, but just tested and there's a bug in there somewhere so all 32bit apps installed show up in the list. Working on it...

EDIT AGAIN: Removed attachment, see my next post down for a current draft, fixed for x64 OSes.
__________________

Author of d7 & d7II, and TONS of other FREE PC technician's tools. www.FoolishIT.com

Check out my videos on using various Foolish IT software.

Latest free tool: CryptoPrevent - Cryptolocker prevention for any OS. Current Version: 4.3.2

Also check out My Network Boot Setup details, and the comment thread.
Boot diag CDs over the network / deploy Windows installs with updates, drivers, and pre-installed apps in minutes!

Last edited by FoolishTech; 04-02-2012 at 04:04 PM.
Reply With Quote
  #6  
Old 04-02-2012, 03:19 PM
Larry Sabo's Avatar
Larry Sabo Larry Sabo is online now
 
Join Date: Jul 2009
Location: Ottawa, Canada
Posts: 1,436
Larry Sabo has a spectacular aura aboutLarry Sabo has a spectacular aura about
Default

Thanks, Nick! Will give it a try and post results.
__________________
Sabo Computer Repairs
Ottawa, Canada
Reply With Quote
  #7  
Old 04-02-2012, 04:00 PM
FoolishTech's Avatar
FoolishTech FoolishTech is offline
 
Join Date: Aug 2010
Location: Manteo, NC (USA)
Posts: 2,722
FoolishTech is a jewel in the roughFoolishTech is a jewel in the roughFoolishTech is a jewel in the rough
Default

Ok, got the 64 bit issues sorted, and file is attached....

Let me know if this works ok and I can add to a new D7 version...

EDIT: attached a newer draft with a few new features. When clicking on a directory in the results list, it identifies the dir size and whether it contains EXEs and/or DLLs, and also gives you the option to open the directory in Explorer.

EDIT AGAIN: Added this feature to the Maintenance tab (under Not Automated) in D7 v5.8.4 uploading now... All future updates to this code will likely be through D7 only, but I will leave the original attached to this post for reference/stand-alone usage.
Attached Files
File Type: zip OrphanFinderPF.zip (77.6 KB, 180 views)
__________________

Author of d7 & d7II, and TONS of other FREE PC technician's tools. www.FoolishIT.com

Check out my videos on using various Foolish IT software.

Latest free tool: CryptoPrevent - Cryptolocker prevention for any OS. Current Version: 4.3.2

Also check out My Network Boot Setup details, and the comment thread.
Boot diag CDs over the network / deploy Windows installs with updates, drivers, and pre-installed apps in minutes!

Last edited by FoolishTech; 04-02-2012 at 05:26 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:44 PM.


Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Technibble.com is based out of MELBOURNE, AUSTRALIA.