versuch es mal so:
Spoiler anzeigen
[autoit]
For $i = 1 to 100
$var = RegEnumVal("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", $i)
if @error <> 0 Then ExitLoop
MsgBox(4096, "Value Name #" & $i & " under in AutoIt3 key", $var)
next