"Run as" Command

  • Thread starter Thread starter Kevin
  • Start date Start date
K

Kevin

I have two limited accounts and an administrative account to protect my
computer from viruses, etc. In the limited account, some programs do not
work, so you have to go to the run as command and run the program as
administrator. I was wondering if there was a way to make the program
always run as administrator instead of typing in the password everytime. I
am using XP Pro and I tried switching the account to a power user but that
did not work.
 
-----Original Message-----
I have two limited accounts and an administrative account to protect my
computer from viruses, etc. In the limited account, some programs do not
work, so you have to go to the run as command and run the program as
administrator. I was wondering if there was a way to make the program
always run as administrator instead of typing in the password everytime. I
am using XP Pro and I tried switching the account to a power user but that
did not work.


.
IMHO - I don't believe there's a simple straightforward way
to accomplish this in WINXP. So far as I know "Run as"
with proper credentials is the best you can do here. It's
a little extra effort but you do get used to it.
 
Hi Kevin,

For Pro:

You can use the /savecred option to save it the first time the password is
entered and you dont need to enter it from then on.

You add the switch to the shortcut target. Right-click the shortcut and
select Properties, then the Shortcut tab. Edit the target line.

For example, this is the line to run Nero from a limited account:

%systemroot%\system32\runas.exe /user:computername\admin
/savecred "D:\Program Files\ahead\Nero\nero.exe"

The first time you run it, enter the password. After that it won't ask for
one again.
 

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

Back
Top