cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
tdtrivedi
Engaged Sweeper II
Hi,

We are getting error for WMI credentials for some machines in the network. I have gone thru the KB articles and checked every step (except taking the machine off the domain - which we cant do in the production environment).

KB referred was ..

1. https://www.lansweeper.com/knowledgebase/wmi-access-is-denied/ (gives 13 steps out of which 12 have been checked).

Following scenario's were also tried.
1. Login thru Domain Admin and Local Admin (both gave same error)
2. Keeping Firewall on the machine On and Off (no change in error)
3. Disabling Anti-virus on the machine (no change in error)
4. Trying LsPush on the machine - this creates the file on individual attempt but fails to push the file thru Domain Controller (Error is LsPush.exe is infected).
5. Trying to push and execute LsPush using Deployment script - gives the same invalid credentials error.
6. TestConnection is good on every count except the WMI credentials issue. WMI services are running on the machine.
7. WMI services (usually executed by System login were also started by local admin account - no change in result)

I am adding some supporting screenshots and TestConnection output (the IP and Domain info has been masked) .

Any help will be appreciated.

Thanks in advance.

Edit 1:
The example machine has IP 13.182. I have given the error screenshot and the script screenshot which was tried. The deployment log gives the same error for incorrect credentials.

TestConnection output for 13.182 (with error) and 13.97 (with success) have been provided.

Edit 2:
We have sufficient number of licenses for scan. That is not an issue.
3 REPLIES 3
Esben_D
Lansweeper Employee
Lansweeper Employee
The only thing I know that can cause the WMI credential error is a lack of local administrative permissions on the account used during scanning.

Hopefully with the help of support you'll be able to narrow it down and resolve it.
Esben_D
Lansweeper Employee
Lansweeper Employee
LsPush is not really designed to work with a deployment. You can find out how to use it here: https://www.lansweeper.com/knowledgebase/how-to-scan-with-lspush/

A better alternative is using LsAgent if you can't get it working agentless: https://www.lansweeper.com/knowledgebase/lsagent/

For getting it to work agentless, try going over the following article, you can also try running the script at the bottom which should set everything for you: https://www.lansweeper.com/knowledgebase/firewall/

If it still fails after the script, you can always ask our support team.
tdtrivedi
Engaged Sweeper II
Esben.D wrote:
LsPush is not really designed to work with a deployment. You can find out how to use it here: https://www.lansweeper.com/knowledgebase/how-to-scan-with-lspush/

A better alternative is using LsAgent if you can't get it working agentless: https://www.lansweeper.com/knowledgebase/lsagent/

For getting it to work agentless, try going over the following article, you can also try running the script at the bottom which should set everything for you: https://www.lansweeper.com/knowledgebase/firewall/

If it still fails after the script, you can always ask our support team.


Hi Esben,

Sorry for the late reply. I was away on vacation.

1. I was just trying that as suggested on the community by another user. I know that LsPush needs to be pushed to target machine and executed to generate the required file. That file can be pushed manually or automatically to LS server. However, none of that works for me presently. (It did work for me in the past !!).

2. I will try LsAgent and see if that works - however, according to me it is some WMI creds related issue and not really LsPush or LsAgent issue.

I shall connect with support team on this and update when I get resolution.