Computing.Net > Forums > Disk Operating System > batch file with

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

batch file with

Reply to Message Icon

Name: Argail
Date: November 19, 2003 at 03:12:03 Pacific
OS: Windows 2000
CPU/Ram: 512
Comment:

Is it possible to create a batch file with "run as" in it? to install a package and install it with "run as" Administrator...



Sponsored Link
Ads by Google

Response Number 1
Name: Kill Roy
Date: November 20, 2003 at 15:02:21 Pacific
Reply:

runas /user:<domain_name>\<user_name> <program_name>

Ex.
runas /user:d1\Administrator eventvrw

If this does not work make sure that the
RunAs service is started.

For more options open up a cmd prompt and type runas /?


0
Reply to Message Icon

Related Posts

See More


[DOS] prefix Dual boot on two primary ...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: batch file with

Problems running batch file with xcopy command www.computing.net/answers/dos/problems-running-batch-file-with-xcopy-command/5754.html

batch file with log www.computing.net/answers/dos/batch-file-with-log/205.html

email with a batch file using blat www.computing.net/answers/dos/email-with-a-batch-file-using-blat/14340.html