-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
> > Just add the path of the power shell to the environment variable #17698
Comments
I tried to run Windows PowerShell as administrator, it opens but then suddenly closed automatically. Please guide me |
Can you share a copy of your %USERPROFILE%\Documents\PowerShell\profile.ps1 /? Can you also provide some more information on what issue you're experiencing? The context is a bit difficult to follow since it's coming from another thread. Thanks! |
@carlos-zamora
I have attached a video. problem.mp4 |
Does running powershell normally (not as admin)work for you/? We're probably still gonna need a copy of your powershell profile. You can find that at:
|
No it opens and then got closed suddenly. This issue is same for (1) if I run it as admin (2) if I run it normally. Let me do the process which you advised me too. Please bear with me. |
@zadjii-msft |
My dude, he is asking you for a copy of a specific file from your computer. We believe you that PowerShell is installed. We think you have a configuration that is making PowerShell fail to start. |
|
@DHowett are you referring to this? |
No. I gave you screenshots of what I was referring to. |
I see in your video that you are reporting a bug with Windows Powershell outside of Windows Terminal. I am sorry. Can you open the Run dialog with Windows+R, and run I see that you are using some sort of education software. I wonder if it is "locked down." |
@DHowett Here I posted the video and screenshot of the error that shows up in the PowerShell. PXL_20240820_163707236.mp4 |
Thank you. That error corresponds with "file not found." Your Windows installation is damaged. Please run |
Damn, that was what i fear the most, and it comes. |
The issue caused has been addressed and specific guidelines have been given by @DHowett. Thank you for sparing your precious time to address my problem. |
Thanks! I am sorry that it was complicated. 🙂 |
No problem, actually this issue arises when I installed Git Desktop app |
I did this but it does not work for mw
Originally posted by @owaisishtiaqsiddiqui in #6039 (comment)
The text was updated successfully, but these errors were encountered: