I do not totally get your question. So forgive me for asking. Have you ever used the registry editor? Just open a command prompt and type:
Code:

regedit


There is a typo in the path: "CURRENT\VERSION" must be "CurrentVersion".
HKLM = HKEY_LOCAL_MACHINE.
Code:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon


I checked on my computer, The AppSetup key exists. On my computer it is empty. You will have to check it on the computer you are implementing this tool on. If something is written in the value of the key, just ad a comma at the end. Add the name of the batch file, as in the example.

I hope this is the answer you are looking for?