Forum Discussion
Can not run commands within command line, PowerShell or other terminals
- Jan 08, 2024
Harm_Veenstra I've Solved it, as it was missing the following Paths in "Paths" In system variables:
%SystemRoot%\system32 %SystemRoot% %SystemRoot%\System32\Wbem %SYSTEMROOT%\System32\WindowsPowerShell\v1.0\ %SYSTEMROOT%\System32\OpenSSH\It did not contain the paths, so they could not execute the commands, thank you for suggesting that the issue could have arisen from environment variables
Correct:
Correct "path"Incorrect:
Incorrect "path"
Any update?
Harm_Veenstra I've Solved it, as it was missing the following Paths in "Paths" In system variables:
%SystemRoot%\system32
%SystemRoot%
%SystemRoot%\System32\Wbem
%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
%SYSTEMROOT%\System32\OpenSSH\It did not contain the paths, so they could not execute the commands, thank you for suggesting that the issue could have arisen from environment variables
Correct:
Correct "path"
Incorrect:
Incorrect "path"
- xu7Jan 09, 2024Copper Contributor
Uninstall reinstall then sfc /scannow then takeown /f * netuser (setup) then chkdsk if still no then try roll back of update and or feature Theo_suarez
- Jan 08, 2024
Theo_suarez Ah, nice to hear! Glad it's fixed 🙂
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.
If one of the posts was helpful in other ways, please consider giving it a Like.- Vern_AndersonJan 08, 2024Copper Contributor"help" is actually a function that calls Get-Help and pipes the output to more.
Use the full command Get-Help and it will not require having the more executable in your path or on your system.