Is it possible to Run Thread with identity of Local System Account ?
I have a dll , that uses Process.Start to run some tool that has UI , I'd like to hide UI from user , I thought if it possible tu run Thread / Task as Local System , the UI will not be shown.
But I can't find anything helpful on Google , maybe someone can help.
PSEUDOCODE:
Task.Run(()=>{
// Somehow need to tell use Local System to execute this part of code
MyDll.RunProcess();
// Hopefully if possible to tell it run as local system , the ui of //MyDLL.RunProcess will be hidden.
});