2017年10月11日 星期三

無法打開虛擬機Console界面 解決方案

故障狀況
  1. 無法打開虛擬機的Console畫面。
  2. 訪問虛擬機Console畫面時提示如下錯誤:
    • 无法获取 "axquickmksaxctl" 控件的窗口句柄. 不支持无窗口的activex 控件。
    • Unable to get the window handle for the "AxQuickMksAxCTL' control.
  3. 訪問Console頁標籤時提示如下錯誤:
    • Exception has been thrown by the target of an invocation.
  4. 通常這種問題發生在Windows XP、2003、2008和Windows 7系统。
故障分析
這個問題通常由於Windows系統的DEP策略處於開啟狀態導致。

解決方案
把系統的DEP策略關閉

解決步驟
  1. 使用管理者打開命令提示字元。
      • 開始 -> 所有程式 -> 附屬應用程式
      • 右鍵 命令提示字元,並選擇 以管理員身份運行
    • Win8 (參考資料)
      • WIN+X -> 命令提示字元(系統管理員)
  2. 執行下述命令關閉資料執行防止(DEP, Data Execution Prevention)
    • bcdedit.exe /set nx AlwaysOff 
  3. 移除當前的 vCenter Server Client(s)
  4. 重新啟動作業系統
  5. 重新安裝  vCenter Server Client(s)