R
R
radioactivetoy2020-09-10 15:05:18
Windows
radioactivetoy, 2020-09-10 15:05:18

Running control panel items as a different user (domain)?

The next question is how to run the control panel or its individual elements on behalf of another user, the domain administrator, while not resorting to changing this user itself, but being logged into the local computer account with limited access rights?

It is worth noting that I tried all the superficial options that Google gives out, in particular, launching as administrator with the key pressed, creating a shortcut, launching the command line on behalf of the domain administrator, or launching it through the runas command.
The last option, according to the manuals on the network, seems to work, but I don’t.

For example the command

runas /user:[email protected] control
opens the control panel, even writes in the manager that on behalf of the desired user, but it still does not let you go to the necessary items.

runas /user:[email protected] "C:\Windows\system32\ncpa.cpl"
prompts for a password, but then gives an error that it is impossible to start, the program is not a program of the win32 environment.
At what I tried different variations, for example through mmc, the result is the same.

I also tried to extinguish explorer.exe, and run it the same way through runas, or by creating a new explorer / separate, but nothing has changed.

It is also worth noting that there are no problems with ordinary applications, in fact, each of the methods works, the problem is with the elements of the control panel or other computer management snap-ins.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis, 2020-09-10
@MAD-Kuzia

runas /user:[email protected] "control ncpa.cpl"
runas /user:[email protected] "mmc gpedit.msc"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question