Page 1 of 1

WaptDeploy / WaptAgent GPO not working

Published: June 5, 2020 - 3:58 PM
by jordanjordan
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

Re: WaptDeploy / WaptAgent GPO not working

Published: June 5, 2020 - 5:21 PM
by dcardon
And if you download waptdeploy and then run it manually with the same arguments, what happens?

Re: WaptDeploy / WaptAgent GPO not working

Published: June 5, 2020 - 5:28 PM
by jordanjordan
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.

Re: WaptDeploy / WaptAgent GPO not working

Published: June 5, 2020 - 6:20 PM
by sfonteneau
There's no need to add --setupargs=/verysilent

Re: WaptDeploy / WaptAgent GPO not working

Published: June 8, 2020 - 8:08 AM
by jordanjordan
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.

Re: WaptDeploy / WaptAgent GPO not working

Published: June 8, 2020 - 11:01
by jordanjordan
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.

Re: WaptDeploy / WaptAgent GPO not working

Published: June 8, 2020 - 1:07 PM
by dcardon
What happens if you run `gpresult /h`? And what happens with `gpupdate /force`?