Page 1 of 1

[RESOLVED] Deployment via GPO with password

Published: June 8, 2023 - 01:09
by ddcorazon
Hello everyone.
I'm deploying the agent via GPO with WAPTdeploy and I'm in configuration #3 (requires WAPT authentication for machine registration. The WAPT server will request the SuperAdmin password for each new registration).
How can I integrate the password into my GPO?

In my GPO, I have the WAPTdeploy executable selected with the following arguments: --hash=hashhashhashhashhash --minversion=2.4.0.14031 --wait=15 --waptsetupurl=https://wapt.myserver.net/api/v3/get_ ... tagent.exe.

Thanks everyone.

Re: Deployment via GPO with password

Published: July 11, 2023 - 11:23
by GF68
Good morning,

Since it's been a while since you asked the question, I don't know if you've found a solution.

If that's not the case, here's how I do it:
  • I created a WAPT user via the console, which only has the rights to register machines on the server (to improve security, but it also works with an admin user)
  • In the GPO, I added waptdeploy.exe (with arguments) as a startup script
  • I then added a second startup script:

Code: Select all

wapt-get
with the following parameters:

Code: Select all

register --wapt-server-user=LOGIN --wapt-server-passwd=PASSWORD
where LOGIN and PASSWORD are the credentials of the previously created user.

A machine restart is usually required after WAPT installation for it to be registered on the server, but this method works well.

Re: Deployment via GPO with password

Published: July 21, 2023 - 2:20 PM
by dcardon
Thanks Guillaume for this detailed answer :-)
. I'm marking the topic as resolved.
Denis