Run as Administrator

R

ranch99ranch99

Is there any command switch that I can force a program to "run as
administrator". For example, I type
notepad in run window to start it, can I have some switch to run
notepad as administrator?
 
M

MICHAEL

Right click the program> Properties>Compatibility tab
and Privilege Level, Run as Administrator, at the bottom.


-Michael

* (e-mail address removed):
 
C

Chad Harris

Hi ranch--

jist kurous. Why do you have the need to run notepad as admin? What can't
you do by default that admin affords you privileges to do?

I know you don't need me to preach to you, but I'm asking to learn why.

"Running an app with elevated privileges exposes far more risk than any of
the options described earlier. It becomes very difficult to defend the
system against a malicious user or malicious software when there's an app
running as admin. A simple example: Run "Notepad" as admin, then choose
File/Open - that dialog is now a little Explorer-like window that gives you
full, admin-level access to the entire file system, and even the ability to
launch programs as admin. That can be exploited by a malicious user, or by
malware pumping keystrokes or window messages into the elevated program."

That quote was from the girls and boys on the UAC Team blog back when they
were blogging.

http://blogs.msdn.com/aaron_margosis/


CH
 
J

Jimmy Brush

Also,

To do this for a shortcut:

- Right-click the shortcut
- Click properties
- Click the "Advanced..." button on the bottom-right of the Shortcut
tab
- Check Run As Administrator

And, if you are starting something from the start search box in the
start menu, holding down CTRL and SHIFT at the same time that you
press enter will cause whatever you are starting to run elevated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top