by zadjii · 2y ago · 0 comments
me: "Why should we be glad that Microsoft is not functional enough to make a decent product...?"
HN: flag!
Allow $PARENT_PROCESS_NAME to run $COMMAND with administrator rights.
So if you would enter the following in cmd.exe:
sudo notepad.exe ...
It would say:Allow Command Processor Shell to run notepad.exe ... with administrator rights.
Can't you call the target program directly? There must be a way, because explorer.exe is not elevated, and when you right click a program and choose "Run as administrator" you get a pop-up for the target .exe, not for Explorer.