Re: Service Control (SC) Syntax help



Hi termv,

Can you run the SC command with credentials that are administrative on the
target machine. That should work just fine.

If this is a once off & not a script - then start a command prompt using
"Runas" and enter your credentials for the remote box.

CreateWindow
http://justpageprobe.com
The FREE Web page utility you always wanted.
Keep your router connected.
Email your IP to where you need it.
Monitor your enterprise Web Servers.



"termv" <jim.haadsma@xxxxxxxxxxxxxxxxx> wrote in message
news:1177944320.830088.90850@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Recieving error:

C:\>sc \\172.29.13.104 start MYSRVC2
[SC] OpenSCManager FAILED 5:

Access is denied.

Have tried using obj=, password=

sc \\172.29.13.104 start MYSRVC2 obj= jimh password= 1pacifiC

Any help GREATLY appreciated!

Jim



.



Relevant Pages

  • Using ksu for authenticated su-- problem
    ... We are trying to enable a user to execute a command as another user ... the second user's credentials already. ... usera% kinit userb ... we've be able to set up .k5login or .k5users to allow limited ...
    (comp.protocols.kerberos)
  • RE: NT "net use" Malfunctions
    ... run the command "NET USE" from the command line and it will ... show you all current connections, it might just be that your machine has ... > You can't map drives using DIFFERENT credentials to the SAME server. ...
    (Security-Basics)
  • RE: Running Net Use or AT command as different user
    ... Seclogon has a problem, work "on line" only. ... That means there isn't a way to pass credentials in "batch ... The related command is "runas". ... This bug is documented by Microsoft that fixed it. ...
    (microsoft.public.windows.server.scripting)
  • RE: NT "net use" Malfunctions
    ... Using the /user command allows you to assign the credentials of another user ... when mapping drives. ... Subject: NT "net use" Malfunctions ...
    (Security-Basics)

Quantcast