首页 > 代码库 > 关于visual assist x插件不能用的解决方案

关于visual assist x插件不能用的解决方案

打開VS莫名其妙地彈出下面的錯誤框:

"the security key for this program currently stored on your system does not appear to be valid for this version of the program. select yes to enter a new key r no to revert +visual assist x .."

 

VA掛了!

 

百思不得其解,什麼事都沒做,就莫名其妙地掛了。

 

重裝一下吧~~

 

結果重裝的時候都會彈這個錯誤框。也是醉了。重裝都不能!!

 

於是GOOGLE了半天,沒找到方法~~~~

 

最後非常無奈地刪除所有註冊表,安裝路徑,包括TEMP,還是沒能成功。

 

只能用最後一招了!監測安裝程序到底讀了什麼文件/註冊表,來確定它根據哪裡來彈錯誤框。監測工具就是:Procmon.exe.

發現最後彈窗的時候,監測顯示讀取了註冊表路徑:HKEY_CURRENT_USER\Software\Licenses

所以很自然地就刪除了這個東東。。。但是結果悲劇了,安裝VA的時候,提示無法安裝!!!

 

最後非常無奈地向同事拿了他電腦上的註冊表配置,導入,最後成功~~~~~~~

 

註冊表如下:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Licenses]
"{R7C0DB872A3F777C0}"=hex:70,d1,fb,66
"{K7C0DB872A3F777C0}"=hex:42,22,8f,bf,db,17,1f,ff,ff,ff,ff,e5,dc,ce,f7,c7,52,  6d,59,1f,81,41,ff,9d,0b,4b,98,70,d1,fb,66,ee,69,18,c7,86,47,07,66,ff,ff,ff,  ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,  ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,  ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,  ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,9d,0b,4b,98,db,17,1f,ff,ff,ff,ff,e5,dc,ce,f7,  c7,52,6d,59,1f,81,41,ff,9d,0b,4b,98,70,d1,fb,66,ee,69,18,c7,86,47,07,66,ff,  ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,  ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,  ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,  ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,9d,0b,4b,98,00,00
"{I7538681BD5988129}"=hex:8a,06,00,00
"{07538681BD5988129}"=hex:56,3e,a8,0e,0b,a2,a7,a6,41,06,53,98,e0,a4,44,a3,73,  20,91,6e,d8,b6,05,a1,87,e8,09,9b,1f,b1,5a,23,a5,f4,d8,34,9c,d5,94,64,2f,be,  de,46,a8,fa,ae,64,bf,e9,64,52,1f,98,7a,bb,98,2a,b2,66,5a,31,a8,15,50,d0,62,  29,2a,bd,e9,2f,8e,14,02,a8,44,5f,71,8f,01,0e,9f,65,95,ba,57,d1,8b,79,97,39,  0e,93,48,5d,6e,a7,e3,cf,3e,03,77,94,f1,ea,1c,b2,c6,b6,0a,c8,81,5c,f7,8d,a6,  e2,1a,52,b5,8b,32,3a,18,c3,e4,e1,77,a8,22,49,4a

複製到TXT,保存為A.REG。導入即可。

PS本文转自賣魚人

关于visual assist x插件不能用的解决方案