June 2008
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          
Search

 
Catagories
Archives
Recent Entries
Links
RSS
error writing to the registry
Catagory: programming · This Entry · Comment(0) · eMail entry · Google
February 18, 2007 12:01 PM

programming

You may encounter the following error messages displayed when trying to modify the registry values. "Error Editing Value Cannot edit : Error writing the value's new content"... or, "Cannot create value, error writing the to the registry" --Even while logged in as the Administrator.

One possible reason for that failure is because Windows grants read access to many registry entries --you may need to manually grant write permission, even to the Administrator (or 'Everyone' if you like), if that's not set.

i was surprised when trying to update the "friendly name" for a external device in the driver settings, windows would not let me update the value until i granted myself write permissions --a kind of safety mechanism.


To change the security per-mission perform the following steps :

Windows 2000:

1. Security permissions have to be set with RegEdt32 (Start Run, enter RegEdt32). Select the HKEY_LOCAL_MACHINE window. Open the following fold-ers: SYSTEM, ControlSet, Enum. Select the folder and choose Security Permissions… in the registry editor menu. Give 'Administrator' or 'Everyone' full control access and apply the new changes. Close RegEdt32.

2. Start regedit (Start Run, enter regedit) and do the necessary changes as described.

Windows XP:

1. Start regedit (Start Run, enter regedit) and choose the folder where new settings have to be applied. Right click and go to Permissions… and set Administrator or 'Everyone' to full control access.

2. In case no Permissions… field is available in the context menu, other settings in the folder options have to be done (Explorer Tools Folder Options View) under Advanced settings, clear "Use simple file sharing [Recommended]". After this setting the security tag should be visible.





Comments

Post a comment
Name:


Email Address:


URL:


Comments: