Enabling Zip Files in SharePoint Multiple Document Upload

This pertains to Windows Vista and Windows 7 only.  If you are running Windows XP then stop reading.

If you are running Vista or Windows 7 and you are attempting use the “Upload Multiple Documents” feature of MOSS 2007 or WSS 3.0 to upload zip files you have probably noticed that zip files do not show in the upload explorer window.  The “Upload Multiple Documents” feature is an ActiveX control that installs with Office 2003/2007 so if you aren’t running either Office versions then the option won’t show up in SharePoint.  The problem with zip files and the ActiveX control has to do with how Vista deals with zip and CAB files. By default Vista is configured to show zip and CAB files as folders allowing the user to drill into their contents within Windows Explorer.  For this reason they do not show up in the ActiveX control that handles multiple file uploads for SharePoint.  To fix this problem you need to delete the following registry keys.  WARNING! Backup your registry before making any changes!

HKEY_CLASSES_ROOT\CLSID\{E88DCCE0-B7B3-11D1-A9F0-00AA0060FA31}
HKEY_CLASSES_ROOT\CLSID\{0CD7A5C0-9F37-11CE-AE65-08002B2E1262}

Now deleting the above registry keys is a bit more involved than running RegEdit, finding the keys, and deleting them.  Both keys above are protected keys and are own by the SYSTEM account.  In order to delete the keys you need to change ownership of the keys, delete sub keys first, and then delete the root key.  To do this you need to download the PSExec utility from Microsoft that is part of the Sysinternals tools.  The download is located here http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx .  Once you have downloaded the tools and extracted the PSExec utility from the zip file, you need to then start a windows command prompt as the local machine administrator (if you are not logged in as the administrator then run the following from the RUN dialog:  runas :user/localhost\administrator CMD ).  Once the command window launches navigate to the directory where you unpacked the contents of the zip file that you downloaded earlier and execute the following command: psexec -i -d -s c:\windows\regedit.exe.  At this point you are now running RegEdit as the SYSTEM account and will be able to change ownership of registry keys.  It is important to note that you have to delete child keys before deleting the root key. 

Bookmark and Share

posted @ Monday, February 16, 2009 4:03 PM

Print

Comments on this entry:

# re: Enabling Zip Files in SharePoint Multiple Document Upload

Left by Jay at 8/28/2009 9:36 AM
Gravatar
I have Windows 7 x64 build 7001 and neither of those keys exist in my registry.
This was an upgrade from Vista x64 Premium.

Any suggestions?

# re: Enabling Zip Files in SharePoint Multiple Document Upload

Left by thellebuyck at 9/2/2009 1:01 PM
Gravatar
I have not tried this on Windows 7. I will fire up one of my Windows 7 machines and see if I can dig up which register keys need to be modified.

# re: Enabling Zip Files in SharePoint Multiple Document Upload

Left by Mukesh at 9/28/2009 2:54 PM
Gravatar
Great Step by step resolution !!!
Resolved on all 3 servers having vista and windows 7. , Thank You .

# re: Enabling Zip Files in SharePoint Multiple Document Upload

Left by Andrew N. Keller at 3/4/2010 9:48 AM
Gravatar
Great article!

Comment 1: The article fails to tell you that you will no longer be able to browse ZIP and CAB files as folders anymore.

Comment 2: The entire bottom paragraph is WAY convoluted. (...and I just tested this...) The only thing you need to do right-click the key, select "Permissions...", click the Advanced button, click the Owner tab, set "Administrators" as the owner and hit OK, then back on the security tab give Administrators Full Control.

Your comment:



 (will not be displayed)


 
 
 
Please add 2 and 8 and type the answer here:
 

Live Comment Preview:

 
«March»
SunMonTueWedThuFriSat
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910