簡體   English   中英

Powershell ISE 加載時崩潰

[英]Powershell ISE crash when loading

嘗試啟動 Powershell ISE 時遇到錯誤。 啟動以啟動面板中顯示的“正在加載”開始,然后出現一個對話框,顯示“發生意外錯誤,Windows PowerShell ISE 必須關閉”為解決其他問題而建議的一些步驟。

Platform: Windows 8.1 Pro

Powershell ISE product version: 10.0.14409.1005 

(Cannot open shell so cannot run cmdlet to get exect version details)

我嘗試過的事情

1 The plain Powershell shell **does** launch.    
2 Tried launching ISE with -NoProfile & -MTA switches no luck    
3 Rename powershel_ise.exe.config so it cannot be read in both System32 & WOW64 folders    
4 Upgrade .NET Framework to 4.5.1    
5 Upgrade Management Framework to 5.1    
6 Other machines within our environment with same image and patch level have **not** encountered this problem    
7 Cannot find an associated error in the Event viewer logs

我真的不想把機器吹走並重新開始,所以任何建議或修復將不勝感激

安格斯

我遇到了同樣的問題,可以通過重新創建用戶個人資料來解決此問題。

您可以以其他用戶身份登錄,並嘗試在該配置文件中運行powershell_ise(如果已運行),那么很有可能可以對其進行修復。 請具有管理員權限的人刪除您的個人資料,然后重新登錄。 或者,如果您具有管理員權限,請使用admin創建另一個帳戶,轉到系統屬性/用戶配置文件並刪除當前配置文件(只保存需要保留的文件)

“我重命名了 C:\\Users<name>\\Documents\\WindowsPowerShell 目錄並重新運行 ISE,但它沒有崩潰。我的配置文件目錄出了點問題...... – Duncan Smart 21 年 2 月 10 日 11:07 "

解決了我的類似問題! :D

Go 到 Documents C:\Users<loggedinProfileName>\Documents\WindowsPowerShell 並從 WindowsPowerShell 重命名為 Old_WindowsPowerShell 如果它因為用戶配置文件而崩潰,它將起作用。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM