How to restart explorer without taskkill
See the question and my original answer on StackOverflowYou can use the Restart Manager API:
The Restart Manager stops applications in the following order, and after the applications have been updated, restarts applications that have been registered for restart in the reverse order.
- GUI applications
- Console applications
- Windows services Windows
- explorer