Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista account administration

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

Reply
 
Old 01-28-2007   #1 (permalink)
Stefan Helmig


 
 

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

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

My System SpecsSystem Spec
Old 01-31-2007   #2 (permalink)
B-rad


 
 

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

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

=Brad
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
RunAs does nothing in Vista Vista General
Impersonation Vs RunAs VB Script
Undo RunAs Vista General
RUNAS and Backup Vista performance & maintenance
RunAs Vista security


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, 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 33 34 35 36 37 38 39 40 41 42 43 44 45 46