Error Enumerating Products Key For User. Error 6
Installation Gotcha >> Cleaning C:\Windows\Installer safely without msizap.exe...due to error 6 16. July 2011 08:40 / William / How To Comments (3) Today I found myself cleaning up my C: drive wicleanup on one of my servers. One of the offending folders was C:\Windows\Installer. Be windows installer folder huge carefulwhat you delete from this folder as you will run into another headache if you ever find yourself trying windows installer cleanup utility to uninstall a program (and possibly other annoyances) and the associated msp file is not there. Microsoft has created a tool called msizap.exe that SHOULDclean this folder upfor you by deleting all the orphaned patches. However, upon running: msizap.exe G! I got the following error: MsiZapInfo: Performing operations for user S-1-5-21-2914546075-379062757-4049983416-500Removing orphaned cached files. Error enumerating Products key for S-1-5-21-2914546075-379062757-4049983416-500 user. Error: 6.FAILED to clear all data. After googling this error, I found no solutions on how to resolve it. So, I found myselfcleaning this folder the hard way,but not as hard as it could have been. If you go here: http://blogs.msdn.com/b/heaths/archive/2007/01/31/how-to-safely-delete-orphaned-patches.aspx Someone from the msdn blog has created a script (wimsps.vbs) toshow you which patches are registered. These are the files you DON'T want to delete. So, I modified the script to move these files to another directory, sothey are out ofmy way while I sift through the other files. There are a couple of things to do before running the script: The first is to create a backup directory for your registered patches. (Otherwise, the script will error that the backup directory isn't there. (I realize I could modify the script to make the directory, but...I won't be using this script often and it's simply faster to create the directory.) The second thing to do is change the bakfolder variable to the proper path of your backup directory thenrun the script. Now you can go through the rest of the C:\Windows\Installer directory and not have to compare it to the script output list of registered patches. Once you are done, simply copy the registered files back to the C:\Windows\Installer directory, delete your backup directory,and you're done.Themodified script is attached. wimspsmod.zip (767.00 bytes) Also, in order to speed up the process of identify
than you would expect. WinDirStat is a great little utility to figure out where that space is going. If you use that program, you might discover that C:\Windows\Installer is really big. Sometimes that directory is not as clean as it should be because of various failed program installations or unclean uninstalls.Use the Windows Installer Cleanup Utility to safely get rid of the unneeded cruft. Download the installer here. Once installed, open up a command prompt and type:cd "\Program Files\Windows Installer Clean Up\"msizap G!In one case that I saw, 7 GB was reduced down to about 1.5 GB.I do not recommend using the http://www.sumnone.com/post/2011/07/16/cleaning-c-windows-installer-safely-without-msizapexedue-to-error-6 other utility included with the installer unless told to do so elsewhere. This is the utility that you will see a new entry for in the Programs menu and is not a command line program. Its purpose is not related to the one this post is written about.If you see an error message like:MsiZapInfo: Performing operations for user S-1-5-21-.....Removing orphaned cached files.Error opening 9040110900063D11......\InstallProperties subkey of Products key for S-1-5-18 user. Error: http://wyang0.blogspot.com/2010/06/clean-up-cwindowsinstaller.html 2.FAILED to clear all data.don't worry about it. The program has finished cleaning up all it can. If you're bothered by it and know your way around the Windows Registry, you'll find the GUID listed somewhere under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData. If you're sure it refers to something you've uninstalled already, go ahead and delete the key, run 'msizap G!' again and you shouldn't see the error message anymore.(Note: I am aware this information is already available online elsewhere in some for or other, but I found it to be somewhat scattered and confusing.) Posted by William Yang at 3:40 PM Reactions: Labels: tech 5 comments: igork806December 26, 2011 at 6:44 AMGreat tip :) My Windows\Installer folder was 50,6 GB, after trying this solution it is 1,63 GB !!!ReplyDeleteDan Dar3June 13, 2012 at 7:18 AMIt's available here now as well.Deleting of Windows Installer Cache (C:\Windows\Installer\) Fileshttp://support.microsoft.com/kb/2667628ReplyDeleteThomas Gail HawsDecember 9, 2012 at 10:26 PMThank you! You *did* explain it better.TomReplyDeleteRADRaze2KXJune 19, 2013 at 1:35 PMWorked like a charm. Reduced 79GB down to 4.9GB. Thank you William Yang!Mark BushOwnerRAD Computerswww.1radpc.comReplyDeleteBikram AgarwalDecember 24, 2013 at 8:38 PMWell, in my case, doesn't look like it did anything. It immediately returned four lines of Error : 2 and Installer folder is still taking up 7.6 GB as before. :(ReplyDeleteAdd commentLoad more... Newe
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this http://superuser.com/questions/476910/delete-orphaned-msi-files site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can windows installer answer The best answers are voted up and rise to the top Delete orphaned msi files up vote 1 down vote favorite I have a computer with 50GB of hard drive and it is almost full (I won't get an upgrade for C because is the company computer) I just check and the C:\Windows\Installer directory is eating more of that space. I tried using msizap.exe error enumerating products to delete the unneeded files but I keep getting this error: MsiZap V 5.0 Copyright (c) Microsoft Corporation. All Rights Reserved MsiZapInfo: Performing operations for user S-1-5-21-2700949330-2022528980-61785034-4992 Removing orphaned cached files. Error opening 66FC8F6438BA7A83992B5AEB05E74E27\InstallProperties subkey of Products key for S-1-5-18 user. Error: 2. Error opening 9AC087DE786021C34B9333962F4249F1\InstallProperties subkey of Products key for S-1-5-18 user. Error: 2. FAILED to clear all data. What can I do now? windows-7 windows-installer share|improve this question asked Sep 19 '12 at 7:32 Sambatyon 26828 contact your company's IT departement and have them do it –ratchet freak Sep 19 '12 at 8:04 Would love to, but as I know them, it will take three months before the solve the problem –Sambatyon Sep 19 '12 at 11:37 1 Did you run MSIZAP as an administrator when you executed it? –CharlieRB Sep 19 '12 at 12:27 yes, all developers have administrator privileges in their computers –Sambatyon Sep 20 '12 at 10:51 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote I had similar error messages and was able to get rid of them by following the instructions in this blog. http://wyang0.blogspot.com.au/2010/06/clean-up-cwindo