Results 1 to 3 of 3

Thread: Editing Registry through Active Directory?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2002
    Location
    Tulsa, OK
    Posts
    24

    Editing Registry through Active Directory?

    Hey guys... I am trying to figure out where to start...

    Here's the deal... I want to automatically (programmatically) get certain key values from the registry on a bunch of different computers... I know the path to the keys on each machine... I know the names of each computer on the network... its an HKLM key... I also know all the api calls to get registry values ... but I've only done it so far on the local machine... never over a network...

    so, I just need a nudge in the right direction on how to do this...the program I write can be run from the server, so it has active directory setup... or it can be run from any pc on the network, with admin rights.

    What to do, what to do?

    Rock

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Have an instance of your program running on each computer. Then, your computer can use Winsock to send commands to each computer's instance of the application, which will retrieve the value from the local registry and save it back.

    It's doubtful that Windows will allow remote computers to view the registry.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  3. #3
    Hyperactive Member
    Join Date
    Feb 2001
    Posts
    280
    remote registry read access?

    try this...

    the clever bit is not my code - so credit to someone else (I appologise I cannot remember where I got this..)

    ---
    U will need some privilige on the machines U are connecting to.
    If you are a lan admin this will work..

    (really this is programatically the same as regedit and using the menupath File->Connect to a Netowrk Registry....)

    zip(workbook enclosed)

    cheers, AJP
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width