Lansweeper logo
Home Download Features Demo Buy now Help Support forum
 
    Most requested support articles:
  Lansweeper troubleshooting guide.
  The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
  WMI Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
  How to configure the windows firewall using group policies.
  Support:  
 support@lansweeper.com  
Skype: Lansweeper  
  Mo-Fri 9h-17h CET  
Welcome Guest Search | Active Topics | Log In | Register

Untag as favorite
WMI errors
tkerr
#1 Posted : Wednesday, September 01, 2010 10:26:10 PM

Rank: Premium user

Groups: Premium Users, Member
Posts: 14
Location: Illinois
I have been through the article in the KB and am still having trouble with this error. About 10 of the 300 machines in my environment produce this error and I am out of ideas. Any help would be great the boss is wanting the inventory to be complete by noon friday and I am sweating.
Cobra7
#2 Posted : Wednesday, September 01, 2010 10:48:31 PM

Rank: Premium user

Groups: Member, Premium Users
Posts: 147
Location: Omaha
What exactly are the errors? What OS are the errors happening on?

Also just for kicks, try logging in as another user name and see if it still errors.
tkerr
#3 Posted : Wednesday, September 01, 2010 11:31:21 PM

Rank: Premium user

Groups: Premium Users, Member
Posts: 14
Location: Illinois
WMI Access is denied 0x80070005. I am running the ip range scanning so there is no logging in.
Cobra7
#4 Posted : Wednesday, September 01, 2010 11:59:57 PM

Rank: Premium user

Groups: Member, Premium Users
Posts: 147
Location: Omaha
Open powershell and run the command:

Code:

$PC = Read-Host "Enter PC name";Get-WmiObject win32_desktop -ComputerName $PC -ErrorVariable wmierror;if ($wmierror -ne $null) {Write-Host "WMI error of " $wmierror};else {Write-Host "Was able to connect to PC " $PC}


It will try to connect via WMI (same as Lansweeper) to the target PC and let you know if it worked or not. If not it will post the error message, copy it and let me know what it is.
tkerr
#5 Posted : Thursday, September 02, 2010 3:33:55 PM

Rank: Premium user

Groups: Premium Users, Member
Posts: 14
Location: Illinois
Get-WmiObject : The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
At line:1 char:43
+ $PC = Read-Host "wmitche-lt";Get-WmiObject <<<< win32_desktop -ComputerName $PC -ErrorVariable wmierror;if ($wmierro
r -ne $null) {Write-Host "WMI error of " $wmierror};else {Write-Host "Was able to connect to PC " $PC}
+ CategoryInfo : InvalidOperation: (:) [Get-WmiObject], COMException
+ FullyQualifiedErrorId : GetWMICOMException,Microsoft.PowerShell.Commands.GetWmiObjectCommand

WMI error of The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
The term 'else' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelli
ng of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:168
+ $PC = Read-Host "wmitche-lt";Get-WmiObject win32_desktop -ComputerName $PC -ErrorVariable wmierror;if ($wmierror -ne
$null) {Write-Host "WMI error of " $wmierror};else <<<< {Write-Host "Was able to connect to PC " $PC}
+ CategoryInfo : ObjectNotFound: (else:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
JamesinIT
#6 Posted : Thursday, September 02, 2010 4:41:20 PM

Rank: Premium user

Groups: Member, Premium Users
Posts: 16
Location: Tampa, FL
I found the script they had at the bottom of this page fixed every instance that was not firewall related for me:

http://www.lansweeper.co...I-Access-is-denied.aspx
Users browsing this topic
Guest
Untag as favorite
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Contact: E-mail Lansweeper - Skype : Lansweeper
Copyright 2004 - 2011 © Hemoco bvba