There is no out of the box solution - but you can install a fresh version of GP and use the support debugging tool to export the vanilla data and then import this into your production enviornment. MG has a post that explains it all:
dynamicsgpblogster.blogspot.ie/.../resetting-security-roles-and-task-with.html
Ian.