Windows 7 Forums


Windows 7: Runas Different User Batch File

10 Jun 2010   #1

Windows 7
Raleigh, NC
 
 
Runas Different User Batch File

I'm not sure where this post is best fitted at but here it is anyway. I'm having difficulty running this batch file both. Note: UAC is turned on.

runas /user:domain\username /savecred "mmc C:\Program Files\Quest Software\ActiveRoles Server\MMC\ActiveRoles Server.msc"

When I run this command in a cmd I get the following error:

RUNAS ERROR: Unable to run - mmc C:\Program File
ver\MMC\ActiveRoles Server.msc
740: The requested operation requires elevation.

I ran the cmd.exe with an Administrative account though. Also, the username I'm using to open the application is an Administrative account on the local machine.



Any clues.
My System SpecsSystem Spec

Reply

 Runas Different User Batch File problems?



Thread Tools



Similar help and support threads for: Runas Different User Batch File
Thread Forum
Solved Batch File that grabs file names from folder to insert into batch file General Discussion
Help required creating batch file to read .csv file General Discussion
batch file open file for program in the startup folder General Discussion
How to create a batch file that will move files based on the file type General Discussion
Batch file to run MMC as a different domain user? General Discussion


All times are GMT -5. The time now is 09:25 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32