1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2024-11-27 17:00:59 +01:00
This project aims to enhance the working environment on Windows
Go to file
Valentin Radu 1738b45866 Setup: explorer will restart using the token it was running under before starting application maintenance
The patch has been adapted to employ the old behavior when setup is
elevated using the same credentials, while using the updated code with
`CreateProcessWithTokenW` when otherwise.

Original description (via email):

"I have two accounts on my Windows machine: A normal one that is a
standard user (not admin) which I use as my main account where I have
ExplorerPatcher installed and configured, and an Admin account which is
 a Windows administrator account.

During installation and update the installer restarts itself and
requests admin privileges. For this I have to provide the password to
the Admin account. The installer then runs as that Admin user, stops
the explorer process, installs ExplorerPatcher and then tries to start
the explorer again. But the explorer never starts, which leaves me with
 an empty screen and a session without an explorer. I can then start a
Taskmanager via Ctrl + Shift + Esc and manually start the explorer, but
 this is annoying and maybe even frightening for a nontechnical user.

The reason why the explorer is not started again is that it is started
as the wrong user. It is started as the Admin user, which isn't logged
in so the explorer quits immediately.

The fix is to remember the user that the explorer was running under and
then start the new explorer for that user. I have tested these changes
in a Windows 11 virtual machine, by installing and uninstalling for a
standard user, as well as installing and uninstalling for an
administrator user."

Original patch: https://github.com/Abestanis/ExplorerPatcher/tree/fix_explorer_restart
Credit @Abestanis
2023-03-18 05:28:13 +02:00
.github/workflows Build.yml: Fix compilation on windows-latest 2022-02-19 14:17:16 +02:00
ep_dwm@716bb1d594 ep_dwm: Fixed use-after-free bug; fixed incorrect check for running dwm instances 2022-09-11 13:27:59 +03:00
ep_extra Version: 22621.1344.53.1 2023-03-01 21:29:35 +02:00
ep_extra_valinet.win7alttab ep_extra: Implemented a loadable module for Windows 7's Alt-Tab 2023-03-01 20:35:31 +02:00
ep_generate_release_description Fixed tiny typo 2021-11-15 04:05:04 +02:00
ep_generate_release_name Removed resource.h from ep_generate_release_name 2021-11-14 18:27:01 +02:00
ep_setup Setup: explorer will restart using the token it was running under before starting application maintenance 2023-03-18 05:28:13 +02:00
ep_setup_patch When an update is available, the notification displays the version of the update; The updater correctly detects when the current version is a pre-release but the user has switched the update channel to stable and does not suggest the older stable version as an update anymore (multiple reports, #540, #710) 2022-01-22 21:12:18 +02:00
ep_startmenu StartMenu: Explicit ordinal for GetCmdArguments 2022-02-26 13:28:53 +02:00
ep_weather_host Weather: Fixed a bug that displayed the widget area using a different background color 2023-03-01 20:41:09 +02:00
ep_weather_host_stub Weather: Display last time of update in Properties 2022-03-14 04:53:48 +02:00
ExplorerPatcher Setup: explorer will restart using the token it was running under before starting application maintenance 2023-03-18 05:28:13 +02:00
libs All: Protect against crashes caused by failure to patch the IAT 2022-11-17 01:28:31 +02:00
.gitignore Housekeeping 2021-10-13 03:38:38 +03:00
.gitmodules Option to disable rounded corners for windows 2022-01-21 13:06:46 +02:00
CHANGELOG.md Version: 22621.1344.53.1 2023-03-01 21:29:35 +02:00
debug.h Tons of bug fixes, quality improvements, proper startup, avoid double patching 2021-10-25 06:07:19 +03:00
ExplorerPatcher.sln Version: 22621.1344.53.1 2023-03-01 21:29:35 +02:00
FUNDING.yml Create FUNDING.yml 2021-11-10 04:17:17 +02:00
LICENSE Initial commit 2021-08-09 17:17:24 +03:00
README.md All: Support for Windows 10 2022-02-20 18:35:33 +02:00
version.h Version: 22621.1344.53.1 2023-03-01 21:29:35 +02:00

ExplorerPatcher

This project aims to enhance the working environment on Windows.

PayPal donations: here or using e-mail address valentingabrielradu@gmail.com

Build status

Feature summary

  • Choose between Windows 11 or Windows 10 taskbar (with labels support, small icons and lots of customization).
  • Disable Windows 11 context menu and command bar in File Explorer and more.
  • Open Start to All apps by default, choose number of frequent apps to show, display on active monitor and more.
  • Choose between the Windows 11, Windows 10 and Windows NT Alt-Tab window switcher with customization.
  • Lots of quality of life improvements for the shell, like:
    • Skin tray menus to match Windows style, make them behave like flyouts and center them relative to the icon.
    • Choose action when left and/or right clicking the network icon.
    • Revert to the Windows 7 search box in File Explorer, or disable Windows Search altogether.
    • Disable immersive menus and use mitigations that help you run the real classic theme without glitches.
    • Learn more about all the functionality offered by this program starting with this article in the wiki, here.

Some features may not be available on Windows 10.

How to?

  1. Download the latest version of the setup program.
  2. Run the installer. It will automatically prompt for elevation, after which it will install the necessary files.
  3. When done, you will be greeted with the familiar Windows 10 taskbar. To customize the options offered by the program, right click the taskbar and choose "Properties".

That's it. It's that simple.

What next?

  • Consult the wiki - this is highly recommended. There you will find information about more advanced tasks, modes of operation and features offered by this patcher.
  • Get familiar with most of the features offered by this patcher here.
  • Learn how to manage updates and what to expect from new versions and new Windows builds here.
  • Have a question? Consult the Frequently Asked Questions.
  • Some other question? Open a thread in Discussions.
  • Found a bug, have an issue or a problem with the application? Read here what to do next.
  • I highly encourage you to check out the source code and tinker with it. I am open to merging new features, enhancements and fixes; also, I think it provides good insights on topics of interests in this area.

Known issues

Items marked with "bug" that are still "Open" represent known issues. Active work is undergone regarding an item if it is additionally marked with "investigating". Help is especially required for items marked with "help wanted". Consult the list in Issues.

Uninstalling

  • Use "Programs and Features" in Control Panel, or "Apps and features" in the Settings app or
  • Run ep_setup.exe /uninstall or
  • Rename ep_setup.exe to ep_uninstall.exe and run that.

Updating

  • The program features built-in updates: go to "Properties" - "Updates" to configure, check for and install the latest updates. Learn more here.
  • Download the latest version's setup file and simply run it.

More information