E
E
Elnur Tazhimbetov2018-11-05 18:24:15
cmd/bat
Elnur Tazhimbetov, 2018-11-05 18:24:15

How to run a command as administrator?

@Echo off
net stop "Windows Audio"

Should this be done in such a way that it runs as administrator?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Radjah, 2018-11-05
@tazhimbetov

In case of difficulties with runas, I can recommend the NirCmd program .
You will be prompted by UAC to run the command as an administrator.

#
#, 2018-11-05
@mindtester

C:>runas /?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question