Wrox Programmer Forums
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old August 5th, 2003, 11:20 PM
Kep Kep is offline
Authorized User
Join Date: Aug 2003
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Default Remote Registry

Hi all,

I realise this is more a Windows NT security question than a VB question but perhaps some one can help.

I'm connecting to the registry on a remote computer and looking to read a value from the registry key (on the remote host) called:-


There is a value in this key called "MyValue". All I need is read access and the security descriptor for this key (and all it's parent keys) provide read access to the "Everyone" group.

When I try and open the key I get an access denied error message. The only way I can read the data is if I add my user account to the Adminstrators group on the remote host.

The Administrators group provides too much access (read/write/delete etc.) where as I only want standard users to be able to see the data.

Can anyone tell me what's going on?


Old August 13th, 2003, 04:18 AM
Registered User
Join Date: Aug 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

I have exactly the same problem.

I can only read the key in the remote registry if I
have admin rights. This is despite setting up a
path in the \securepipes\winreg\allowedpaths to allow
anonymous access to my key.

If anyone knows a way round this I would be very grateful.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fetch Licence key from Remote Registry saumya Visual Studio 2005 0 December 3rd, 2007 11:32 PM
remote registry ingormation saumya Visual Studio 2005 0 November 28th, 2007 04:23 AM
remote registry access alex_smotritsky General .NET 2 November 28th, 2007 02:53 AM
remote registry carelfrik Access VBA 2 October 28th, 2005 02:18 PM
Remote Registry Kep C++ Programming 3 September 18th, 2003 05:39 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.