Use direct output of "reg" and "regedit"