Jump to content
Sign in to follow this  

getting windows handle search tree hives

Recommended Posts


 can anyone  help me out on this, most appreciated, all I am trying to do is to get the handle on the RIGHT

see picture  below, Yes I have used the tool info and windows spy to no avail

run gpedit.msc

need the handle on the right  on " Computer Configuration "


Edited by antonioj84

Share this post

Link to post
Share on other sites

This can be done with the UI Automation framework.

Download the two UDFs in bottom of first post, and download and run the code in the "Simple spy demo" codebox in the middle of first post.

To verify that a control can be identified place the mouse cursor over the control and press Ctrl+w. You can see an example here.

Note that the framework is based on COM interface objects (created with ObjCreateInterface), so it's not just as easy to use as most built-in commands.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.