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
[Resolved] Implemented via GPO
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
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
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
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.
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.
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
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
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
However, the user GPO applies but does not have the rights to install waptsetup
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
To check if this is indeed a problem, you can do the following:
To determine if it's truly a GPO issue or a waptdeploy.exe problem
Simon
Code: Select all
@echo off
mkdir c:\toto
Simon
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
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
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
Hello
, could you please tell me where this GPO is located?
Simon
, could you please tell me where this GPO is located?
Simon
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
Computer Group Policy: Policies -> Administrative Templates -> Run startup scripts asynchronously
