Here is a nice script that Mikael Nystrom & Johan Arwidmark put together to set the Permissions required for the OSD Service Account.