Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Win10 Windows PowerShell 無法使用/無法關閉?登錄表修改 ForceV2=0 修復

編輯:Windows 10 系統介紹

Win10 部分預覽版中 PowerShell 視窗開啟後無回應、無法輸入指令、甚至工作管理員無法結束進程。修改登錄表 ForceV2 值可修復此問題。

修復 PowerShell 異常步驟

  1. Win + S 搜尋 regedit 開啟登錄編輯器。
  2. 瀏覽至:HKEY_CURRENT_USER\Console
  3. 右側找到 ForceV2(DWORD),雙擊將數值資料改為 0,確定。
  4. 重新開機,PowerShell 恢復正常。
正常 PowerShell ForceV2 改為 0

背景:ForceV2 控制新版主控台宿主(ConHost v2)啟用,某些版本啟用後會導致相容性問題。設為 0 回退至舊版主控台引擎。

Copyright © Windows教程網 All Rights Reserved