jamestkirk
(Captain James T Kirk)
1
troubleshooting veeam backing up an 2008r2 server, and they had me run this command from the veeam server:
get-wmiobject Win32_ComputerSystemProduct -computername nameof2008server
and it has been running for 40 minutes without returning any info.
and if I run Get-WmiObject -Class Win32_Process on the target computer itself, that has now been running for 10 minutes without any results.
how do I troubleshoot wmiobject not returning info?
8 Spice ups
Could you post the Veeam error from the job itself for context? I’d assume if all was working, you would get that info from that command in less than a minute.
1 Spice up
Evan7191
(Evan7191)
3
Get-WmiObject has been deprecated in favor of Get-CimInstance, which is faster and more efficient.
Do you have another way to access the server? If the CPU utilization is very high (>95%), Windows can be sluggish and cause that kind of behavior.
How is the server behaving otherwise? Does it seem sluggish? Can you get into task manager? Is CPU at 100%?
I found that when a server is pegged that the best way to get information is remotely with WMI/CIM or PSExec / TaskList/TaskKill and so on. It’s possible that something is exhausting tcp ports as well. Plenty of whatif’s at this point, but it sounds like the system is busy with something else.
2 Spice ups
jamestkirk
(Captain James T Kirk)
5
sure, here is what was in the veeam logs
[02.08.2022 09:40:18] <01> Info [window200842server] Resolving BIOS UUID.
[02.08.2022 10:40:18] <01> Error Failed to call RPC function ‘GetBiosUuid’: The remote procedure call was cancelled. RPC function call failed. Function name: [DoRpcWithBinary]. Target machine: [xxx.xxx.xxx.xxx:6160]… InParams: ‘’.
[02.08.2022 10:40:18] <01> Error The remote procedure call was cancelled.
[02.08.2022 10:40:18] <01> Error RPC function call failed. Function name: [DoRpcWithBinary]. Target machine: [xxx.xxx.xxx.xxx:6160].
…
[02.08.2022 10:40:18] <01> Error Infrastructure item save ‘Windows server: window200842server’ failed
[02.08.2022 10:40:18] <01> Error [window200842server] Failed to resolve BIOS UUID. (System.Exception)
jamestkirk
(Captain James T Kirk)
6
it is not sluggish otherwise, and I had read that command was deprecated, but that is what veeam support asked me to run as troubleshooting step
1 Spice up
Has the server been rebooted, can it be? Step 1 in troubleshooting an MS product, Reboot!
1 Spice up
Evan7191
(Evan7191)
8
Does the server have Windows Firewall enabled? If enabled, is RPC allowed?
jamestkirk
(Captain James T Kirk)
9
firewall is on, RPC is allowed. has not been rebooted in a few weeks, I can try that after business hours today.
Where’s your sense of adventure?! It’s better to ask for forgiveness than permission. “whoops, wrong button… sorry”
Joking aside. Are you familiar with wbemtest? You could try and see if that would return your results. Here’s brief intoduction Introduction to WBEMTEST - Configuration Manager | Microsoft Learn
Instead of Enum Classes use “Query” and use the query “select * from win32_computersystem”. If it returns the computer name doubleclick on it and scroll the second box that comes up, it will have all the things support is looking for. You could also use “wmic computersystem” from command prompt as well. I’m curious to see if those return faster/better. If the CPU / Memory isn’t taxed/paging, maybe look at the number of connections. Here’s a good article on that TCP/IP port exhaustion troubleshooting - Windows Client | Microsoft Learn
1 Spice up