無法正常解除安裝 ArcGIS Desktop時,這樣完全清除

kikita發表於2020-04-05

一般情況下,我們可以直接在“新增刪除程式”中,對 ArcGIS Desktop 程式進行解除安裝,這是推薦的方法。


但是,如果遇到異常,例如:被防毒程式不完整的刪除或手動刪除了必要的檔案等,導致 ArcGIS 無論如何也解除安裝不掉,或者即使使用光碟去修復程式也失敗,或者使用高版本的ArcGIS程式去覆蓋也報錯等。


那就需要手動清理一下了,這是最後一招,正常解除安裝程式失敗時再考慮這招……


我把有可能有的位置列在下面,對照一下,檢查是否刪除乾淨了。有些資料夾是隱藏資料夾,設定顯示出來然後刪除。



資料夾:

C:\Program Files (x86)\ArcGIS
C:\Program Files (x86)\Esri
C:\Program Files (x86)\Common Files\ArcGIS
C:\Program Files (x86)\Common Files\Esri
C:\Program Files\ArcGIS
C:\Program Files\Esri
C:\Program Files\Common Files\ArcGIS
C:\Program Files\Common Files\Esri
C:\Program Data\Esri
C:\Program Data\ArcGIS
C:\Program Data\FLEXnet
C:\Users\<USERNAME>\AppData\Local\ESRI
C:\Users\<USERNAME>\AppData\Local\ArcGIS
C:\Users\<USERNAME>\AppData\Roaming\ESRI
C:\Users\<USERNAME>\AppData\Roaming\ArcGIS
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\ArcGIS
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\E
sri


登錄檔:


HKEY_LOCAL_MACHINE\SOFTWARE\ESRI
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ESRI
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Flex LM License Manager
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\<Delete Any Folder that contains ArcGIS or Esri>
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ArcGIS Server
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\<Delete Any Folder that contains ArcGIS or Esri within>
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\FLEXnet Licensing Service
HKEY_CLASSES_ROOT\Installer\Products\<Delete Any Folder that contains ArcGIS or Esri within>
HKEY_CLASSES_ROOT\Installer\Assemblies\<Delete Any Folder that contains ArcGIS or Esri within>
HKEY_CLASSES_ROOT\<Delete and Folder that contains ArcGIS or Esri within>
HKEY_CLASSES_ROOT\Installer\Assemblies\Global\<Delete all Keys beginning with ESRI or ArcGIS>




安全設定:


Security Settings -> Local Policies -> Security Options

Locate "User Account Control: Run all administrators in Admin Approval" and change the setting from Enabled to Disabled

Uninstall: C:\Windows\assembly\Esri.* (This can be hundreds of files)

Uninstall: C:\Windows\assembly\ArcGIS.* (This can be hundreds of files)







相關文章