Jump to content
Sign in to follow this  
blfr

Regwrite don't work in HKLM

Recommended Posts

blfr

Hi,
 
i'm testing to modify the compatibility of an application in W7 but i can't write in HKLM in the registry
 
- I'm localadministrator
- I disable UAC

- I test with HKLM64
 

#RequireAdmin
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers", "C:\Program Files\Sterci\StematchProd\bin\smatch.exe", "REG_SZ", "DISABLETHEMES")

If i try to write in the current user, it works... I hope somebody can help me.

Sorry but i begin so maybe it's a stupid things.. i already search but nothing works.

Thanks

Share this post


Link to post
Share on other sites
blfr

hooo.... I test again and it's work

#RequireAdmin
RegWrite("HKLM64\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers", "C:\Program Files\Sterci\StematchProd\bin\smatch.exe", "REG_SZ", "DISABLETHEMES")

Sorry for the useless post.

Thanks John

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.