当我从c:\windows \ assembly中卸载一个dll时,我得到了消息Access is deniend [英] When I uninstalled a dll from the c:\windows\assembly I got the message Access is deniend
问题描述
我在c:\windows \Assembly文件夹中注册了ABC.dll,我需要将其卸载,尝试时我收到一条消息访问被拒绝
我去了然后到dll所在的文件夹下c:\windows \assembly \ GAC_32 \ABC \ 12345 \
其中12345是公钥令牌,我试图将其删除使用DEL或ERASE dos命令没有成功。
问题是,如何知道正在使用这个dll的进程,所以我可以杀死它们然后从程序集文件夹中卸载它
I have a ABC.dll registered in the c:\windows\Assembly folder, I needed to uninstall it and when tried this I got a message 'Access is denied'
I went then to the folder where the dll resides under the c:\windows\assembly\GAC_32\ABC\12345\
where 12345 is the public key token, I tried to delete it using the DEL, or ERASE dos commands with no success.
The questions is, how to know the processes that are using this dll so I can kill them then uninstall it from the assembly folder
推荐答案
从GAC卸载它,你就可以将其删除;)
按照此链接下的说明操作:如何从GAC卸载程序集 [ ^ ]并使用第二种方法。不要忘记以管理员身份运行命令提示(右键单击并以以管理员身份运行)!
Uninstall it from GAC and you'll be able to remove it ;)
Follow the instruction under this link: How to Uninstall an Assembly from the GAC[^] and use second method. Do not forget to run comand prompt as an admin (right click and 'Run as admin')!
这篇关于当我从c:\windows \ assembly中卸载一个dll时,我得到了消息Access is deniend的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!