[Resolved] Implemented 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
arsoul
Messages: 4
Registration: August 20, 2015 - 3:02 PM

August 20, 2015 - 3:17 PM

Hello everyone,

I'm deploying WAPT on my client machines via a GPO. For your information, I'm on a 2012 server

Deploying directly with the executable does not work (as shown in the tutorial)


I am forced to create a .bat file that calls the waptdeploy executable

The .bat file works and waptdeploy starts correctly on my client machines

First: a DOS window opens with the execution of waptdeploy => I want it to perform the installation in silent mode
Secondly: an access violation is recorded at the very beginning because it cannot access a folder =>> ??
Thirdly: it displays an error: you do not have sufficient rights... =>> I want to run the .bat file as administrator without having to enter the password each time

Has anyone else encountered this type of error?

How can I easily deploy waptdeploy via GPO?

Thanks for the feedback
Last edited by arsoul on 15 Sep 2015 - 09:12, edited 1 time.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

August 21, 2015 - 00:09

Hello,

a little more information would help.

- OS/system

- Deployment via GPO (Computer or user), or with a logon script?

Simon
arsoul
Messages: 4
Registration: August 20, 2015 - 3:02 PM

August 21, 2015 - 09:19

I'm deploying the GPO on the Windows 7 machines

It's a computer GPO: \\kronos\netlogon\wapt.bat

the wapt.bat script

Code: Select all

start \\kronos\netlogon\waptdeploy.exe
Here is a screenshot of the installation process on a client machine

http://hpics.li/f2c4aac
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

August 21, 2015 - 12:02

If it's a computer GPO, there shouldn't be any problems because it's executed with a system account, I believe.

Does the script run at startup or shutdown?

The error message is normal; you need to run it with an authorized account. Right-click --> Run as administrator.
arsoul
Messages: 4
Registration: August 20, 2015 - 3:02 PM

August 21, 2015 - 1:48 PM

Is the script executed when the computer starts up or shuts down?
The script is executed when the computer starts up =>> Is it possible for it to not do this once the WAPT software is installed, but to do it for PCs that don't yet have the software installed?
The error message is normal; you need to run it with an authorized account. Right-click --> Run as administrator
I don't want to manually launch it on each station...

but I want it to run with an administrator account via the GPO
Right-click --> Run as administrator
On which program? On the user's session?
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

August 21, 2015 - 5:22 PM

The script is executed when the computer starts up =>> Is it possible for it to not do this once the WAPT software is installed, but to do it for PCs that don't yet have the software installed?
Yes, that's actually what it's designed for, I think.
I don't want to manually launch it on each station...
I simply wanted to say that when you run it manually for testing (as in your image), you must run it in "Run as administrator" mode, otherwise you will get the error: "You must have administrative rights to install a program"

Simon
arsoul
Messages: 4
Registration: August 20, 2015 - 3:02 PM

August 24, 2015 - 2:39 PM

I simply wanted to say that when you run it manually for testing (as in your image), you must run it in "Run as administrator" mode, otherwise you will get the error: "You must have administrative rights to install a program"
OK, testing...

But the problem is that the program was started automatically via the GPO (I didn't do anything on the client machine)

The user is not going to click "ok" every time

The problem is that the program fails to install due to a lack of administrator privileges

Hence my question: How does the script (waptdeploy.exe) run with administrator privileges?

Do I need to configure a .bat file myself, or does waptdeploy.exe do it automatically?

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

August 24, 2015 - 5:54 PM

Normally, whether it's a .bat file or not doesn't make much difference.

If you launch the script via GPO at system startup, the script runs in administrator mode (or, to be precise, with a system account, I believe), so it has no privileges.

I apologize for asking again, but could you please confirm that this script runs at system startup and not at login? Judging by the symptoms, it seems that's the case.

You can, however, verify that waptdeploy.exe works by running it with an administrator account.

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

November 5, 2015 - 10:02 PM

sfonteneau wrote:Normally, whether it's a .bat file or not doesn't change much.

If you launch the script via GPO at system startup, the script is launched in administrator mode (or to be precise, with a system account, I believe), so it has no privileges.

I'm sorry to ask again, but can you please confirm that this script is launched at system startup and not at login? Judging by the symptoms, it seems that's the case.

You can, however, verify that waptdeploy.exe works by launching it with an administrator account.

Simon
Good morning,

I have the same problem, it asks me for a login and password on my AD in order to install it.
Computer GPO does not work and user GPO launches but requests admin rights.

A solution?

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

November 6, 2015 - 9:36 AM

Yes, sometimes it doesn't work for me on the first try.

Just for testing purposes : When you enter the username and password, does it work?

Simon
Locked