Page 1 of 3

Wapt is not deployed via GPO

Published: February 28, 2018 - 2:21 PM
by shlomi
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

Re: Wapt not deploying via GPO

Published: February 28, 2018 - 5:39 PM
by sfonteneau
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

Re: Wapt not deploying via GPO

Published: March 5, 2018 - 8:54 AM
by shlomi
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

Re: Wapt not deploying via GPO

Published: March 5, 2018 - 09:10
by sfonteneau
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

Re: Wapt not deploying via GPO

Published: March 5, 2018 - 9:40 AM
by shlomi
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.

Re: Wapt not deploying via GPO

Published: March 5, 2018 - 09:41
by shlomi
I've already tried with the IP address and with HTTP as well, and I've already added the -waptsetupurl argument

Re: Wapt not deploying via GPO

Published: March 5, 2018 - 10:34
by dcardon
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

Re: Wapt not deploying via GPO

Published: March 5, 2018 - 11:00 AM
by shlomi
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

Re: Wapt not deploying via GPO

Published: March 5, 2018 - 11:13
by dcardon
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?

Re: Wapt not deploying via GPO

Published: March 5, 2018 - 11:18
by shlomi
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