How did you deploy your agent?

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
knpc
Messages: 63
Registration: Nov. 20, 2015 - 4:40 p.m.

March 7, 2016 - 4:16 PM

Hi everyone,

I'd like to know the methods each of you used to deploy the WAPT agent and the steps involved.

Thanks

Knpc
knpc
Messages: 63
Registration: Nov. 20, 2015 - 4:40 p.m.

March 11, 2016 - 5:55 PM

Is there anyone who can provide instructions on the procedure to follow? :-(
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

March 12, 2016 - 3:49 PM

Hello,

you can use waptdeploy.exe.

Waptdeploy is a small executable that

tests the installed version of wapt*,
downloads the installer waptagent.exe via HTTP,
launches the installer silently with the parameters /VERYSILENT /MERGETASKS=""useWaptServer"" (the options selected by default when creating waptagent will be used), and
updates the server with the machine's status (wapt version, package status).

It must be run as an administrator, hence the use of a GPO.

If no GPO is available, you can also use a logo script.

Explanation here:
https://dev.tranquil.it/wiki/WAPT_-_D%C ... PT_par_GPO
knpc
Messages: 63
Registration: Nov. 20, 2015 - 4:40 p.m.

March 12, 2016 - 4:49 PM

Hi,

I already tried following the link you gave me, but without success; my GPO won't launch.
Are there any other settings?

Did you deploy it on your server? I have a standard Windows Server 2008 R2.

If so, could you explain how you did it?

Thanks for your help.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

March 14, 2016 - 10:11

Hello knpc

, First, have you tried launching it manually to check if it works?

Be careful to launch it as administrator to verify.

Simon
Floflobel
Messages: 135
Registration: Oct 15, 2015 - 5:32 p.m.

March 14, 2016 - 2:51 PM

For a script to run correctly if it's in the domain's sysvol, you need to tell it to install the script as soon as it has internet access.
Computer Group Policy: Policies -> Administrative Templates -> Run startup scripts asynchronously
knpc
Messages: 63
Registration: Nov. 20, 2015 - 4:40 p.m.

March 14, 2016 - 4:40 PM

Thank you for your replies.

I tried using a script, but it didn't work.

If I want to do it using a GPO, how do I create it?

Thank you.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

March 14, 2016 - 6:46 PM

Floflobel wrote:For a script to run correctly if it's in the domain's sysvol, you need to tell it to install the script as soon as it has internet access.
Computer GPO: Policies -> Administrative Templates -> Run startup scripts asynchronously
Running startup scripts asynchronously allows the scripts to be executed at startup at the same time and not one after the other.

It can indeed resolve problems if one of your previous scripts got stuck. In that case, Waptdeploy will never run and therefore will never install Wapt.

The GPO that most closely resembles what you want would therefore be: "Always wait for network on startup and connection"
knpc wrote: Thank you for your replies.

I tried using a script, but it doesn't work.

If I want to do it using a pure GPO, how do I create it?

Thank you.
Have you tried running it manually to check if it's a DNS issue or a bad hash?

Simon
knpc
Messages: 63
Registration: Nov. 20, 2015 - 4:40 p.m.

March 14, 2016 - 8:31 PM

Hi,

Manually on a workstation, this does not work (see photo)
Order under back
Order under back
waptdeploy.PNG (91.59 KB) Viewed 10452 times
I tried without specifying the version the first time, so it's using my waptdeploy.version file, the contents of which are below:

1.2.3
http://wapt.mont-tremblant.local/wapt/waptsetup.exe


The second test involves entering the version number, but nothing works.


I also see a download attempt on 127.0.0.1:8088 on this remote machine?

Here is the version my console gives me below:
version.JPG
version.JPG (29.74 KB) Viewed 10452 times
Thank you for your help

Knpc
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

March 14, 2016 - 10:19 PM

Good morning

Initially, I recommend that you deploy version 1.3.5 (the latest version)

http://wapt.tranquil.it/wapt/releases/wapt-1.3.5/

With WAPT 1.3.5, it is necessary to include a checksum in the script parameters. This ensures that waptdeploy will not launch a tampered/corrupted installer.

Therefore, you need to include this type of argument with your waptdeploy:

Code: Select all

waptdeploy.exe --hash=0e592e9113ebe2e040ad945d7b887fc69843addb5950bf0dade20458be529a1d --wait=15 --minversion=1.3.5
On a Wapt Linux server, you can retrieve this hash with the command:
sha256sum /var/www/wapt/waptagent.exe

On a Windows WAPT server, to recover the data, I recommend installing the latest version of 7-Zip (15.14.00.0) on the Windows WAPT server. Then, right-click on the waptagent file located in c:\wapt\waptserver\repository\wapt\waptagent.exe and click on CRC SHA, then on sha-256.

Simon
Locked