wpfwindows-10registrywindows-nt

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


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?


Solution

  • 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