StartUp scripts in QAS Group Policy will only run when the QAS daemon (vasd) starts. They do not run during a policy refresh, which is every 90 minutes by default. This can make it hard to see if your script actually ran.
You can simulate a policy application similar to what will happen when vasd starts by running the following command:
/opt/quest/bin/vgptool apply -M startup
This should run your script and display the output.
If you decide to just stop and start vasd, you can see some information about what policies applied, using Resultant Set of Policy (RSoP):
Script policies do not log their output into RSoP, but you will be able to see that the script was called.
A common user error with QAS Group Policy is that you may not have your GPO linked correctly. Run:
And, make sure you see your GPO that contains the StartUp script is listed.
Hope that helps!