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

Posted: 01-28-2007, 10:42 AM
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

Responses to "runas /user:USER problem and a strange behavior of runas"

B-rad
Guest
Posts: n/a
 
RE: runas /user:USER problem and a strange behavior of runas
Posted: 01-31-2007, 06:51 PM
Are you running it elevated? Or have you checked the "Run Elevated" dialog
in the batch files properties?

=Brad
Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may 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 On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Install Adminpac and RUNAS OfficeXPSP3 Windows Vista Administration 1 11-27-2006 08:56 PM
control panel and runas Mr Major Thorburn Windows XP Configuration & Management 1 10-27-2004 08:25 AM
Runas for Network Connection rcir88 Windows XP Configuration & Management 1 10-22-2004 06:35 PM
MMC and runas issue hoffa316 Windows XP Help & Support 0 10-29-2003 01:47 PM
Runas local user from another machine Jeff Smith Windows XP 0 07-10-2003 02:14 PM