Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

OCS Agent reporting wrong Windows OS ver

Hey there,

I've been fiddling around with OCS, one hell of a tool for IT purposes.

Now, I've done my share of searching for this and apart from the odd "bug" hit on git-hub and the like, I haven't really found an answer for this.

So, a workstation I've been messing around with has Win 10 Pro. All good. Now, when checking that specific PC over at OCS I noticed that it was listed as Win 8 and the "domain" field was blank.

Checked the agent and wouldn't you know it, the agent also reports Win 8 to OCS, so the culprit is most likely the workstation itself.

I've been trying to narrow it down to something specific so I can address this, not a big issue, but still I'd like to know what's what and how I could possibly resolve this.

Any ideas? For starters, where does the agent pull the information from? registry and winver and sysinfo and whathaveyou, all report the correct version (Win 10 Pro).

What am I missing?

Thanks you in advance!!!
in OCS Inventory NG agent for Windows by (120 points)

5 Answers

0 votes

this has never happened to me, and i manage a lot of computers. can you type the following in the command line ?

wmic os get Caption,CSDVersion /value

What is the result ?

by (24.5k points)
0 votes
Hi. I guess I have the same problems.

I am using OCS with i-doit and was wondering why I suddenly have Windows 8 clients. When checking OCS it showed Windows 8. An hour later it was Windows 10 again.

Sometimes it doesn't show any OS at all. Later I realized that in this case the serial number and motherboard serial number are also wrong. It seems that OCS is filling in missing data in this case. All I can tell so far is that all of these clients were turned off at the time. When turned on, the inventory data was always imported correctly. It could have something to do with shutdown/restart/sleep or perhaps Windows power saving features.
The problem is unfortunately a bit annoying because I am either constantly creating new duplicates in i-doit or the kategories are overwritten with incorrect data in case of a matching
by (140 points)
0 votes
I am having the same issue. Winver, PowerShell, etc. shows Windows 10. OCS shows Windows 8. Did you solve the issue?
by (330 points)
+1 vote

can you try to do this on the client which reports the wrong OS?

Open an elevated command prompt on the client

   winmgmt /resetrepository

are you sure that the reporting date of the client is current (please check at ocs-inventory server)?

by (24.5k points)
0 votes

Of course reporting date was considered!

Sysinfo and Get-WmiObject -class Win32_OperatingSystem reported "Invalid class". So I did what sokatra suggested: winmgmt /resetrepository. And it did the trick. OCS is now reporting Windows 10.

ago by (330 points)
 
Powered by Question2Answer
...