LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 84
Default Access denied when running Excel from DOS prompt with runas comman

On 4/21/2010 3:02 PM, Cam wrote:
Hi

I executed the following command from the DOS prompt:

runas /user:mypc.domain\dummyuser2 "C:\Documents and Settings\All
Users\Start Menu\Programs\Microsoft Office\Excel.exe"

I got the following prompt:
Enter the password for mypc.domain\dummyuser2:

After entering the password, I got the following messages:
Attempting to start C:\Documents and Settings\All Users\Start
Menu\Programs\Microsoft Office\Excel.exe as user "mypc.domain\dummyuser2" ...
RUNAS ERROR: Unable to run - C:\Documents and Settings\All Users\Start
Menu\Programs\Microsoft Office\Excel.exe
5: Access is denied.

BTW, I had to use the 'runas' from the command prompt because the
shift-rightmouseclick and 'run as' from the start menu did not work.

Thanks

Does Excel start if you start it normally, i.e. not using runas?

Why do you need "runas"?

Bill
 
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
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
Access denied richn Excel Discussion (Misc queries) 4 October 30th 07 01:07 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 02:02 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"