As part of the process of editing the registry in Regedit, you can right click in the left window and select "export" to save the current path and all sub paths to an external file. Name that file something meaningful like Pre-CDdeviceChange.reg and if you screw up editing anything in that path you can just go back to that reg file in Explorer and double-click it which will import it back into the registry over-writing any changes you made. This is an incremental save, change, test, recover process. Unless you are very well versed in the registry you probably don't want to hold on to this reg file and restore it later as it may contain other info in sub-paths depending on where you are in the registry when you created the save info.
Save the documentation you are using before making the changes, as in print them on paper in case you need to debug this later. Make sure you have no spelling mistakes before you save your edits and you will probably be OK.
Scott