Windows10 NT Shell ,using WPF Application to replace Explorer.exe

293 views Asked by At

My program can't start normally after boot,but Mark Text can start normally.

Whether I'm replacing it directly or through the Eshell.exe.

Mark Text

Did I miss something?


C++ Application can also start,WPF can't start

What is the reason?

1

There are 1 answers

0
darbid On BEST ANSWER

You don't really give much to go on.

I am guessing you want to Enable and Configure a Shell Launcher.

In the link they give the example as follows;

$ShellLauncherClass = [wmiclass]"\\localhost\root\standardcimv2\embedded:WESL_UserSetting"

$ShellLauncherClass.SetDefaultShell("notepad.exe",1)

$ShellLauncherClass.SetEnabled($TRUE)

Here is another resource on How to configure shell launcher