I don't have a great deal of experience with using that command, but if you have the rights, could you be trying to change something that is restricted or in use?
Perhaps trying in safe mode would make a difference.
Otherwise, I am not sure why you would get an access denied message.
What services are you trying to register, if you feel like telling...