[RESOLVED] Updating OUs and contained machines

Share your tips or issues concerning the WAPT Console or WAPT Agent here
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
yannick.jolivet
Messages: 9
Registration: Apr 09, 2026 - 4:25 p.m.

June 11, 2026 - 8:45 PM

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.
User avatar
dcardon
WAPT Expert
Messages: 1978
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

June 12, 2026 - 09:17

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
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
yannick.jolivet
Messages: 9
Registration: Apr 09, 2026 - 4:25 p.m.

June 12, 2026 - 10:00

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.
User avatar
dcardon
WAPT Expert
Messages: 1978
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

June 15, 2026 - 2:47 PM

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
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
yannick.jolivet
Messages: 9
Registration: Apr 09, 2026 - 4:25 p.m.

June 15, 2026 - 4:11 PM

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.
User avatar
dcardon
WAPT Expert
Messages: 1978
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

June 15, 2026 - 4:23 PM

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
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
yannick.jolivet
Messages: 9
Registration: Apr 09, 2026 - 4:25 p.m.

June 16, 2026 - 10:42

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.
User avatar
dcardon
WAPT Expert
Messages: 1978
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

June 16, 2026 - 11:58

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
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
yannick.jolivet
Messages: 9
Registration: Apr 09, 2026 - 4:25 p.m.

June 17, 2026 - 3:51 PM

Hello,

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

. Best regards.
Locked