dpang
asked on
CreateKey error running REGINI under WinNT 4.0
I am logged onto NT Workstation 4.0 as Administrator, trying to use REGINI. When I execute an .ini file which adds the key
\Registry\Machine\System\C urrentCont rolSet\Env m\Root\LEG ACY_TEST\0 000
I get a "CreateKey" error. How do I resolve this?
\Registry\Machine\System\C
I get a "CreateKey" error. How do I resolve this?
You must start your key with either HKEY_LOCAL_MACHINE or HKEY_USERS. Try HKEY_LOCAL_MACHINE\SYSTEM\ CurrentCon trolSet\En vm\Root\LE GACY_TEST\ 0000
ASKER
Answer incorrect. Branch in registry protected and cannot be modified.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You may fail to create a key if you don't have enough rights (regini reports error code -5).
Run regedit32, go to CurrentControlSet key, invoke menu Security->Permissions and make sure Administrators group has a full control rights.
Run regedit32, go to CurrentControlSet key, invoke menu Security->Permissions and make sure Administrators group has a full control rights.
ASKER
Just noticed that there was a typo in my question! "Envm" should be "Enum". But anyway, your comment answered the question!
On the grading page there is an option to "Mark a comment as an answer...", but following this link gives the error "The requested URL /topics/bin/ChooseAnswer was not found on this server."
Thanks.
On the grading page there is an option to "Mark a comment as an answer...", but following this link gives the error "The requested URL /topics/bin/ChooseAnswer was not found on this server."
Thanks.