Click here to Skip to main content
13,091,300 members (48,886 online)
Rate this:
Please Sign up or sign in to vote.
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 2-Nov-11 5:33am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.
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?
Nishant Sivakumar 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.
Nishant Sivakumar 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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.170813.1 | Last Updated 2 Nov 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100