Quickest way to copy files from GAC

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?


1 thought on “Quickest way to copy files from GAC”

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

Comments are closed.

Share via
Copy link
Powered by Social Snap