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

Feature Request: Add "Restart Explorer" button to the top of the GUI. #265

Open
ACCESS-DENIIED opened this issue Sep 6, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ACCESS-DENIIED
Copy link

Title, really. Some mods don't trigger the automatic restart of explorer so manually opening task manager each time is tedious when a button should exist for this case. Apologies if it already exists, I cannot seem to locate it.

@m417z m417z transferred this issue from ramensoftware/windhawk-mods Sep 6, 2024
@m417z m417z added the enhancement New feature or request label Sep 6, 2024
@stamminator
Copy link

I find myself needing to do this frequently thanks to Windows 11's general UI bugginess anyway, so I just have a shortcut on the desktop to run it. This powershell script will create the shortcut for you.

$s = (New-Object -COM WScript.Shell).CreateShortcut("$env:USERPROFILE\Desktop\restart-explorer.lnk");
$s.TargetPath = "powershell";
$s.Arguments = '-c "stop-process -name explorer –force"';
$s.WorkingDirectory = $null;
$s.IconLocation = "%SystemRoot%\System32\SHELL32.dll,238"
$s.WindowStyle = 7
$s.Save();

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

No branches or pull requests

3 participants