Skip to content
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

Restarting explorer.exe with PSInvoker opens "file explorer" instead #2

Open
bertelsenbo opened this issue Jun 4, 2024 · 1 comment

Comments

@bertelsenbo
Copy link

bertelsenbo commented Jun 4, 2024

taskkill /f /im explorer.exe
Start-Process explorer.exe

Expected result: Windows explorer process restarting - executing script without PSInvoker works as expected

However, when using PSInvoker it results in explorer being killed, and 'File Explorer' starting (without relaunching explorer.exe)

@sandytsang
Copy link
Contributor

sandytsang commented Jun 13, 2024

Hi. @bertelsenbo

Tested, same result. Not sure why. Before we have time fix this, if you only use:

Stop-Process -Name Explorer

That will restart explorer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants