Execute the following to re-apply HKCU registry keys after changes in a logged on session:
RUNDLL32 USER32.DLL,UpdatePerUserSystemParameters ,1 ,True
// This may need to be run twice with a 2-3 seconds in between. //
Sources:
Alternate ways: