Hi,
there are dozend of threads to this I know, but I still dont get it since they are somehow contradictiv.
RunAs( @UserName ,@ComputerName, "myPass" , 0 ,@ComSpec, "" ,@SW_SHOW)
This does not start a cmd with adminrights for me
- Win8 x64
- logged in as admin
If I use #requireAdmin it works even without "RunAs". But I got the damn password, and this should allow me
to skip the uac -prompts and what is the purpose of "RunAs" if not that? I cannot automate if UAC is prompted
I read