You are asking for a custom solution and the best way to achieve those are by learning to code. Start small by just trying to alter who can access the command.
Like Martt suggested you need to find "RegServerCmd" instance and then see what is being done with it.