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

explorer.exe restart - folder instead of GUI #196

Open
ASHERH4X opened this issue Apr 23, 2019 · 1 comment
Open

explorer.exe restart - folder instead of GUI #196

ASHERH4X opened this issue Apr 23, 2019 · 1 comment

Comments

@ASHERH4X
Copy link

Line 52 of remove-onedrive.ps1

If you have the option to "Launch folder windows in a separate process" in "Folder Options" checked, then after running remove-onedrive.ps1, explorer.exe loads the "Computer" explorer window, instead of loading the expected start menu, taskbar, system tray.

Maybe explorer.exe didn't fully exit?

Tried it on two computers with the same results.

@ASHERH4X ASHERH4X changed the title Hang on explorer.exe restart explorer.exe restart - folder instead of GUI Apr 23, 2019
@W4RH4WK W4RH4WK added the bug label Apr 23, 2019
@W4RH4WK
Copy link
Owner

W4RH4WK commented Apr 23, 2019

taskkill.exe /F /IM "explorer.exe" should kill all instances. I guess you are right in that the explorer might not be correctly reloaded in this scenario.

However, I don't think this is an issues as the remainder of the script should be independent and a restart is highly encouraged after running the scripts.

I'll leave this issue open, but I don't think I'll spend time fixing it. Anyway, thank you for the heads-up.

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

No branches or pull requests

2 participants