WAPTDEPLOY.EXE deployment error via GPO

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
alxinfo
Messages: 12
Registration: Apr 07, 2017 - 5:16 p.m.

April 7, 2017 - 5:18 PM

Good morning,

After following the documentation I created the GPO but the script is encountering a problem with the following error code (see attachment).
sha1.PNG
sha1.PNG (12.22 KB) Viewed 7324 times
Thank you in advance for your help.
User avatar
agauvrit
WAPT Expert
Messages: 238
Registration: Nov 17, 2016 - 10:25
Location: Nantes
Contact :

April 7, 2017 - 5:53 PM

Good morning,

As stated in the documentation, WAPT Deploy expects a checksum, a hash, to verify the integrity of waptagent.exe which it will have to download and execute.

Therefore, your command line becomes:

Code: Select all

waptdeploy.exe --hash=70d90ca28d89052b0492b76e021c3dda13daedff --minversion=1.3.8 --wait=15
That should work better.

You can test this manually using the command line. Also, is your call to waptdeploy.exe correctly using a network UNC path? (e.g., \\server\scripts\waptdeploy.exe)

The documentation for waptdeploy can be found here: https://wapt.fr/fr/doc/Installation/wap ... waptdeploy

Good deployment!

Alexander
alxinfo
Messages: 12
Registration: Apr 07, 2017 - 5:16 p.m.

April 9, 2017 - 7:55 PM

Good evening,

thank you for your quick reply. However, I followed the tutorial in the documentation to the letter. I'll try again tomorrow with your order, we'll see how it goes.

Thanks again and have a good evening.
alxinfo
Messages: 12
Registration: Apr 07, 2017 - 5:16 p.m.

April 10, 2017 - 8:57 AM

Good morning,

I made the changes indicated, and now I get the following feedback:
deploy.PNG
deploy.PNG (16.73 KB) Viewed 7303 times
User avatar
agauvrit
WAPT Expert
Messages: 238
Registration: Nov 17, 2016 - 10:25
Location: Nantes
Contact :

April 10, 2017 - 9:46 AM

Just a quick note: the hash is different for each generated agent !

You need to retrieve the hash displayed in your WAPT server's web interface.

That should work much better.
alxinfo
Messages: 12
Registration: Apr 07, 2017 - 5:16 p.m.

April 10, 2017 - 9:52 AM

Good morning,

I just restarted the hash process as indicated in my documentation (something I did the first time) and here's the result:
deploy.PNG
deploy.PNG (10.09 KB) Viewed 7297 times
For your information, here is the hash I have on my deployment server (it is not the same as the domain controller server, does that change anything?).
deploy2.PNG
deploy2.PNG (33.93 KB) Viewed 7297 times
Thank you in advance for your help.
User avatar
agauvrit
WAPT Expert
Messages: 238
Registration: Nov 17, 2016 - 10:25
Location: Nantes
Contact :

April 10, 2017 - 10:30

Is the WAPT server reachable at the following address: http://wapt.ot.local/wapt/ ?

waptdeploy.exe simply goes and downloads waptagent.exe from the wapt server specified in the DNS fields, in this case "http://wapt.ot.local/wapt/waptagent.exe", then checks with the hash that the file signature matches and launches the silent installation of the agent.

The exception obtained means that no waptagent.exe file is downloaded.

To force the download from the WAPT server's IP address, use the following command:

Code: Select all

waptdeploy.exe --hash=<.....> --minversion=1.3.8 --wait=15 --waptsetupurl="http://ip_serveur/wapt/waptagent.exe"
In addition, waptdeploy.exe is independent of any domain controller/Active Directory, it only serves as a "wrapper" and allows the automatic download of the WAPT agent and launches its installation silently.

PS: In case you need it, the DNS configuration is explained here: https://www.wapt.fr/fr/doc/Installation ... n_dns.html

We're almost there!
alxinfo
Messages: 12
Registration: Apr 07, 2017 - 5:16 p.m.

April 10, 2017 - 10:39

So the server absolutely has to be called wapt?

That would explain why. My server is srv-deploy.

I'll try renaming it. I'll keep you posted.
alxinfo
Messages: 12
Registration: Apr 07, 2017 - 5:16 p.m.

April 10, 2017 - 11:26

Good,

I have access, it works (small firewall error and server name corrected) but I still have another problem....(I'm such a klutz you'll say ^^).
deploy2.PNG
deploy2.PNG (19.15 KB) Viewed 7288 times
alxinfo
Messages: 12
Registration: Apr 07, 2017 - 5:16 p.m.

April 10, 2017 - 12:16

Hello again,

I think I've found the problem. I installed it on an IP range like 192.168.21.** and when I use waptdeploy (after changing the workstation's IP address), the configuration that's sent to the PCs on the network is still using the original IP address (192.168.21.**). However, if I manually install the agent using the correct IP address, it works.

Is there a way to change the IP address in the configuration file, or do I need to reinstall the application on the server?

Thanks in advance.
Locked