繁体   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