Quickest way to copy files from GAC

By Namwar Rizvi - Last updated: Saturday, May 30, 2009 - Save & Share - One Comment

Yes, I know how painful it is to realize that you can not copy an assembly out from Global Assembly Cache (GAC), at least not by usual way of copying a file from a windows folder. Don’t worry, there are some ways to do it and the quickest way to browse the GAC and copy files from it is to just map a drive on Windows\Assembly folder.

Here you go, 

  1. From Start-Run type cmd to launch command prompt
  2. Type subst Z: C:\windows\Assembly and press Enter
  3. Thats it!

Now, you got a drive Z which is mapped to your GAC folder and you can easily open it in Windows Explorer and copy files from it.

Isn’t it easy?

Posted in Management, Tips • Tags: , , Top Of Page

One Response to “Quickest way to copy files from GAC”

Comment from Ole Kristian
Time November 3, 2009 at 1:11 pm

When trying this in Windows Server 2008 R2, the copy command runs through fine, but no files are copied over to the GAC

Write a comment