Force program to read HKCU instead of HKLM
Hi,
I want to make a BATCH script to "portabilize" a program that doesn't need more than "users" rights (doesn't need "Admin" rights/privileges). That program reads registry keys and values in HK_LOCAL_MACHINE to define some options and variables.
I would like to force that program to read HK_CURRENT_USER (or any other registry key that doesn't need more than "users" rights) instead of HK_LOCAL_MACHINE because I don't want my BATCH script to need elevated privileges (and call an UAC prompt) to set up my program.
- Read more about Force program to read HKCU instead of HKLM
- 4 comments
- Log in or register to post comments