I'm trying to access WMI via j-interop (www.j-interop.org/), wich is a Java DCOM client. However, I always get a "Access is denied" error.
我正试图通过j-interop(www.j-interop.org/)访问WMI,它是一个Java DCOM客户端。但是,我总是得到“访问被拒绝”错误。
Things I've tried:
我尝试过的事情:
- disabled the Firewall
- set permission on HKEY_CLASSES_ROOT\CLSID{76A64158-CB41-11D1-8B02-00600806D9B6}, which is the WMI component I'm trying to access
禁用防火墙
设置HKEY_CLASSES_ROOT \ CLSID {76A64158-CB41-11D1-8B02-00600806D9B6}的权限,这是我试图访问的WMI组件
OS is Windows Server 2008 R2.
操作系统是Windows Server 2008 R2。
No luck. Any ideas?
没运气。有任何想法吗?
1 个解决方案
#1
0
maybe you could try additionally the following:
也许你可以尝试另外的以下内容:
- Is UAC active? If yes than disable it. (Note: You could also disable it only for Build In\Administrator or all Administrators, if you use one of these accounts)
- Is the service remote registry started? If not start it.
- Did you enable AutoRegistration? JISystem.setAutoRegisteration(true);
UAC是否有效?如果是,则禁用它。 (注意:如果您使用其中一个帐户,也可以仅为Build In \ Administrator或所有管理员禁用它)
服务远程注册表是否已启动?如果没有启动它。
您是否启用了自动注册? JISystem.setAutoRegisteration(真);
I hope this will help.
我希望这将有所帮助。
#1
0
maybe you could try additionally the following:
也许你可以尝试另外的以下内容:
- Is UAC active? If yes than disable it. (Note: You could also disable it only for Build In\Administrator or all Administrators, if you use one of these accounts)
- Is the service remote registry started? If not start it.
- Did you enable AutoRegistration? JISystem.setAutoRegisteration(true);
UAC是否有效?如果是,则禁用它。 (注意:如果您使用其中一个帐户,也可以仅为Build In \ Administrator或所有管理员禁用它)
服务远程注册表是否已启动?如果没有启动它。
您是否启用了自动注册? JISystem.setAutoRegisteration(真);
I hope this will help.
我希望这将有所帮助。