Page 1 of 2
[Resolved] Implemented via GPO
Published: August 20, 2015 - 3:17 PM
by arsoul
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
Re: Setup via GPO
Published: August 21, 2015 - 00:09
by sfonteneau
Hello,
a little more information would help.
- OS/system
- Deployment via GPO (Computer or user), or with a logon script?
Simon
Re: Setup via GPO
Published: August 21, 2015 - 09:19
by arsoul
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
Re: Setup via GPO
Published: August 21, 2015 - 12:02
by sfonteneau
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.
Re: Setup via GPO
Published: August 21, 2015 - 1:48 PM
by arsoul
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?
Re: Setup via GPO
Published: August 21, 2015 - 5:22 PM
by sfonteneau
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
Re: Setup via GPO
Published: August 24, 2015 - 2:39 PM
by arsoul
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
Re: Setup via GPO
Published: August 24, 2015 - 5:54 PM
by sfonteneau
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
Re: Setup via GPO
Published: November 5, 2015 - 10:02 PM
by Floflobel
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
Re: [Resolved] Implementation via GPO
Published: November 6, 2015 - 9:36 AM
by sfonteneau
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