Quantcast
Channel: Plantronics Developer Connection : Blog List - Lewis Collins' Place
Viewing all articles
Browse latest Browse all 7

GAC Files stuck in C:\Windows\Assembly, Access Denied when trying to uninstall?

$
0
0

Hi All,

 

I somehow had some Plantronics DLLs and policy files stuck in the GAC in C:\Windows\Assembly!

Despite having uninstalled all Plantronics installers and other applications that used those DLLs.

 

Right-clicking on the files in C:\Windows\Assembly gave Access Denied even running Windows Explorer as Administrator.

 

The solution I found was this:

 

  • Run an elevated command prompt, preferably the one that comes with visual studio (so it can see gacutil)
    i.e. Start > All Programs > Microsoft Visual Studio 2008 > Visual Studio Tools > Visual Studio 2008 Command Prompt
    Note: Hold Shift and Ctrl when you click the shortcut to get elevated (if you are using UAC)
  • Obtain a text file list of the Plantronics files, by running:
       dir c:\windows\assembly\GAC_32\*Plantronics* > pltlist.txt
  • Now uninstall those files with:
       gacutil /ul pltlist.txt
  • There was 1 other Spokes DLL that this didn't pick up, that I uninstalled with:
       gacutil /u Plantronics.Config.XmlSerializers
    (that was because it was under c:\windows\assembly\GAC_MSIL)

 

Thanks,

Lewis


Viewing all articles
Browse latest Browse all 7

Trending Articles