V
V
VadNov2011-01-30 06:51:42
Windows
VadNov, 2011-01-30 06:51:42

Why is there no other button in the Run dialog in Windows 7?

Due to the introduction of UAC in Windows Vista and later in Windows 7, it became necessary to run some commands as an administrator. But, the question arises - why couldn't you make a simple checkmark or button in the "Run" dialog - run as administrator? She is so lacking.
675989e8.jpg

Answer the question

In order to leave comments, you need to log in

9 answer(s)
A
Antelle, 2011-01-30
@VadNov

Because this can be done by pressing Win → (enter exe file) → ctrl+shift+enter.
A simple user from the admin rarely needs to run, and the rest seem to know about this hotkey.

E
eforce, 2011-01-30
@eforce

I use shortcuts for such purposes:
Create a Command Prompt Shortcut with Admin Rights

R
rispen, 2011-01-30
@rispen

If I'm not mistaken, but the "OK" button with a shield is the launch with administrator rights

L
Lev Lybin, 2011-01-30
@lybin

MS Corp. you need to read the section on user interfaces on Habré :)
Well, try to unsubscribe - they answer, even on the phone, but the answers are sometimes so stupid, a friend called, he was told that you have a lot of piracy in Russia and therefore.

R
Robotex, 2011-01-30
@Robotex

Maybe because Microsoft employees didn't think about it? Maybe you should write to their technical support, and not here?

A
Alexey Grichenko, 2011-01-30
@Kalobok

It seems to me that the problem is contrived. Most programs that require elevated rights ask about them themselves. And if you really needed to run something on behalf of a real admin, it’s better for the user to find the right program himself and right-click it - an extra layer of protection from a fool. In my practice, such a launch was required 2-3 times in a couple of years in exceptional situations. Why shove it into the standard interface, and even in the first place?

M
Mikhail Priver, 2011-01-30
@mpriver

If you disable UAC, then everything that starts with Win + R will run with administrator rights. If there is no desire to disable UAC, then the only way is as described above, through the Win key and enter in the search bar

@
@ntkt, 2011-01-30
_

And from Vista, I dug in my% PATH% such a sudo.vbs file:

argc = WScript.Arguments.Count
set argv = WScript.Arguments
if argc < 1 then
	WScript.Echo "Usage: sudo <command> <arg1 arg2 .. argN>"
	WScript.quit
end if
dim str
for i = 1 to argc-1
	str = str + " " + argv(i)
next
set objShell = CreateObject("Shell.Application")
objShell.ShellExecute argv(0), str, "", "runas", 1

V
Vladimir Chernyshev, 2011-01-30
@VolCh

runas /user: notepad administrator
:)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question