RE: Cannot open Service Control Manager on computer...
- From: "mark" <mark@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 2 May 2005 07:44:59 -0700
I'm having the same problem but ONLY on Windows 2000 machines. If my app runs
on XP or Win 2003 Server it can manage the services completely EVEN on remote
machines without any special permissions/login setup. On Windows 2000 the app
can't even view the list of services locally. Is that different from what you
see?
So far I haven't been able to find out what "privileges" are required. Sorry
to offer no help here...
"Jason Whitehurst" wrote:
> ....This operation might require other privileges.
>
> Seems like trying to use this in c# code...
>
> ServiceController sc = new ServiceController("blah", "192.168.0.100");
>
> ....to interact with a remote machine's service would be quite common.
> However, the documentation seems to be no help in figuring out exactly how
> to set up permissions on the remote machine to allow the operation. It
> works if .100 is the local box, but not if it is a remote computer.
>
> I am unable to just retrieve the list of services, too.
>
> My account name/password is the same on both systems, and is admin on both
> systems. Both are running XP Pro, too. =)
>
> I have seen references to using impersonation but it seems overly
> complicated for such a simple task. Is there something I am still missing?
>
> Any help is greatly appreciated.
>
> --
> Jason Whitehurst
>
>
>
.
- Prev by Date: RE: New company architecture
- Next by Date: Advanced Remoting Q - AppDomain Hosted in ASP.NET
- Previous by thread: RE: New company architecture
- Next by thread: RE: Cannot open Service Control Manager on computer...
- Index(es):
Relevant Pages
|