Limited A/c's & "Run As"

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

How do I automate starting a utility, in a limited A/c, which requires
admin permission. I require this for only a home PC. I'm trying to find a
way to avoid keying in a p/w when I use 'Run As', I've looked into scripting
but I couldn't find a way to do it? any ideas anyone? I'm using XPpro.

T.I.A.

Regards
 
Rod,

You can use the RUNAS utility with the /SAVECRED switch. For example if you
logged onto the limited account and wanted to have the user run notepad in
the admin account you could do this at the command prompt:

runas /user:Administrator /savecred notepad.exe

The first time you run this you will be asked for a password. But after
that using the same command will note require you to re-enter the password.
So if say you wanted a specific appliction, you can do that against it then
perhaps create a Batch file that launches it using the command string.

Regards

Mike Bright MCP, MSP

e:[email protected]
 
Mike might not have made this clear.

Using the /SAVECRED switch will allow the user access to all applications on the machine, using RUNAS, not just the one you want to allow the user to run.
 
Hi,

Ok Thanks for the info, Yes I think I understand Doug from a previous post
that using /Savecred will give access to all programs, which will seem to
defeat the purpose of having a limited A/C. I have managed to load one
utility as a service, but The are some programs I would prefer admin access,
although if I look into it more I might be able to adjust file permissions.

Regards
 
Back
Top