Apr 12, 2012

Extracting DLL's out of GAC

To backup the dll's in the GAC i.e. Extracting DLL's out of GAC we can use either of the below methods.


Method 1:
Change the Windows\Assembly\GAC folder from the GAC view to the Windows Explorer view by editing the Registry:

HKLM\Software\Microsoft\Fusion\

Add a DWORD value called DisableCacheViewer and set the value to 1 Don't Forget to change it back to 0 once your done with the backup.

As shown below:






















Method 2 (32 bit only):

From command prompt run
regsvr32 -u C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\shfusion.dll

GAC back to it’s original structure, use
regsvr32 C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\shfusion.dll

Pages