Jump to content

automatic runas with password


Recommended Posts

Guest maren
Posted

I'm trying to get a program to run as system login with administrative

privileges without giving the user at the computer admin privileges. Putting

a "runas" statement in the logon script that gives the program in question

administrative privileges. However...

 

....I can't seem to find a way to add the proper administrative password in

the runas.exe syntax. When the script is run, it prompts the user for the

password for the administrative account it is attempting to run as.

Obviously, we do not want our users to know the administrative passwords. We

need runas to automatically enter the administrative username and password

credentials so that the program will run with admin privileges

transparently, not prompting the user.

 

 

Any ideas on this?

 

 

Thanks in advance.

 

 

Marc

  • Replies 2
  • Created
  • Last Reply

Popular Days

Guest Card Reader
Posted

Re: automatic runas with password

 

maren wrote:

> I'm trying to get a program to run as system login with administrative

> privileges without giving the user at the computer admin privileges. Putting

> a "runas" statement in the logon script that gives the program in question

> administrative privileges. However...

>

> ...I can't seem to find a way to add the proper administrative password in

> the runas.exe syntax. When the script is run, it prompts the user for the

> password for the administrative account it is attempting to run as.

> Obviously, we do not want our users to know the administrative passwords. We

> need runas to automatically enter the administrative username and password

> credentials so that the program will run with admin privileges

> transparently, not prompting the user.

>

>

> Any ideas on this?

>

>

> Thanks in advance.

>

>

> Marc

>

>

Hi,

RunasSpc on robotronic.de/runasspcen.html

enables you to run programs that require administrator privileges,

without the need to enter the administrator password each time. It works

similar to the Windows RunAs command, but allows you to store the RunAs

login information in an encrypted file, which can then be called via

command line to launch a specific program with administrator privileges.

This allows you to provide users with access to program that require

admin rights, without having to provide them with elevated account

privileges. A simple administration interface is provided to generate

the cryptfile.

 

 

I hope it helps

Guest Marius
Posted

RE: automatic runas with password

 

Hi Marc,

 

this is not possible, see the following article:

 

http://www.microsoft.com/technet/security/guidance/serversecurity/administratoraccounts/aapgch03.mspx

 

Note: It is not possible to input the password as a command-line parameter

to runas.exe, because it would not be secure to do so.

 

Altough it is not recomanded you can find similar tools on the internet that

will satisfy your needs.

 

Regards

Marius Bejan

 

 

 

"maren" wrote:

> I'm trying to get a program to run as system login with administrative

> privileges without giving the user at the computer admin privileges. Putting

> a "runas" statement in the logon script that gives the program in question

> administrative privileges. However...

>

> ....I can't seem to find a way to add the proper administrative password in

> the runas.exe syntax. When the script is run, it prompts the user for the

> password for the administrative account it is attempting to run as.

> Obviously, we do not want our users to know the administrative passwords. We

> need runas to automatically enter the administrative username and password

> credentials so that the program will run with admin privileges

> transparently, not prompting the user.

>

>

> Any ideas on this?

>

>

> Thanks in advance.

>

>

> Marc

>

>

>


×
×
  • Create New...