Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Access denied error

69 views
Skip to first unread message

Mike

unread,
Mar 11, 2004, 4:05:13 PM3/11/04
to
Hi,

On a windows 2003 server, I used wbemtest to connect to
root\cimv2. Then I did a query "select * from
win32_process", but I got Access Denied error. I log in as
local administrator. In WMI control, it also got access
denied error with win32_processor and
win32_operatingsystem.

Any idea how to resolve the problem?
Thanks for your help.

Marty List

unread,
Mar 19, 2004, 9:34:05 PM3/19/04
to

"Mike" <anon...@discussions.microsoft.com> wrote in message
news:b86701c407ac$8bea6460$a101...@phx.gbl...


Is the Event Log telling you anything?

What about the WBEM logs in "%WINDIR%\system32\WBEM\Logs\"

In WMI Control try going to the Security tab and compare the broken system
with that of a working system, see if you can find the problem.

beluga

unread,
Mar 23, 2004, 3:50:48 AM3/23/04
to

Mike i have the same problem with win32_process,did you solve it?

--
beluga
------------------------------------------------------------------------
Posted via http://www.mcse.ms
------------------------------------------------------------------------
View this thread: http://www.mcse.ms/message470214.html

Sarika Sharma[MSFT]

unread,
Mar 25, 2004, 1:17:29 AM3/25/04
to
Please try to rebuild repository as following and see if it helps

net stop winmgmt
ren %windir%\system32\wbem\repository
%windir%\system32\wbem\repository.old
net start winmgmt

--
Sarika Sharma [MSFT]
WMI Test Engineer
This posting is provided "As Is" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Please do not send e-mail directly to this alias. This alias is for
newsgroup purposes only.

"Marty List" <bill....@sun.com> wrote in message
news:c3gaiv$285fh5$1...@ID-172409.news.uni-berlin.de...

Nyqster

unread,
Apr 11, 2004, 2:46:19 PM4/11/04
to
I tried your suggestion, and instead of "Access denied"
for the Win32_Processor and the Win32_OperatingSystem in
WMIControl properties, I now get "WMI:Invalid Namespace"
on 3 of the four entries. Did I miss something?

>.
>

Marty List

unread,
Apr 11, 2004, 10:11:01 PM4/11/04
to

"Nyqster" <anon...@discussions.microsoft.com> wrote in message
news:1691d01c41ff5$4741f510$a001...@phx.gbl...

> I tried your suggestion, and instead of "Access denied"
> for the Win32_Processor and the Win32_OperatingSystem in
> WMIControl properties, I now get "WMI:Invalid Namespace"
> on 3 of the four entries. Did I miss something?
>
> >-----Original Message-----
> >Please try to rebuild repository as following and see if
> it helps
> >
> >net stop winmgmt
> >ren %windir%\system32\wbem\repository
> >%windir%\system32\wbem\repository.old
> >net start winmgmt
> >

I've deleted the contents of the repository many times and the files are
rebuilt, but I've never removed the folder entirely. Try creating an empty
folder:
%windir%\system32\wbem\repository

0 new messages