WinPE deployment failed at step wgetwads64.exe

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
julienplt
Messages: 17
Registration: July 8, 2025 - 4:58 PM

August 7, 2025 - 10:48

dcardon wrote: August 6, 2025 - 4:37 PM Hello again,

a few more questions: if using Samba, internal DNS or bind-dlz.
If bind-dlz, with the minimal-responses option or not?

Regards,

Denis

Good morning,

It's bind dlz (with dns forwarder = 127.0.0.1:5353 in smb.conf and the bind9 daemon is operational), but I did a test in the past few weeks using the internal DNS and it was the same, I will test again.

Yes, bind-dlz with the minimal-responses option.

Here is the content of my /etc/bind/named.conf.options file:

Code: Select all

options {
    directory "/var/cache/bind";
	// Exemple de forwarder :
	forwarders {
	    134.157.192.1; 134.157.0.129;
	};
	allow-query { any; };
	dnssec-validation no;
	minimal-responses yes;
	auth-nxdomain no;    # conform to RFC1035

	listen-on-v6 port 5353 { ::1; };
	listen-on port 5353 { 127.0.0.1; };
};
THANKS
julienplt
Messages: 17
Registration: July 8, 2025 - 4:58 PM

August 7, 2025 - 10:59

sfonteneau wrote: August 7, 2025 - 10:45 AM Hello

, but I didn't understand.

In which cases does it not work (internal bind9 or forward)?

And in which cases does it work?
Good morning,

Sorry, I'll try to be clearer :)

When the machine uses the university's DNS (134.157.192.1 and 134.157.0.129), the OS deployment procedure with WinPE goes well (without domain integration, just a Win11 installation).

But since we've set up a Samba Active Directory, I'm trying to automate the domain integration, and for that, I need to point my client machine to the Samba DNS server. That's where I'm stuck, because the installation process stops, telling me it can't resolve the name wapt.polytech.sorbonne-universite.fr (the Wapt server), even though it pings the address correctly in the script (or when I test manually).
I made the change to the university's DNS so that the name wapt.polytech.sorbonne-universite.fr is indeed an A record.

As mentioned above, the Samba DNS is currently configured with bind dlz, but I will do another test with internal DNS.

THANKS
julienplt
Messages: 17
Registration: July 8, 2025 - 4:58 PM

August 7, 2025 - 1:09 PM

julienplt wrote: August 7, 2025 - 10:48
dcardon wrote: August 6, 2025 - 4:37 PM Hello again,

a few more questions: if using Samba, internal DNS or bind-dlz.
If bind-dlz, with the minimal-responses option or not?

Regards,

Denis
To add to my earlier answer, I just switched to internal DNS, but it didn't change anything regarding my error
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

August 7, 2025 - 3:38 PM

Hi Julien,

if you have `dns forwarder = 127.0.0.1:5353` in `smb.conf`, it means you're using "hybrid DNS" (as we call it in our configuration). In this case, it's the Samba DNS server that always responds (and not the BIND server, which is the front-end server) in this configuration.

This is the configuration we have at the office, and it works well with WADS. However, our `srvwapt` record is an A record directly in the Active Directory zone.

The ping.exe part in WinPE uses the Windows layer for resolution, while `getwads.exe` uses an internal recursive server. There must be a bug in the internal recursive server, but then again, the Windows resolution layer does some pretty "automatic" things from time to time (which is why we try to avoid it).

Could you set up a proper Bind-DLZ configuration on your Active Directory to see if that resolves the issue [1]? Bind-DLZ causes quite a few problems, both in terms of configuration and performance due to interlocking between the Samba process and the Bind9 process. However, this test would help determine if it's related to the behavior of Samba's internal DNS server (which isn't fully configured). Note: in the DLZ configuration, you don't need to configure the keytab for this test, as it's only necessary for the automatic registration of DNS A records for workstations.

Regards,

Denis

[1] https://samba.tranquil.it/doc/en/samba_ ... ebian.html
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
julienplt
Messages: 17
Registration: July 8, 2025 - 4:58 PM

August 11, 2025 - 12:44

dcardon wrote: August 7, 2025 - 3:38 PM Hello Julien,
Hello Denis,

Thank you for your reply, I just did a test by replacing the hybrid operation with a full bind9 operation and indeed it works well.

It seems that Samba's internal DNS is causing the problem and isn't behaving like a true 'bind9' with wgetwads64.exe

Would it be better for me to use a full bind9 setup instead of a hybrid DNS? Or is there another option?

Sincerely
Answer