Re: Remote SC
From: Mike (mike_at_illushinz.com)
Date: 03/10/04
- Next message: Mike: "Re: Remote desktop connection - slow response"
- Previous message: tl_info: "Notification on Remote Desktop Connection."
- In reply to: Bill Sanderson: "Re: Remote SC"
- Next in thread: president: "Re: Remote SC"
- Reply: president: "Re: Remote SC"
- Messages sorted by: [ date ] [ thread ]
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
> >>
> >>
> >>
> >
> >
>
>
- Next message: Mike: "Re: Remote desktop connection - slow response"
- Previous message: tl_info: "Notification on Remote Desktop Connection."
- In reply to: Bill Sanderson: "Re: Remote SC"
- Next in thread: president: "Re: Remote SC"
- Reply: president: "Re: Remote SC"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|