Tuesday, 27 September 2011

Can not find .zip files in multiple upload process in a document library in sharepoint 2007 site in windows 7

Hi,

I was asked by some users that how to upload multiple zip files into a document library since zip files were not enlisted in multiple upload method in a document library in a sharepoint 2007 site with client as Windows 7.

I had a nightmare to identify the cause but finally I managed to do this. Here are the details:

Cause:
To use the multiple upload functionality active X is required to be in the client machine. These uses some registry keys and consider the zip files as normal windows explorer folders and hence zip files do not show up in this option.

Resolution:

There are two registry keys needs to be removed :

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

Before carrying out the step above first of all registry needs to be backed up.
This can be at http://windows.microsoft.com/en-IN/windows7/Back-up-the-registry. These are very simple and clear steps.

However here also you will not be able to remove the keys since the twist is not yet over. If you try to remove the keys you will find an error.
Hence these steps needs to be followed:
1. Download PsExec at this url http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx.
2. Now unzip this file and open a command prompt by running it as administrator.
3. Now point it to the location where you have extracted the zip files.
4. Now execute this command psexec -i -d -s C:\Windows\Regedit.exe
5. Now this will open the regedit navigate to the keys.
6.First step now will be to take the ownership. After selecting the key go to its child keys first and then right click on it and select permissions.
7. For System account allow full control. Now you can delete this key.
8. Do the above step for all child keys.
9. After deleting all child keys now right click on the actual key and select Permissions--> Ownership and grant ownership to the System account. Allow full control to it and thats it you will be able to delete it.
10. Do the same for both the keys and restart your computer.

This will now work for you.
I hope this will help you out.

Thanks,
Rahul Rashu


No comments:

Post a Comment