Click here to Skip to main content
15,879,535 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I attempted to remotely access a registry key under HKEY_CURENT_USER, RegConnectRegistry kept failing. I wrote a routine to discover the nature of the error an d got this message: RegConnect Registry failed with error 997: Overlapped I/O operations in progress.
How do I resolve this?

I suspect that the problem may be because my computer does not have the permission to access the remote registry key.

The two computers in question belong to the same work group. I attempted to grant permission to the remote computer on the server computer but could not find a listing of its name nor its workgroup.

How can I grant permission to a remote computer so that it can have access to a registry key ?

Where can I get a complete routine for remotely accessing a registry key on a network and on the internet?
Posted

1 solution

It's most likely a permissions issue as you yourself guessed. Your domain-user needs to have access on that specific machine. This can be setup locally on that machine or via centralized group-based permissions set at the domain level. Talk to your network/IS admins to see if they can resolve this for you.
 
Share this answer
 
Comments
Gbenbam 2-Nov-11 11:57am    
You see, I am testing an application I developed and I am using two computers and a cross cable I am the one who set up the network and there two computers right in front of me that I am using for the test as both client an server. In short I am the network admin. How can I grant permission to the client computer so it can have access to the desired registry key?
Nish Nishant 2-Nov-11 12:02pm    
Add the user from computer-A as an user on computer-B. How you do this depends on the OS you are on.
Nish Nishant 2-Nov-11 12:02pm    
As an examaple, if computer-A is called MachineA and the user is say John, then on computer-B, you would need to add MachineA\John as an allowed user and set rights accordingly.
Gbenbam 16-Nov-11 5:50am    
How does one do this in windows XP if the computers are in a workgroup

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900