Wapt is not deployed 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
shlomi
Messages: 13
Registration: February 17, 2017 - 8:47 AM

February 28, 2018 - 2:21 PM

Hello,

I have a small problem. I think I've configured everything correctly (only for the PCs...) with my GPO, but it's not being applied. When I run waptdeploy, it says "no hash provided to check waptagent.exe" even though I copied and pasted the hash value from the web interface.

However, if I go to my server's address via a web browser, everything works and the machine connects correctly.

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

February 28, 2018 - 5:39 PM

can you send a

Code: Select all

gpresult /h wapt.html
wapt.html
This will allow us to check and read the waptdeploy GPO on the client
shlomi
Messages: 13
Registration: February 17, 2017 - 8:47 AM

March 5, 2018 - 08:54

Hello and sorry for the delay.

When I run `gpresult`, I don't see the GPO at all... it doesn't seem to be recognized, even though I've run `gpupdate` several times and waited long enough, but still nothing.


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

March 5, 2018 - 09:10

We sometimes have problems with waptdeploy at startup.

Sometimes what happens is that the network is not available at startup when the computer starts up

Other solutions may therefore work:

- Run waptdeploy when the computer is shut down. The network is more likely to be available.
- Launch waptdeploy with a scheduled task. (It is possible to schedule tasks using GPOs.)


To limit problems you can also add the --waptsetupurl argument

Example :

Code: Select all

waptdeploy.exe --hash="43254648348435423486" --minversion=1.3.8 --waptsetupurl=http://ipsrvwapt/wapt/waptagent.exe --wait=10 
using HTTP and why not IP to limit problems
shlomi
Messages: 13
Registration: February 17, 2017 - 8:47 AM

March 5, 2018 - 09:40

When I run `gpupdate /force`, I get this message: "

The user policy update completed successfully.
You cannot update your computer policy correctly. The following errors were encountered:

Group Policy processing failed. Windows cannot apply the registry-based policy settings for the Group Policy object LDAP://CN=Machine,cn={4EB7DDAF-AAB4-4D08-835E-695891800DE0},
cn=policies,cn=system,DC=group-LPF,DC=com. The Group Policy settings will not be recognized until the problem is resolved. View event details for more information about the name and file
that caused the error.
The following warnings were encountered while processing computer policies:

Windows cannot apply the script settings." Settings: Scripts can have their own log file. Click the More Information link.

To diagnose an error, check the event log or run GPRESULT /H GPReport.html at the command prompt to access Group Policy output information.
shlomi
Messages: 13
Registration: February 17, 2017 - 8:47 AM

March 5, 2018 - 09:41

I've already tried with the IP address and with HTTP as well, and I've already added the -waptsetupurl argument
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

March 5, 2018 - 10:34

Good morning,
shlomi wrote: March 5, 2018 - 9:40 AM When I run `gpupdate /force`, I get this message: "

The user policy update completed successfully.
You cannot update your computer policy correctly. The following errors were encountered:

Group Policy processing failed. Windows cannot apply the registry-based policy settings for the Group Policy object LDAP://CN=Machine,cn={4EB7DDAF-AAB4-4D08-835E-695891800DE0},
cn=policies,cn=system,DC=group-LPF,DC=com. The Group Policy settings will not be recognized until the problem is resolved. View event details for more information about the name and file
that caused the error."
The following warnings were encountered while processing computer policies:

Windows cannot apply the settings. Scripts settings may have their own log file. Click the More Information link.

To diagnose an error, check the event log or run GPRESULT /H GPReport.html at the command prompt to access Group Policy output information.
Does GUID 4EB7DDAF-AAB4-4D08-835E-695891800DE0 correspond to your wapt GPO? To check, in the GPO management console, select the GPO corresponding to the waptdeploy deployment, then go to the details tab.

If this is indeed the GPO in question, can you run a gpresult /Z after the gpupdate /force.

Sincerely,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
shlomi
Messages: 13
Registration: February 17, 2017 - 8:47 AM

March 5, 2018 - 11:00

Yes, that was indeed the one corresponding to my GPO. So I deleted it, also deleting the folder in sysvol, and created a new GPO to run the script at logoff. But I'm still getting the same message when I run `gpupdate /force`, even though I've deleted everything
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

March 5, 2018 - 11:13

shlomi wrote: March 5, 2018 - 11:00 AM Yes, it was indeed the one that corresponded to my GPO. So I deleted it, also deleting the folder in sysvol, and I created a new GPO to run the script at session closure. But I still get the same message when I run gpupdate /force, even though I deleted everything.
gpresult? Did you correctly upload the waptdeploy.exe binary to the GPO?
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
shlomi
Messages: 13
Registration: February 17, 2017 - 8:47 AM

March 5, 2018 - 11:18

What do you mean by loaded? I took the executable and copied it to the sysvol folder, then when it asks me for the script, I click browse and select my executable
Locked