1

Is it possible to just run a single command as admin without actually opening a window as admin ?

1 Answers1

0

Is it possible to just run a single command as admin without actually opening a window as admin ?

You can run a command from a standard user account. But when / if the command requires admin credentials to run, it will pop up a sub-window to obtain the admin userid and password.

You can also run a command from the Start Menu. Press Start and type the command. That works.

But you will still be challenged for Admin Userid and Password.

That is the way Windows works in this situation.

So what I have described is not opening an admin window to run a command, but rather to run the command and satisfy the request for admin user id and password.

Scheduled tasks can store the admin credentials and so can run to a schedule without further asking for credentials but that did not seem to be the case here.

So no matter which method above, you do have to supply admin userid and password to run an admin command.