Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Cam Cam is offline
external usenet poster
 
Posts: 165
Default Access denied when running Excel from DOS prompt with runas comman

Hi

I am trying to open multiple instances of Excel using the runas command from
the DOS prompt. I am following the DOS command line method because the
start-menu-..Excel and selecting 'Run As' method is not working.

I get the following error when using the runas command:

runas /user:campc.mydomain.com\cam2 "
C:\Documents and Settings\All Users\Start Menu\Programs\Microsoft
Office\Excel.exe"

Enter the password for campc.mydomain.com\cam2:
Attempting to start C:\Documents and Settings\All Users\Start
Menu\Programs\Microsoft Office\Excel.exe as user "campc.mydomain.com\cam2" ...

RUNAS ERROR: Unable to run - C:\Documents and Settings\All Users\Start
Menu\Programs\Microsoft Office\Excel.exe
5: Access is denied.


The user cam2 is set up with admin privileges. How can I solve this access
error?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default Access denied when running Excel from DOS prompt with runas comman

Perhaps clicking the Excel Icon in the Quick Launch bar would be easier
way to start multiple instances?

Cam wrote:

Hi

I am trying to open multiple instances of Excel using the runas command from
the DOS prompt. I am following the DOS command line method because the
start-menu-..Excel and selecting 'Run As' method is not working.

I get the following error when using the runas command:

runas /user:campc.mydomain.com\cam2 "
C:\Documents and Settings\All Users\Start Menu\Programs\Microsoft
Office\Excel.exe"

Enter the password for campc.mydomain.com\cam2:
Attempting to start C:\Documents and Settings\All Users\Start
Menu\Programs\Microsoft Office\Excel.exe as user "campc.mydomain.com\cam2" ...

RUNAS ERROR: Unable to run - C:\Documents and Settings\All Users\Start
Menu\Programs\Microsoft Office\Excel.exe
5: Access is denied.


The user cam2 is set up with admin privileges. How can I solve this access
error?


  #3   Report Post  
Posted to microsoft.public.excel.misc
Cam Cam is offline
external usenet poster
 
Posts: 165
Default Access denied when running Excel from DOS prompt with runas co



"Bob I" wrote:

Perhaps clicking the Excel Icon in the Quick Launch bar would be easier
way to start multiple instances?

Cam wrote:

Hi

I am trying to open multiple instances of Excel using the runas command from
the DOS prompt. I am following the DOS command line method because the
start-menu-..Excel and selecting 'Run As' method is not working.

I get the following error when using the runas command:

runas /user:campc.mydomain.com\cam2 "
C:\Documents and Settings\All Users\Start Menu\Programs\Microsoft
Office\Excel.exe"

Enter the password for campc.mydomain.com\cam2:
Attempting to start C:\Documents and Settings\All Users\Start
Menu\Programs\Microsoft Office\Excel.exe as user "campc.mydomain.com\cam2" ...

RUNAS ERROR: Unable to run - C:\Documents and Settings\All Users\Start
Menu\Programs\Microsoft Office\Excel.exe
5: Access is denied.


The user cam2 is set up with admin privileges. How can I solve this access
error?


.


Sorry, I should have explained more in my original post. I have two monitors
connected to my PC. I want a different instance of Excel to kick off so that
I can place one excel window on the left monitor and another excel window on
the right monitor. That would make comparison a lot easier. The method is
given in this link: http://www.pptalchemy.co.uk/mmmagic.html

But when I try it, I get the access denied error.
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default Access denied when running Excel from DOS prompt with runas co



Cam wrote:


"Bob I" wrote:


Perhaps clicking the Excel Icon in the Quick Launch bar would be easier
way to start multiple instances?

Cam wrote:


Hi

I am trying to open multiple instances of Excel using the runas command from
the DOS prompt. I am following the DOS command line method because the
start-menu-..Excel and selecting 'Run As' method is not working.

I get the following error when using the runas command:

runas /user:campc.mydomain.com\cam2 "
C:\Documents and Settings\All Users\Start Menu\Programs\Microsoft
Office\Excel.exe"

Enter the password for campc.mydomain.com\cam2:
Attempting to start C:\Documents and Settings\All Users\Start
Menu\Programs\Microsoft Office\Excel.exe as user "campc.mydomain.com\cam2" ...

RUNAS ERROR: Unable to run - C:\Documents and Settings\All Users\Start
Menu\Programs\Microsoft Office\Excel.exe
5: Access is denied.


The user cam2 is set up with admin privileges. How can I solve this access
error?


.



Sorry, I should have explained more in my original post. I have two monitors
connected to my PC. I want a different instance of Excel to kick off so that
I can place one excel window on the left monitor and another excel window on
the right monitor. That would make comparison a lot easier. The method is
given in this link: http://www.pptalchemy.co.uk/mmmagic.html

But when I try it, I get the access denied error.


So why not put a Excel shortcut in the Quick Launch bar and click that
twice? Two instances will kick off.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access denied when running Excel from DOS prompt with runas comman Cam Excel Discussion (Misc queries) 1 April 22nd 10 06:59 PM
Excel 2007 temp files left behind AND access denied? Manning Excel Discussion (Misc queries) 0 June 20th 08 09:55 PM
Access Denied LE94553 Excel Discussion (Misc queries) 0 December 4th 07 01:29 AM
In EXCEL, access denied when deleting read only Richard G. Excel Discussion (Misc queries) 0 December 31st 05 05:54 PM
How Do You Delete an Excel File that Shows to "Access Denied" Riccoop Excel Discussion (Misc queries) 1 April 16th 05 12:16 AM


All times are GMT +1. The time now is 03:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"