G
Guest
I am attempting to set permissions on a set of registry keys on a remote
computer. I am able to open the registry key on the remote computer and read
values from it. However, when I call the SetAccessControl method on the key,
a System.NotSupportedException is thrown with the following text for the
Message property:
The supplied handle is invalid. This can happen when trying to set an ACL on
an anonymous kernel object.
This exception is not mentioned in the documentation for the
SetAccessControl method. Does anyone know how to accomplish this?
Thank you,
Jason Richmeier
computer. I am able to open the registry key on the remote computer and read
values from it. However, when I call the SetAccessControl method on the key,
a System.NotSupportedException is thrown with the following text for the
Message property:
The supplied handle is invalid. This can happen when trying to set an ACL on
an anonymous kernel object.
This exception is not mentioned in the documentation for the
SetAccessControl method. Does anyone know how to accomplish this?
Thank you,
Jason Richmeier