User Policy Refresh - Ron Crumbaker's Web Remote Tools
Attempting to remotely invoke a user policy refresh proved to be one of the hardest things to do--it always wanted to refresh using the credentials of the user running the remote tool, or SYSTEM, or anything but the logged in user. With Stuart Watret (http://offshore-it.co.uk/), we found a way to invoke the user policy refresh remotely under the user's credentials.
To add this button, add a line among the buttons near the top of machrest.asp; the placement of this new button is up to you.
<INPUT id="Button721" style='WIDTH: 151px' type='button' value='SMS User Policy Refr' name='Btnl721'>
Then copy/paste the attached information (the Sub) probably near the bottom, just before the </script>, after all of the other SUB/end Sub routines.