[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
Floflobel
Messages: 135
Registration: Oct 15, 2015 - 5:32 p.m.

November 6, 2015 - 12:17

I've done quite a bit of testing, and yes, it works manually when running with an admin account.
For now, I've used an encrypted RunAs command, but that's not a good solution because the encryption can be broken.

The computer GPO doesn't work at all. I tried creating just a folder with a batch file, and it's impossible.
However, the user GPO works fine but requires a login for WaptSetup.

If anyone has a solution, I'd be very grateful.
Thank you
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

November 6, 2015 - 1:13 PM

Do you have antivirus software? Do you have any other GPO scripts running?

Just for testing:

Could you run waptdeploy.exe locally on the machine and then configure it as a local GPO (using gpedit.msc) to see if it works?


I don't know if there's a debug or log function for waptdeploy.exe to check if it was successful.
Floflobel
Messages: 135
Registration: Oct 15, 2015 - 5:32 p.m.

November 6, 2015 - 2:57 PM

Good morning,

No antivirus, firewall off. No other GPOs, I'm on a test environment.

When testing the GPO locally, nothing happens either.
- Computer GPO
- Execute the script C:\Windows\System32\GroupPolicy\Machine\Scripts\Startup\waptdeploy.bat at startup

Code: Select all

@echo off
start c:\waptdeploy.exe
The problem is not with waptdeploy or waptsetup, it's that the computer GPO is not being applied.
However, the user GPO applies but does not have the rights to install waptsetup
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

November 7, 2015 - 1:25 PM

To check if this is indeed a problem, you can do the following:

Code: Select all

@echo off
mkdir c:\toto
To determine if it's truly a GPO issue or a waptdeploy.exe problem

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

November 7, 2015 - 8:24 PM

Hello,

after searching for several days, it turns out you just need to add a GPO that allows a script to run only when the computer has an internet connection.
It would be good to edit the documentation to save people like me the trouble of searching.

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

November 9, 2015 - 8:17 AM

Hello

, could you please tell me where this GPO is located?

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

November 9, 2015 - 10:10

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
Locked