Store -R value to the Windows registry