to expand one level, press + (plus) ON THE KEYPAD
to expand all levels, press * (asterisk) ON THE KEYPAD
to contract all levels, press - (minus) ON THE KEYPAD
NOTE: the * will expand all levels and this can take quite a while - especially with a main folder in RegEdit, or the Windows folder in Explorer