Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Administration > runas /user:USER problem and a strange behavior of runas

Reply
Thread Tools Display Modes

runas /user:USER problem and a strange behavior of runas

 
 
Stefan Helmig
Guest
Posts: n/a

 
      01-28-2007
Hallo NG,

if I try to use the runas command in a batch
file or in a shortcut like:

C:\Windows\System32\runas.exe /profile
/user:MYMACHINE\stduser C:\Windows\System32\notepad.exe

or

C:\Windows\System32\runas.exe /noprofile
/user:MYMACHINE\stduser C:\Windows\System32\notepad.exe

I get the following error:

C:\>notepad.lnk
Enter the password for MYMACHINE\stduser:
Attempting to start C:\Windows\System32\notepad.exe as user "MYMACHINE\stduser" ...
RUNAS ERROR: Unable to run - C:\Windows\System32\notepad.exe
1060: The specified service does not exist as an installed service.

C:\>

Since about two weeks I get this error, but I
don't know how to fix that.

btw: notepad.exe is available and there is no
problem to start it in a normal way. I'm just wondering
why the system say "The specified service does not
exist..." if I would like to run at an another user.
I know, it's just a usal program, not a service... :-(

I hope that somebody can help me to fix this
and perhaps explain what's wrong in my system.

S
 
Reply With Quote
 
 
 
 
B-rad
Guest
Posts: n/a

 
      01-31-2007
Are you running it elevated? Or have you checked the "Run Elevated" dialog
in the batch files properties?

=Brad
 
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
Undo RunAs momo2804@gmail.com Windows Vista General Discussion 3 04-26-2008 01:35 PM
runas explorer /separate docdreams@yahoo.com Windows Vista Security 2 03-10-2008 01:49 PM
RUNAS and Backup Julian Davidson Windows Vista Performance 1 01-22-2008 05:05 PM
Bypass RunAs pjw lignon Windows Vista Security 7 09-23-2007 03:58 PM
RunAs acolmano Windows Vista Security 1 02-12-2007 03:09 PM



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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59