WaptDeploy / WaptAgent GPO not working

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
jordanjordan
Messages: 4
Registration: June 5, 2020 - 3:48 PM

June 5, 2020 - 3:58 PM

Hello, I have a problem with WaptDeploy, which is not automatically deploying to client machines in my domain.

My infrastructure:

1 WAPT CentOS 7 server,
1 Active Directory DS Server 2012 R2 (domain controller virtual.jordan),
1 Windows 10 client workstation in my virtual.jordan domain.

My physical PC contains the WAPT console linked to the IP address of my WAPT server (my PC appears correctly in the console).

When I install manually via http://mon-wapt-rv/wapt/waptagent.exe , I can start the download (on my client workstation).

Here is my GPO

: https://imgur.com/2bHhTo6

--hash=72d4b67ed563141a24997e8980973b5df050c17fb7a1d04c06dd65cf65761f08 --waptsetupurl=http://10.111.98.52/wapt/waptagent.exe --force --minversion=1.8.1.6756 --wait=15 --setupargs=/verysilent


I've done several tests, with the basic arguments and adding some others.
I've disabled the antivirus,
I've also disabled Windows SmartScreen via GPO,
I've tested with HTTP and HTTPS.

I'm out of ideas except to start everything from scratch, including the CentOS server

(for the WAPT server, I followed the CentOS tutorial to the letter, except for the DNS part which I skipped as I didn't really need it).

Do you have any suggestions?

. :D
Sincerely
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

June 5, 2020 - 5:21 PM

And if you download waptdeploy and then run it manually with the same arguments, what happens?
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
jordanjordan
Messages: 4
Registration: June 5, 2020 - 3:48 PM

June 5, 2020 - 5:28 PM

Hello, from a client machine:

I can download WDeploy.exe.

I can run it (with administrator privileges).

A batch file starts, I saw "CleanUp" just briefly, and then nothing.

Using the "Everything" tool, I can see that I only have two objects named "Wapt":

- the WDeploy file I just downloaded
- the %prefetch% of WDeploy

.


EDIT:

I have the default Windows 10 firewall settings; I haven't changed anything yet, and the same is true on the 2012R2 machine.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

June 5, 2020 - 6:20 PM

There's no need to add --setupargs=/verysilent
jordanjordan
Messages: 4
Registration: June 5, 2020 - 3:48 PM

June 8, 2020 - 08:08

Hello, I tried without it, but I still get the same result.

--hash=72d4b67ed563141a24997e8980973b5df050c17fb7a1d04c06dd65cf65761f08 --waptsetupurl=http://10.111.98.52/wapt/waptagent.exe --force --minversion=1.8.1.6756 --wait=15

That's where I'm at right now. (see attached image)

I only have one user in my domain, and 4 PCs in total. I've linked the GPO to a physical PC in my domain.
Attachments
capture2000.JPG
capture2000.JPG (76.03 KB) Viewed 4493 times
jordanjordan
Messages: 4
Registration: June 5, 2020 - 3:48 PM

June 8, 2020 - 11:01

I ran a local batch file on the client PC, specifying the download path with the correct arguments (--hash, etc.). It asked for UAC validation and installed correctly.

So I think my problem stems from the fact that my GPO isn't executing anything at all.

I followed the tutorial to the letter, and I have no idea where I'm going wrong.
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

June 8, 2020 - 1:07 PM

What happens if you run `gpresult /h`? And what happens with `gpupdate /force`?
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
Locked