📎 AI Summary:
The thread discusses an issue where a registry modification via a .reg script appears successful but does not actually change the registry value. The original poster, despite confirming the script runs and UAC is disabled, finds the registry remains unchanged. Respondents suggest testing the script on a different machine or account, and caution against disabling UAC, while requesting the script content and intended changes to better diagnose the problem. The overall sentiment is troubleshooting with some advice, emphasizing careful handling of UAC and script validation.

pstein

Extraordinary Member
Member details
Joined
Mar 20, 2010
Messages
454
Thread Author #1
I have a *.reg script which just modifies (overwrites) the value of a certain, existing Registry key.

When I double click on it (similar to Win7) then a popup appears asking me if I really want to add the key.
After clicking Ok I was informed that the key value has been added successfully.

However when I peek into the Registry DB then the old key is still unchanged.

Whats wrong?

I disabled UAC completely (slider to lowest possible position) and my user is member of the Administrator group.

Peter
 

Solution
Disabling UAC is in general a bad idea and can have side effects such as not properly executing some tasks with administrative privileges.

Post the content of the reg file and what are you trying to change.

livix07

Honorable Member
Member details
Joined
Feb 19, 2018
Messages
585
Just 2 quick thoughts:
- have you tested that script on a different computer?
- create a new admin account on the same computer and test the script

Maybe the script is the problem.
 

Neemobeer

Windows Forum Team
Staff member
Member details
Joined
Jul 4, 2015
Messages
8,995
Disabling UAC is in general a bad idea and can have side effects such as not properly executing some tasks with administrative privileges.

Post the content of the reg file and what are you trying to change.
 

Solution