How do I replace the system shell (explorer.exe) with another process in Windows 10?

8

3

This is for Windows 10.

Is there a way to replace explorer.exe with, for example, a powershell script?

I'm looking to start a custom shell application without having to have explorer.exe run in the background or handle the startup of those items.

EDIT: Since I'm getting down voted... I was capable of doing something similar in Windows Embedded 7 Standard. I added a key called Shell to

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System

The key added there had Powershell.exe with command line options to execute script silently. There I was able to execute my custom shell.

This does not work with Windows 10.

stamps

Posted 2015-12-21T17:16:39.263

Reputation: 91

Answers

9

This is stored in the key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell

Replace this with whatever you want, but the software it loads in place will then need to provide a way to log out/shut down/restart the machine, or you'll need to use Task Manager to do so.

Jonno

Posted 2015-12-21T17:16:39.263

Reputation: 18 756

I tried this, however my tablet got bricked. Windows 10 Pro 1607. Need to custome shell a classic windows app, W10Pro admits just UWA. How dis you use your proposed answer? – digitai – 2017-05-02T21:26:00.403

What is the task manager executable path in windows 10 pro? – YumYumYum – 2019-10-17T21:05:03.353