Microsoft.PowerShell.ISECommon.dll in Windows 10

If Windows PowerShell ISE closes while it opens a script or if the fresh crash names Microsoft.PowerShell.ISECommon.dll, open the regular Windows PowerShell console from Start first. Type $PSVersionTable.PSVersion and press Enter. If the console responds, the script engine can start in that host. Next, test whether the same script or just the editing window is the problem.
Verified file details
Microsoft’s Windows 10 version 1607 KB5131291 notice links to a file list naming Microsoft.PowerShell.ISECommon.dll at version 10.0.14393.7426. The indexed servicing assembly is Microsoft.PowerShell.ISECommon. ISE is the Windows PowerShell Integrated Scripting Environment, an editor for Windows PowerShell. Microsoft’s ISE documentation explains which Windows PowerShell generation it supports. The historical package identifies the file. Use the Windows updates appropriate to the installed release.
1. Test the Windows PowerShell console independently
- Open Windows PowerShell from Start and run
$PSVersionTable.PSVersion. Save the version returned. On a PC that also has separate PowerShell releases, make sure you are testing Windows PowerShell and have opened the same user’s session. The exact host matters when your scripts depend on older modules. - Open ISE separately from Start and see whether it shows its empty editing window. Enter the same harmless version expression inside the ISE console if it opens. If the plain host works but ISE closes before the expression, save the time and treat that as an editor-specific failure.
- If the failure happens with one script, make a test copy and view it in an approved editor without running it. Check whether another ordinary script file opens in ISE. Verify that the affected file is readable and that its location is available. Keep the original file for recovery.
2. Check the faulting executable and path
- Open Event Viewer and select Windows Logs > Application. Find the most recent entry that corresponds to opening ISE. Use the faulting module walkthrough to record the executable, DLL path and exception code.
- If another approved module is named, check its documented dependency on your Windows PowerShell release. If the file name points to an app-local copy from another editor, use that app’s repair channel rather than exchanging files between products.
- If the issue appears only after loading your usual settings, save a copy of them before testing. Use an approved alternate test account if your organization provides one. Compare a clean launch on that account with the affected account. An account-specific result should go to the owner of the ISE configuration.
3. Choose the repair for the failed layer
- For a single script or editor extension, follow that resource’s owner. Keep the existing working version and file available until the repair passes. If the developer supports moving the project to a different editor, confirm its Windows PowerShell version and module compatibility before moving production work.
- When the Windows ISE itself fails on several approved accounts and the report specifically names the Windows assembly, restart and apply the updates approved for that edition. Review the product’s current support scope for old Windows installations rather than installing the historical package solely for the file.
- If several built-in Windows components still show protected file damage, use the DISM and System File Checker repair steps as an administrator. Preserve your scripts, modules and execution policy during the repair.
4. Confirm both editing and execution
- Open ISE and create a disposable local script. Enter a harmless output expression such as
Write-Output 'ISE test'. Save the test copy, reopen it and run it only if your workplace policy allows the action. A normal text result and a working editor confirm this specific test. - Reopen the original affected file without running it. Confirm it loads, then use the project’s normal approved test procedure if you need to check execution. If only the original project still fails, report its exact module and script action separately from ISE startup.
Example. ISE opens and runs the tiny test, but crashes while loading a network script. The same file cannot be read in another editor under the same account. Ask for the expected file location and permission first. If even the new local file causes a fresh Windows DLL crash, use the Windows ISE repair branch rather than modifying the original script.
If normal PowerShell works only without its profile
A profile is a script PowerShell can run while starting a host. If the normal Windows PowerShell window closes but a clean launch is permitted on your machine, read Microsoft’s Windows PowerShell executable options. Compare a regular launch with powershell.exe -NoProfile and record whether the version command works in both. This test leaves the saved profile in place.
Check which application or approved extension last changed your startup configuration and give its owner the exact error. On a managed computer ask the administrator to do that review. A working clean host and a failing normal host give the owner a starting point, especially when the crash occurs before you open a script. After any approved profile repair, retest the normal Windows PowerShell console and ISE side by side. Confirm the intended modules still appear under their documented version.
After the editor works, check the current script location in the ISE title bar or File menu before testing writes. Use a disposable file in your own folder to verify that Save works. If saving fails only in a shared folder, give the administrator that location and the permission message.