Registry has nothing to do with vista, 7 and newer going into safe mode.
The command changes the boot manager, which isnt stored in the registry.
When you open Windows Repair in safe mode, if you had the program set safe mode, it will run the command to put it back to normal. You can also open msconfig.exe and turn off safe mode there as well
Shane