Page 1 of 1

[RESOLVED] Updating OUs and contained machines

Published: June 11, 2026 - 8:45 PM
by yannick.jolivet
Good evening

. I have a small problem. The directory tree displayed on the left side of the inventory tab in the console is not up-to-date with my Active Directory.

I've tried looking into it, but I can't find how to update the display.

This is a problem because I've scheduled a package deployment to a sub-OU, but since the OU's machine list isn't up-to-date, the deployment isn't working.

Thank you in advance.

Have a good evening

. Best regards.

Re: Updating OUs and contained machines

Published: June 12, 2026 - 09:17
by dcardon
Hello Yannick,

The OU hierarchy is built from the inventory reported by the workstations. This means that if a workstation is not in the correct OU, it means that the machine itself does not have the correct information (or that there is a problem with the inventory reporting).

This information is retrieved from the registry, and this information is normally updated by the GPO engine

Code: Select all

    info['computer_ad_dn'] = registry_readstring(HKEY_LOCAL_MACHINE, r'SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\Machine', 'Distinguished-Name')
You can check the registry to see if the information is correct. If it's not up to date, it's likely that the GPO engine is malfunctioning, or there's a replication issue between your Active Directory domains.

Sincerely,

Denis

Re: Updating OUs and contained machines

Published: June 12, 2026 - 10:00
by yannick.jolivet
Hello,

thank you for your reply.
My Active Directory seems to be fully functional otherwise, but I just checked the registry key value provided, and it is indeed the expected one, that is, the value of the machine's current Organizational Unit (OU) in my AD.

However, when I go to my WAPT server, the OU does exist, but the sub-OUs of this OU are incorrect, and my machine is not listed there.
It seems that the WAPT server is not retrieving the information from my AD.
But I can't find where to restart this synchronization.

Thank you.

Re: Updating OUs and contained machines

Published: June 15, 2026 - 2:47 PM
by dcardon
Hello Yannick,

could you please check the value of "host_info / computer_ad_dn" in the machine's inventory? Is it correct in relation to the machine's location in Active Directory? This value corresponds to the registry key. So, if they don't match, could you try forcing an inventory update (refreshing the workstation inventory)?

Regards,

Denis

Re: Updating OUs and contained machines

Published: June 15, 2026 - 4:11 PM
by yannick.jolivet
Hello.

I just found the solution for my machine. I removed it from the inventory, and when it was re-uploaded, it reappeared in the OU where it was located.

Thank you for your replies.

Re: Updating OUs and contained machines

Published: June 15, 2026 - 4:23 PM
by dcardon
Hi Yannick,

glad it's resolved. However, the inventory upload issue is curious. I didn't ask about the Wapt version, but I'd be interested to know if it's a fairly recent version or not?

Inventories are uploaded in differential mode to save bandwidth and CPU. There were some problems in older versions, but it's been a while since we've had any issues with uploads at that level. Another problem was the uploading of NULL characters, which are not tolerated by the PostgreSQL database, but that too was fixed some time ago.

Best regards,

Denis

Re: Updating OUs and contained machines

Published: June 16, 2026 - 10:42
by yannick.jolivet
Hello,

thank you for your reply. I managed to find a PC that wasn't appearing in the correct OU.
The machine field displayed on the console isn't showing the correct OU.

Regarding the versions, we haven't yet updated to the latest versions;
the current version is 2.6.1.17576.

Do you think that's the issue?

Thank you.

Re: Updating OUs and contained machines

Published: June 16, 2026 - 11:58
by dcardon
Hello Yannick,

some things were fixed in the inventory upload section in 2025, but I don't have time to reread the changelog today. :-)

In any case, I encourage you to upgrade to the latest version since it's a security update [1] released last Tuesday.

In the meantime, I think you can force the inventory upload (right-click on the machine + "refresh workstation inventory").

Regards,

Denis

[1] https://www.wapt.fr/en/doc/wapt-changel ... 2026-06-09

Re: Updating OUs and contained machines

Published: June 17, 2026 - 3:51 PM
by yannick.jolivet
Hello,

I just installed the update which seems to have fixed the problem.
Thank you for your time in resolving my issue

. Best regards.