Page 1 of 2
[RESOLVED] Windows 11 24H2 Deployment and Domain Join
Published: Dec 10, 2024 - 09:43
by Bruno78
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.
Re: Windows 11 24H2 Deployment and Domain Joining
Published: Dec 10, 2024 - 11:53
by AurélienF
Hello everyone,
I'm having the same problem, even though I've added {{hostname}} to the XML.
Best regards.
Re: Windows 11 24H2 Deployment and Domain Joining
Published: Dec 12, 2024 - 2:36 PM
by Bruno78
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
Re: Windows 11 24H2 Deployment and Domain Joining
Published: Dec 12, 2024 - 3:09 PM
by sfonteneau
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?
Re: Windows 11 24H2 Deployment and Domain Joining
Published: Dec 12, 2024 - 3:56 PM
by Bruno78
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.
Re: Windows 11 24H2 Deployment and Domain Joining
Published: Dec 12, 2024 - 4:03 PM
by sfonteneau
What is the registration method?
Kerberos?
Login/Password?
Unsecure?
Re: Windows 11 24H2 Deployment and Domain Joining
Published: Dec 13, 2024 - 10:15
by Bruno78
Hello,
the registration is unsecure.
Re: Windows 11 24H2 Deployment and Domain Joining
Published: Dec 17, 2024 - 5:04 PM
by Bruno78
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
Re: Windows 11 24H2 Deployment and Domain Joining
Published: Dec 17, 2024 - 5:06 PM
by sfonteneau
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?
Re: Windows 11 24H2 Deployment and Domain Joining
Published: Dec 18, 2024 - 08:37
by Bruno78
Hello,
the option is enabled. Is there anything I can add to the script to force a reinstallation?
Regards