WMI 'Access Is Denied' Exception on XP SP2 even with firewall off
From: Angus McFadzean (AngusMcFadzean_at_discussions.microsoft.com)
Date: 11/25/04
- Next message: Peter Falz: "Re: WMI Service Cannot Connect"
- Previous message: Parag Gaikwad: "Re: Problem Getting access to folder ACL using local admin account"
- Next in thread: Peter Falz: "Re: WMI 'Access Is Denied' Exception on XP SP2 even with firewall off"
- Reply: Peter Falz: "Re: WMI 'Access Is Denied' Exception on XP SP2 even with firewall off"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 25 Nov 2004 05:13:02 -0800
WMI StopService 'Access Is Denied' Exception
The problem is that when I try to start/stop a service using WMI providers
on a remote machine (in this case one running embedded XP SP1, although I
don't think the flavour of XP matters) from an application on system running
Windows XP SP2 , I get the exception 'Access is Denied'. This is even with
the firewall turned off. This worked fine prior to installing SP2
We first started to notice this with an in-house application after
installation of XP SP2. However it can be demonstrated using the project on
the following website:
http://www.codeproject.com/csharp/wmi.asp
I've been able to get this WMI application to run successfully on XP SP2
(after enabling the remote administration services) except that when I go
into the Services tab and connect to a remote machine, although I can see the
full list of services on that machine, I cannot start or stop any of these
services (by right-clicking on the service to be stopped) without getting the
'Access is Denied' exception. I have tried logging in to the remote machine
as both a local user (that has full administrator privileges) and as
administrator. This application is working OK in SP1 and Windows 2000 systems
without any problems.
Any help greatly appreciated.
- Next message: Peter Falz: "Re: WMI Service Cannot Connect"
- Previous message: Parag Gaikwad: "Re: Problem Getting access to folder ACL using local admin account"
- Next in thread: Peter Falz: "Re: WMI 'Access Is Denied' Exception on XP SP2 even with firewall off"
- Reply: Peter Falz: "Re: WMI 'Access Is Denied' Exception on XP SP2 even with firewall off"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|