Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error occured: rpc_s_access_denied #6

Open
aviswa opened this issue Apr 9, 2020 · 4 comments
Open

An error occured: rpc_s_access_denied #6

aviswa opened this issue Apr 9, 2020 · 4 comments

Comments

@aviswa
Copy link

aviswa commented Apr 9, 2020

[root@zabmon externalscripts]# ./zbxwmi -action get WMI 10.XX.XX.XX
An error occured: rpc_s_access_denied
[root@zabmon externalscripts]#

Is it anything need to tweak in windows registry.

@13hakta
Copy link
Owner

13hakta commented Apr 9, 2020

Try with server administrator rights, it should work without any tweaks. And after that you may experiment with special access rights.

@13hakta
Copy link
Owner

13hakta commented Jun 16, 2020

[root@zabmon externalscripts]# ./zbxwmi -action get WMI 10.XX.XX.XX
An error occured: rpc_s_access_denied
[root@zabmon externalscripts]#

Is it anything need to tweak in windows registry.

zbxwmi built upon impacket, take a look for solutions to such cases. May be this would be helpful fortra/impacket#664

@amit2k15
Copy link

[root@zabbix centos]# ./zbxwmi -a get -fields "FreeSpace" -item "C:" "Win32_LogicalDisk" "/etc/zabbix/wmi.pw" "my server ip"
An error occured: rpc_s_access_denied

I am trying with a local windows administrator account and also set the "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\LocalAccountTokenFilterPolicy" to 1 but still am getting the "rpc_s_access_denied" error.

My wmi.pw looks like as follows.

Administrator
myserverpassword

Thank you all in advanced

@tk2682
Copy link

tk2682 commented Feb 24, 2022

Hi,
I get the same error.
Does anyone have a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants