I think it's fixed. I also tweaked the results format a little, so you can tell the difference between a key name match and a value name match (by the trailing backslash). Let me know if it works for you! $SearchKey = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion" $SearchString = "Wall" $Timer = TimerInit() $Results = _RegSearch($SearchKey, $SearchString) $Timer = TimerDiff($Timer) / 1000 MsgBox(64, "_RegSearch() Test", "Results of searching registry:" & @CRLF & _ "In: " &am