Sign in to follow this  
Followers 0
blfr

Regwrite don't work in HKLM

4 posts in this topic

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



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  
Followers 0