[RESOLVED] Windows 11 24H2 Deployment and Domain Join

Questions about WAPT Server / Requests and help related to the WAPT server
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
Bruno78
Messages: 11
Registration: June 19, 2024 - 11:40

December 10, 2024 - 9:43 AM

I'm trying to deploy Windows 11 24H2.
I used the template from this thread: viewtopic.php?p=14546.
I modified it so the installation is in French.

The Windows deployment seems to be going smoothly.

However, two things aren't working correctly:
- The Djoin command isn't executed, and the machine isn't joined to the domain.
- The computer name is a random name, not the one defined in the console.

The server is running Debian 11 and WAPT version 2.5.5.15697.

Thank you for your help.
AurélienF
Messages: 1
Registration: December 10, 2024 - 10:03

December 10, 2024 - 11:53

Hello everyone,

I'm having the same problem, even though I've added {{hostname}} to the XML.

Best regards.
Bruno78
Messages: 11
Registration: June 19, 2024 - 11:40

December 12, 2024 - 2:36 PM

Hello!

I found a working template:
https://www.linkedin.com/feed/update/ur ... 8975128577

Windows deployment, machine name, and adding the computer to Active Directory: OK.
However, some problems remain:
- The Post Install script doesn't run.
- The machine doesn't appear in the inventory.

The Post install script:
ping 127.0.0.1 -n 30
reg add "HKU\.DEFAULT\Control Panel\Keyboard" /f /v InitialKeyboardIndicators /d 2
reg load HKU\ntuser.dat c:\users\default\ntuser.dat
reg add "HKU\ntuser.dat\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /f /v {59031a47-3f72-44a7-89c5-5595fe6b30ee} /d 0
reg add "HKU\ntuser.dat\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /f /v {20D04FE0-3AEA-1069-A2D8-08002B30309D} /d 0
reg unload HKU\ntuser.dat
start cmd /c ping 127.0.0.1 -n 30 ^& start "" "C:\Program Files (x86)\wapt\waptexit.exe"


Best regards
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

December 12, 2024 - 3:09 PM

If the machine doesn't appear in the inventory, it's because it failed to register.

What is your registration method?
Can you run `wapt-get register` on the machine?
Bruno78
Messages: 11
Registration: June 19, 2024 - 11:40

December 12, 2024 - 3:56 PM

There's a GPO for deploying the WAPT agent.

I ran `wapt-get register` on the machine.
It then appears in the inventory but as disconnected.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

December 12, 2024 - 4:03 PM

What is the registration method?

Kerberos?
Login/Password?
Unsecure?
Bruno78
Messages: 11
Registration: June 19, 2024 - 11:40

December 13, 2024 - 10:15 AM

Hello,

the registration is unsecure.
Bruno78
Messages: 11
Registration: June 19, 2024 - 11:40

December 17, 2024 - 5:04 PM

Good morning,

I have a template that works with the execution of the Post-Install script.

Here is the script:

Code: Select all

ping 127.0.0.1 -n 30
reg add "HKU\.DEFAULT\Control Panel\Keyboard" /f /v InitialKeyboardIndicators /d 2
reg load HKU\ntuser.dat c:\users\default\ntuser.dat
reg add "HKU\ntuser.dat\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /f /v {59031a47-3f72-44a7-89c5-5595fe6b30ee} /d 0
reg add "HKU\ntuser.dat\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /f /v {20D04FE0-3AEA-1069-A2D8-08002B30309D} /d 0
reg unload HKU\ntuser.dat
start  cmd /c ping 127.0.0.1 -n 30  ^& start "" "C:\Program Files (x86)\wapt\waptexit.exe"

But the machine does not appear in the console.

When I run `wapt-get register`, the following message appears:

Code: Select all

C: (Windows \System32>wapt-get register
Using config file: C: \Program Files (x86) \wapt \wapt-get. ini
No waptserver defined. Register unavailable
I reinstalled the agent manually and the machine came back online!

Sincerely
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

December 17, 2024 - 5:06 PM

That's strange, it indicates that your wapt-get.ini file doesn't have a waptserver...

Did you check the "install wapt" box in wads?
Bruno78
Messages: 11
Registration: June 19, 2024 - 11:40

December 18, 2024 - 08:37

Hello,

the option is enabled. Is there anything I can add to the script to force a reinstallation?

Regards
Locked