[SOLVED] powershell windows 10 open and close instantly

Tom_223

Distinguished
Apr 15, 2017
43
0
18,540
i cant open power shell on my windows 10 1909 for some reason
when i open power shell it will show up for a millisecond and then close itself
i didn't found a solution for this on the web yet thought i could find help here
 

Tom_223

Distinguished
Apr 15, 2017
43
0
18,540


that is the error i get related to powershell

Description
Faulting application name: PowerShell_ISE.exe, version: 10.0.18362.1, time stamp: 0x91d046d9
Faulting module name: KERNELBASE.dll, version: 10.0.18362.628, time stamp: 0xf96f12ee
Exception code: 0xe0434352
Fault offset: 0x000000000003a839
Faulting process id: 0x30e0
Faulting application start time: 0x01d5e4c80c6c2b2d
Faulting application path: C:\Windows\system32\WindowsPowerShell\v1.0\PowerShell_ISE.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: 81fac625-e71a-4fc2-a931-345e8d7fc8fe
Faulting package full name:
Faulting package-relative application ID:
 

Tom_223

Distinguished
Apr 15, 2017
43
0
18,540
by the way if i try to lunch powershell in cmd i get the following messenger
C:\Users\tomzi>powershell
Windows PowerShell terminated with the following error:
Could not load file or assembly 'System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The module was expected to contain an assembly manifest.
 

Ralston18

Titan
Moderator
Solution

Tom_223

Distinguished
Apr 15, 2017
43
0
18,540
Two immediate suggestions:

1) Via the command prompt run "sfc /scannow". Reason: possible file corruption.

Reference:

ttps://www.lifewire.com/how-to-use-sfc-scannow-to-repair-windows-system-files-2626161

2) Reinstall Powershell. Reason: Old version installed.

As I understand your post, Version 1.0 is currently installed.

Reference:

https://techcommunity.microsoft.com...-and-update-powershell-6-one-liner/m-p/364948
thx for replying
1)i used sfc/ scannow but no violation were found
2)i dont want to use powershell core
i need windows powershell and nor core ver