Redundant UAC dialogs
TBugReporter opened this issue · 3 comments
Steps to reproduce:
-
Run WinPaletter 1.0.7.6 from a non-Administrator account.
-
Click the "Classic Colors" icon.
-
Make any small change to the settings, such as the one I tried:
a. Click "Selection Objects" on the left.
b. Click the color swatch next to "Menu bar".
c. Use the Color Picker that appears to choose a different color.
d. Click "Select" to close the Color Picker.
e. Click "Quick apply".
f. Enter your Administrator password into the UAC prompt.
Expected Result:
The UAC prompt goes away and the change is made.
Actual Result:
The UAC prompt goes away, but immediately comes back - possibly more than once. (I can't figure out what determines the number of times it reappears.)
I thought that this would be a matter of collecting the changes and making them all in the same elevated process, but I guess I don't understand the Windows security stuff as well as I thought.
The settings change you pointed me to does eliminate the redundant UAC prompts; thank you for the assistance. (Now I just have to figure out which colors I need to change. 🙂)
Unfortunately, I can't make modifying all registry keys in one process. Each item is changed/modified by its code line and so there are redundant/many UAC prompts.