Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Manipulating the Registry in Windows Vista
Message
From
06/11/2007 09:18:48
 
 
To
06/11/2007 09:16:42
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01266101
Message ID:
01266943
Views:
9
>>Hi Luiz.
>>
>>> In Windows Vista even if you are login as administrator applications runs
>>>by default with minimun rights, I need to access the HKEY_LOCAL_MACHINE
>>>on the registry, but it keeps redirecting my changes to HKEY_LOCAL_USER
>>>because of the rights issue, I looked at the link bellow:
>>>
>>>http://msdn2.microsoft.com/en-us/library/ms724878.aspx
>>>
>>>which addresses this issue and I think I follow what they suggested, but obviously I must be doing something wrong, any one have tried to manipulate the registry in Windows Vista, even if is not Fox code, anything will help.
>>
>>You can't write to HKEY_LOCAL_MACHINE. Use HKEY_CURRENT_USER instead for user-specific data. There isn't a writable global Registry location.
>>
>>Doug
>
>I not sure if that is entirely true. Using my Query tool, I can write to the LOCAL MACHINE section of the Registry. If I can't, then why does the data appear there?

Wait. I guess I do have Admin rights on the Vista Home edition.
Greg Reichert
Previous
Reply
Map
View

Click here to load this message in the networking platform