Hello li dcik,
Thank you for posting in Microsoft Community forum.
Please check or troubleshoot the issue as below:
1.Please check if the logon script itself work or not.
2.Because you configured logon script under user configuration, please put user account objects in the OU if you link the GPO to one OU.
3.If the test.vbs is a local path or shared path, I suggest you can put the test.vbs in the GPO shared folder path.
For example:
\a.com\SYSVOL\a.com\Policies{GUID}, the GUID is corresponding to the GPO GUID.
Or other shared path that all the users can access.
4.Check GPO setting via gpresult file.
For checking User Configurations within gpresult, we can follow steps below.
Logon the machine using normal domain user account (in the OU that GPO linked to).
Create a folder named F1.
Open CMD (do not run as Administrator).
Type gpresult /h C:\F1\gpo.html and click Enter.
Open gpo.html and check logon script setting under "User Details".
I hope the information above is helpful.
If you have any question or concern, please feel free to let us know.
Best Regards,
Daisy Zhou