Hi, Peter Utman
This error usually points to a damaged Windows user profile or a background program interfering with the Windows shell. Since PowerShell does not open after approval, use options that do not depend on it.
Besides the solutions provided by the Q&A Assist, here are some suggestions you can try:
Test Safe Mode. Hold Shift while selecting Power > Restart, then choose Troubleshoot > Advanced options > Startup Settings > Restart > 4. Safe Mode loads only essential drivers and services. If the taskbar works there, a startup program or third-party service is likely causing the problem. Windows startup settings
While in Safe Mode, press Windows + R, enter msconfig, and select OK. On Services, select Hide all Microsoft services, then Disable all. On Startup, open Task Manager and disable startup items. Restart normally and test again.
If the issue started recently, press Windows + R, enter rstrui.exe, and choose a restore point dated before the problem began. System Restore rolls back system files, registry settings, and installed programs without affecting personal files. Use System Restore
If Safe Mode also has the same issue, an in-place repair installation would be the next least-destructive option.
Thank you for your patience in reading, I hope this information has been helpful to you.
If the answer is helpful, please click "Yes" and kindly upvote it. If you have extra questions about this answer, please click "Comment."
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.