On *nix systems, you can get a root shell like so:
$ su # or 'sudo -s' #
The root shell is spawned in place within the same terminal.
I'm trying to find something that does a similar, in-place elevation on the Windows Command Prompt. In other words, it should not spawn a new window or display UAC prompts. So far I've been able to make a scheduled task that bypasses UAC, but the elevated Command Prompt window is not spawned in place.
Is there a similar command for Windows that does an in-place elevation without spawning a new window?