Cannot start PowerShell


Anixx

Active member
Member
Local time
11:47 PM
Posts
308
OS
Windows 11
When starting Powershell, a window quickly appears and then disappears.

On the other hand, Powershell starts well from CMD console.

I also tried to install PowerShell 7, and it also quickly displays window and exits.

Powershell worked well before on this installation, so it is a result of some of my actions. Please, help.
 

My Computer

System One

  • OS
    Windows 11

FreeBooter

Well-known member
Power User
VIP
Local time
11:47 PM
Posts
950
Location
Adana
OS
Windows 11
Are you trying to execute PowerShell script?
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

Anixx

Active member
Member
Thread Starter
Local time
11:47 PM
Posts
308
OS
Windows 11
Are you trying to execute PowerShell script?
No, just to start PowerShell using shortcuts in Control Panel/Windows tools, that were there by default. And PowerShell 7 also with standard shortcut from the start menu.
 

My Computer

System One

  • OS
    Windows 11

FreeBooter

Well-known member
Power User
VIP
Local time
11:47 PM
Posts
950
Location
Adana
OS
Windows 11
You can repair or reset Windows Terminal from Apps --> Apps & features.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

FreeBooter

Well-known member
Power User
VIP
Local time
11:47 PM
Posts
950
Location
Adana
OS
Windows 11
Sorry at Settings app.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

FreeBooter

Well-known member
Power User
VIP
Local time
11:47 PM
Posts
950
Location
Adana
OS
Windows 11
2021-10-23_5-59-52.png
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

Anixx

Active member
Member
Thread Starter
Local time
11:47 PM
Posts
308
OS
Windows 11
I do not have such app installed, I use cmd.exe
 

My Computer

System One

  • OS
    Windows 11

FreeBooter

Well-known member
Power User
VIP
Local time
11:47 PM
Posts
950
Location
Adana
OS
Windows 11
You must have uninstalled the Windows Terminal, if you want you can install it from Microsoft Store.

Command Prompt cannot be launch with PowerShell.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

Anixx

Active member
Member
Thread Starter
Local time
11:47 PM
Posts
308
OS
Windows 11
By the way , command cmd.exe /c start powershell starts powershell for me (but in a too big window with big font).
 

My Computer

System One

  • OS
    Windows 11

FreeBooter

Well-known member
Power User
VIP
Local time
11:47 PM
Posts
950
Location
Adana
OS
Windows 11
You can start the PowerShell from Start Menu search for powershell.

You can open Command Prompt and type Powershell to switch to it.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

Anixx

Active member
Member
Thread Starter
Local time
11:47 PM
Posts
308
OS
Windows 11
Command Prompt cannot be launch with PowerShell.
How do people start Powershell in Windows 8?

From command prompt powershell starts well for me in the same console window, and the command cmd.exe /c start powershell either from a console or from "Run.." dialog starts powershell in a separate blue window. But the default shortcuts do not work.
 

My Computer

System One

  • OS
    Windows 11

FreeBooter

Well-known member
Power User
VIP
Local time
11:47 PM
Posts
950
Location
Adana
OS
Windows 11
Maybe Windows system files corrupted open the Command Prompt and execute Sfc /scannow command.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

FreeBooter

Well-known member
Power User
VIP
Local time
11:47 PM
Posts
950
Location
Adana
OS
Windows 11
Maybe Powershell 7 causing the problem.

Make sure to execute Sfc command.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

Anixx

Active member
Member
Thread Starter
Local time
11:47 PM
Posts
308
OS
Windows 11
Well, absolutely the same file does not start when directly executed, but works via cmd /c start.
 

My Computer

System One

  • OS
    Windows 11

FreeBooter

Well-known member
Power User
VIP
Local time
11:47 PM
Posts
950
Location
Adana
OS
Windows 11
There is no option to repair PowerShell same goes with Command Prompt if it's not launching it could be because of corrupt system files.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
Top Bottom