Networking Forums

Networking Forums > Computer Networking > Windows Networking > Using "runas.exe" with automatic password

Reply
Thread Tools Display Modes

Using "runas.exe" with automatic password

 
 
Marc Hoffman
Guest
Posts: n/a

 
      03-09-2005, 05:22 PM
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

 
Reply With Quote
 
 
 
 
Miha Pihler [MVP]
Guest
Posts: n/a

 
      03-10-2005, 06:53 AM
Hi Marc,

For security reasons runas does not allow you to e.g. script in a password.
If user has a right to run e.g. batch file containing runas then he/she
would be able to see the password.

I don't know what program you are using that is requiring users to be local
administrators. The main question is, what is programs doing that it would
require a local admin permissions? In some cases they only require
additional permissions on hard drive (e.g. in %windir% or some other folder)
or registry. You could try tools like FileMon and RegMon from
www.sysinternals.com (these are free tools) to figure out what is program
trying to do... You could then give users these rights without them being
local administrators.

I hope this helps.

--
Mike
Microsoft MVP - Windows Security

"Marc Hoffman" <(E-Mail Removed)> wrote in message
news:BE549B02.7FE1%(E-Mail Removed) m...
> 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
>



 
Reply With Quote
 
Marc Foster
Guest
Posts: n/a

 
      03-14-2005, 06:02 AM
"Miha Pihler [MVP]" <mihap-(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> Hi Marc,
>
> For security reasons runas does not allow you to e.g. script in a password.
> If user has a right to run e.g. batch file containing runas then he/she
> would be able to see the password.


> > ...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.

>


hi Marc,
try comandlinetool runasspc on:
robotronic.de/runasspc.html
Password is read from a cryptfile. Program is english, help in german
but runasspc is very simple to use.
 
Reply With Quote
 
Marc Foster
Guest
Posts: n/a

 
      03-14-2005, 06:14 AM
> --
> Mike
> Microsoft MVP - Windows Security
> ..
> > I'm trying to get a program to run as system login with administrative
> > privileges without giving the user at the computer admin privileges.


> > 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?
> >


Hi Mike,
try runasspc. It is very simple and secure tool. The password is
hidden in a cryptfile. You could find it on:

www.robotronic.de/runasspc.html

the help is in german but the tool is english
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change new wirless network to "on demand", instead of "automatic" tobyjones Wireless Networks 1 11-19-2009 04:18 PM
WZC bug - Network setting of "On Demand" toggles to "Automatic" craig_oz_land Wireless Networks 0 09-21-2007 09:56 PM
Re: SPEWS SLIMES "WindsorFox", "Kevin-!:?)", "Spin Dryer" get the cold shoulder at broadband ng! SneakyP Broadband 0 11-29-2005 10:46 PM
Attention Plus.net Re: SPEWS DOLTS "WindsorFox", "Kevin-!:?)", "SpinDryer" SPAM broadband newsgroup !:?) Broadband 0 11-28-2005 04:28 AM
enable "runas" under account, without log into workstations ? Hernán Castelo Windows Networking 17 12-02-2004 07:45 AM



1 2 3 4 5 6 7 8 9 10 11