microsoft.powershell.gpowershell.dll Error in Windows 11: Windows PowerShell graphical host checks

A Windows PowerShell graphical host can fail during startup and its event can name the GPowerShell assembly. If the message names microsoft.powershell.gpowershell.dll, note the full file path, error code and the time it happened.
Microsoft lists microsoft.powershell.gpowershell.dll in Windows 11 servicing. A file version in the listing is 10.0.26100.8737. The troubleshooting below concerns a Windows 11 report that names the exact file. Compare the actual package, path and Windows edition before repairing an isolated application or Windows component.
Identify where the error starts
- Compare opening a normal Windows PowerShell console and the graphical host. Capture the exact executable, version and module path.
- If the dialog has no path, open Event Viewer → Windows Logs → Application and look for an entry at the incident time. Record the app and named module when shown.
Repair the affected app or Windows feature
- If the graphical Windows component alone fails, use the approved Windows repair route and retain existing scripts. Restore an app-local host only from its publisher’s installer.
- Leave the installed DLL in place. Use the complete signed publisher package or the documented Windows servicing route.
Check that the repair worked
Open the same graphical host and load a harmless local script without running it. Verify that the startup fault no longer occurs.
If the same error remains, keep its exact wording, the named process or feature, the Windows build and what changed. Bring those details to the application vendor or the administrator responsible for the affected component.
References and related checks
Start with Microsoft’s Windows PowerShell ISE guide and Microsoft’s Windows system-file repair sequence. Use Microsoft’s exact KB5095093 file list (CSV) to check the exact filename. The listing is evidence of the file in the Windows update. Apply current supported servicing for your build. Continue with the related PC Repair Atlas troubleshooting guide or look up a different error in the exact-filename DLL library.