Reputation: 143
In Windows 10, I replace explorer.exe to my own AppLauncher.exe in registery:
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /f /v shell /t REG_SZ /d "C:\Program Files\AppLauncher\AppLauncher.exe"
And I need to return to full desktop in my C# code:
Process newProc = new Process();
newProc.StartInfo.FileName = "explorer.exe";
newProc.Start();
But after explorer.exe is started, only file management window appears without taskbar. How can I return back to a whole desktop in my code?
Upvotes: 1
Views: 377