regedit: add a switch to open s4 registry