Solved Registry Searcher


dacrone

Well-known member
Guru
VIP
Local time
1:29 PM
Posts
4,625
OS
Windows 11 Pro
this ahk will allow you to highlight text, such as:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\SessionData

and either double click the tray icon, or press the key combo:

CTRL+ALT+R

to copy that text, launch Registry Editor, and browse to that key.

just for ease/speed of modifications. EXE is attached in .zip (may have to allow on defender or other av)

1758296465067.webp

ahk code:
Code:
#SingleInstance Force

Menu, Tray, NoStandard
Menu, Tray, Add, Run Script, RunScript
Menu, Tray, Add, Exit, ExitScript
Menu, Tray, Default, Run Script
Menu, Tray, Tip, Registry Search

; Auto-elevate to run as administrator
if not A_IsAdmin
{
    Run *RunAs "%A_ScriptFullPath%"
    ExitApp
}

global lastActiveWinID := 0

SetTimer, TrackActiveWindow, 1000
return

TrackActiveWindow:
    WinGet, winID, ID, A
    if (winID != lastActiveWinID)
        lastActiveWinID := winID
return

SetTitleMatchMode, 2

; Define the label BEFORE referencing it in the tray menu
RunScript:
    if (lastActiveWinID)
    {
        WinActivate, ahk_id %lastActiveWinID%
        WinWaitActive, ahk_id %lastActiveWinID%, , 2
        Sleep, 1000
        Send, ^c
        Sleep, 300
    }

    Run, regedit.exe
    WinWaitActive, Registry Editor
    Sleep, 500
    Send, ^l
    Sleep, 100
    Send, ^v
    Sleep, 100
    Send, {Enter}
return

ExitScript:
ExitApp

; Now build the tray menu
Menu, Tray, NoStandard
Menu, Tray, Add, Run Script, RunScript
Menu, Tray, Add, Exit, ExitScript
Menu, Tray, Default, Run Script
Menu, Tray, Tip, Registry Shortcut Script

^!r::  ; Ctrl+Alt+R hotkey
Gosub, RunScript
return
 

Attachments

My Computer

System One

  • OS
    Windows 11 Pro
Sorry, but in this case I really don't see any advantages of this search script, because (as I understood it) it does the same as:
- Highlight a text like
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\SessionData"
- Copy it by pressing CTRL C
- Start the registry editor
- Paste the line into the adress bar of the registryeditor and press the ENTER key.
 

My Computer

System One

  • OS
    Windows 11 Pro 25H2 26200.8457
    Computer type
    PC/Desktop
    Manufacturer/Model
    Build by vendor to my specs
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    MSI PRO B550M-P Gen3
    Memory
    Kingston FURY Beast 2x16GB DIMM DDR4 2666 CL16
    Graphics Card(s)
    MSI GeForce GT 730 2GB LP V1
    Sound Card
    Creative Sound Blaster Audigy FX
    Monitor(s) Displays
    Samsung S24E450F 24"
    Screen Resolution
    1920 x 1080
    Hard Drives
    1. SSD Crucial P5 Plus 500GB PCIe M.2
    2. SSD-SATA Crucial MX500-2TB
    PSU
    Corsair CV650W
    Case
    Cooler Master Silencio S400
    Cooling
    Cooler Master Hyper H412R with Be Quiet Pure Wings 2 PWM BL038 fan
    Keyboard
    Cherry Stream (wired, scissor keys)
    Mouse
    Asus WT465 (wireless)
    Internet Speed
    70 Mbps down / 80 Mbps up
    Browser
    Firefox 130.0
    Antivirus
    F-Secure (Internetprovider version)
    Other Info
    Router: FRITZBox 7490
    Oracle VirtualBox 7 for testing software on Win 10 or 11
...yeah, thats exactly what i stated it does. if you dont want to use it, then dont. pointless comment.
 

My Computer

System One

  • OS
    Windows 11 Pro
Back
Top Bottom