C
C
Constantine2020-07-07 13:18:46
System administration
Constantine, 2020-07-07 13:18:46

Is there an equivalent to su on Windows?

Linux has the ability to "log in" as a different user using su (or sudo with the -u flag) and without asking for a password. Windows systems have runas, but it asks for a password even if I'm an administrator. Is it possible to run a program, like runas, but without asking for the password of the user from whom we run it?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
R
Ronald McDonald, 2020-07-07
@psycho-coder

but without asking for the password of the user from whom we run it?

Phaha.
No.
They decided not to drag such a hole from the ancient Unixes.

F
frundrwood, 2020-07-07
@frundrwood

runas /savecred will help you

A
Artem @Jump, 2020-07-07
Tag

Is there an equivalent to su on Windows?runas

Windows systems have runas but it asks for a password
runas /savecred

C
CityCat4, 2020-07-07
@CityCat4

What for? On Windows and on Linux - if you are an administrator, the user cannot hide anything.
The use of su [account] in such a context is mainly the work of pseudo-users, on behalf of which scripts are run.

J
John Smith, 2020-07-07
@ClearAirTurbulence

https://www.sordum.org/8727/runastool-v1-4/
Enter the program as an admin, add programs, create shortcuts, run through these shortcuts, it does not ask for a password.
Created to let the admin run programs under the admin
:) if a stupid but cunning user decides to rename something to a program that is allowed in this way, it will not run (assuming a different size). Against the vast majority of users, of course, it will work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question