microsoft.powershell.consolehost.dll Error in Windows 10 and 11: PowerShell console host startup

PC Repair Atlas cover with microsoft.powershell.consolehost.dll and the title PowerShell console host startup

An interactive console may fail before showing a prompt while the same script starts in another PowerShell host.

The Windows file inventory identifies microsoft.powershell.consolehost.dll as Microsoft.PowerShell.ConsoleHost. Capture the actual error, file path and Windows build before making changes.

Check where the error occurs

Open the intended executable without its profile. Compare its version and ConsoleHost name with the working host.

Repair the affected feature

Back up and repair the affected profile if a clean host works. Use the official installer or Windows servicing when the underlying console assembly fails to load.

If Windows reports corruption of a protected system file, use Microsoft’s system file repair procedure. Obtain software and drivers through Windows Update or the applicable publisher.

Verify the repair

Open a regular session twice and confirm its prompt and a harmless command both work.

See the publisher’s guidance, the exact Windows file record, and the related PC Repair Atlas guide.