Jump to content
Sign in to follow this  
Magellan

Regwrite on W7 X64 without the UAC message ?

Recommended Posts

Magellan

Hello,

Everything is in the title !

Without "#requireAdmin", Regwrite doesn't work at all.

With "#requireAdmin", Regwrite works, only if the user accept the privilege elevation.

Is there a way to write in the registry without asking something to the user on a X64 platform ?

I read many posts about "X64" and "Regwrite" in this forum but I didn't find a solution.

Thanks for your help.

Mag.

Share this post


Link to post
Share on other sites
KaFu

Afaik Admin is required on Vista+ to write to the HKEY_LOCAL_MACHINE branch due to security considerations implemented with UAC, writing to the other branches like e.g. HKEY_CURRENT_USER should work fine without the elevation.

Share this post


Link to post
Share on other sites
Magellan

Afaik Admin is required on Vista+ to write to the HKEY_LOCAL_MACHINE branch due to security considerations implemented with UAC, writing to the other branches like e.g. HKEY_CURRENT_USER should work fine without the elevation.

Hello Kafu,

Thanks for your reply.

I didn't try this branch (HKCU) !

I'll try and tell if it works.

Thanks again.

Mag.

Share this post


Link to post
Share on other sites
Skitty

Hello Kafu,

Thanks for your reply.

I didn't try this branch (HKCU) !

I'll try and tell if it works.

Thanks again.

Mag.

wow, this is very strange, I have a similar problem.

Before I updated windows 7 to SP1, I would use #RequireAdmin to make changes to certain reg keys, after the update, if I use #RequireAdmin, nothing happens and the script hangs unless I don't use #RequireAdmin, it seems to happen randomly and I don't get it, I've been fiddling around with it for a day now only to discover that the update involves fixes to how UAC works.


Things that I've done..

Icon Resource Editor: icon resource editor 

AutoIt Piano: a piano

AutoIt Unlocker: unlocks files when you want to delete them

Colorful tooltips: a wrapper for the tool tips UDF

Rouge GoogleBot: a full screen animation

ASciTE text editor: a text editor written in autoit

Warning: Posts by this user are subject to change or may disappear without notice.

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.