-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[Package Issue]: Microsoft.Sysinternals.ProcessExplorer #111454
Comments
You need to restart your shell to apply changes in environment variables as is said after installing the package: "Path environment variable modified; restart your shell to use the new value." |
@krystofkrticka Yes I did that. As I mentioned, running |
That's weird because I just tested it using Windows Sandbox and for me |
It really looks like that refreshing environment variables got somehow stuck for you. |
Where is the
However, for me, although |
I have it in the same path as you. That's why I tested this in Windows Sandbox to have clean unaltered testing environment. The weird thing is that I have symlink for it in |
Also sometimes you may need to restart your computer for environment variables to apply, because Windows is notorious for reboots almost everytime you change something. |
It depends on
I'll see if I can find documentation as to the exact behavior, but the TL;DR is that if the symlink can't be created in the Links folder, then the exact path to the executable is added to PATH. It's possible that there is a bug in the CLI which might be not renaming the executable if symlink creation fails, but I'd have to look |
Ok yeh. I uninstalled and then installed as admin this time and the symlink got created. Running |
So I suppose we could either close this issue as "expected behavior" or maybe change it to be (as @Trenly stated) that the exe is not getting renamed. Additionally I feel it would be nice to add a note in the CLI that "symlink could not be created cuz not admin mode" for a better user experience. |
Especially since it did say "command line alias added" which is actually incorrect. |
Yes, you can close it. I wasn't able to reproduce your issue because I automatically installed it as admin. But I agree that it would be nice it winget notified user that is was't able to create symlink. |
This would probably be the preferred path |
Feature Request: When the symlink can't be created, display an error to the CLI. |
@ryfu-msft thoughts on the best experience we can offer here? |
[Policy] Blocking-Issue |
I'm going to go ahead and close this issue since we have the one in the comment above for the CLI. |
Please confirm these before moving forward
Category of the issue
Installation issue.
Brief description of your issue
I was able to install process explorer however I cannot run it with
process-explorer
as stated after the installation completes. I had to dig around to find its install location and finally figured out that even though the install directory is added to my path, there is only a single file by the nameprocexp64.exe
in there.Steps to reproduce
Ran this in Powershell:
Actual behavior
Running
procexp64
works.Expected behavior
Per the post install instructions, I should be able to run
process-explorer
to get it to run.Environment
Screenshots and Logs
No response
The text was updated successfully, but these errors were encountered: