
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2010 12:26 AM
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.
Labels:
- Labels:
-
Archive
5 REPLIES 5

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2010 06:41 PM
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.com/kb/WMI-Access-is-denied.aspx
http://www.lansweeper.com/kb/WMI-Access-is-denied.aspx

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2010 05:33 PM
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
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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2010 01:59 AM
Open powershell and run the command:
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.
$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.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2010 01:31 AM
WMI Access is denied 0x80070005. I am running the ip range scanning so there is no logging in.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2010 12:48 AM
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.
Also just for kicks, try logging in as another user name and see if it still errors.
