Re: Remote SC

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Mike (mike_at_illushinz.com)
Date: 03/10/04


Date: Wed, 10 Mar 2004 18:17:17 -0500

I looked at this briefly. I dont see any options for the user/pass although
you might want to look into wmic if you insist on doing it from a command
line or from a script.

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx

"Bill Sanderson" <Bill_Sanderson@msn.com.plugh.org> wrote in message
news:%23Nn7zIuBEHA.2800@tk2msftngp13.phx.gbl...
> I won't be able to test this 'til late tonight or tomorrow morning, but
I'll
> get to it--I'd like to do this on occaison, too!
>
> "Bill Sanderson" <Bill_Sanderson@msn.com.plugh.org> wrote in message
> news:uBNF0usBEHA.3184@TK2MSFTNGP09.phx.gbl...
> > OK - I suspect this was a Resource Kit piece in 2k, and became part of
the
> > package in XP.
> >
> > I'll test it--I'm near certain you have a permissions issue, but let me
> > see how I do.
> >
> > What's your environment--workgroup or domain?
> >
> > "president" <president.12wlz7@mail.mcse.ms> wrote in message
> > news:president.12wlz7@mail.mcse.ms...
> >>
> >> Hey Bill,
> >> Well, the sc command line utility comes with Windows XP I consider,
> >> because I haven't installed any resource kits or anything else for the
> >> OS. I was just roaming in the Microsoft's Command Line Reference when I
> >> came on to this sc command.
> >> Just go to the command prompt and type sc and hit enter. The parameters
> >> list will show up immediately.
> >> About the GUI thing you said, I get the same error. It says Access
> >> Denied without asking for anything.
> >> I think the GUI and command line versions are the same because they
> >> show exactly the same error message. The command line version just
> >> provides the GUI functionality in the command prompt.
> >> I still don't know what to do.
> >> president
> >>
> >>
> >> Bill Sanderson wrote:
> >>> *You don't need to do this at a command prompt.
> >>>
> >>> You can use services.msc, and action, connect to another computer
> >>>
> >>> to do this with a gui.
> >>> (whoops--that appears to be new in XP--you can do the same thing with
> >>> the
> >>> Computer Management console in 2000--right-click My Computer, choose
> >>> manage,
> >>> choose action, connect to another computer, expand services and
> >>> applications, open Services, etc.
> >>>
> >>> I'm trying to remember where SC comes from--is that a resource kit
> >>> tool? I
> >>> don't seem to have it handy to try to replicate what you are doing.]
> >>>
> >>>
> >>> "president" <president.12var8@mail.mcse.ms> wrote in message
> >>> news:president.12var8@mail.mcse.ms...
> >>> >
> >>> > Hi,
> >>> > I have two Windows XP Professional systems that are both in a
> >>> > workgroup. I want to start a service like the messenger service on
> >>> the
> >>> > other system and I know that systems Administrator password. When I
> >>> run
> >>> > this command:
> >>> > C:\> SC \\IP_ADDRESS START MESSENGER
> >>> > I get an error like this:
> >>> > SC OPEN SCMANAGER FAILED 5 : ACCESS DENIED
> >>> > It doesn't ask me a username or password. Whats the problem ?
> >>> > -PS: Is there any general way of executing remote commands on a XP
> >>> > system other than terminal services and remote desktop connection
> >>> ?
> >>> > Something like REXEC in *nix.-
> >>> > Thanks in advance, president
> >>> >
> >>> >
> >>> >
> >>> > --
> >>> > president
> >>> >
>
>>> ------------------------------------------------------------------------
> >>> > Posted via http://www.mcse.ms
> >>> >
>
>>> ------------------------------------------------------------------------
> >>> > View this thread: http://www.mcse.ms/message462937.html
> >>> >
> >>> >
> >>> > *
> >>
> >>
> >>
> >> --
> >> president
>
>> ------------------------------------------------------------------------
> >> Posted via http://www.mcse.ms
>
>> ------------------------------------------------------------------------
> >> View this thread: http://www.mcse.ms/message462937.html
> >>
> >>
> >>
> >
> >
>
>



Relevant Pages

  • Re: specifying use strict
    ... Should I give my config file a package name in the begining? ... subroutine name ... I dont know what a newsreader is (dont think I used ... As obvious I am a novice Perl user but outside my ...
    (comp.lang.perl.misc)
  • Re: Problems compiling Factor
    ... You dont make an image each time ya boot, ... you can't start debugging til ya see ... Thats real dumb. ...
    (comp.lang.forth)
  • Re: file handle
    ... I dont think it should be defined as a signal. ... So you probably want to declare the ... Such procedures can go in a package if you wish. ... DOULOS - Developing Design Know-how ...
    (comp.lang.vhdl)
  • Exit the package if the file byte size is zero
    ... package to be exit. ... Dim fso, filepath, filesize ... This script is giving the correct file size but I dont know how to exit ...
    (microsoft.public.sqlserver.dts)
  • Building Sendmail with STARTTLS option on SuSE
    ... I want to Build sendmail-8.13.8 on Suse 9.3 with TSL support. ... I dont want to use an rpm - package. ... my question is wether sendmail needs my devel or additional devel packages ...
    (comp.mail.sendmail)