[Bug 45974] regedit exits prematurely