Les-

You are right it has something to do with the way that I'm using the returned variable. If I run the code the way you've presented it I do get the value returned to me.

I also relized that I'm wanting the EXISTKEY function and not the readvalue, because I simply want to know if the key exists and if it does run the subroutine. So if I understand the command reference correctly I should only need to do the following:

$BVC = ExistKey("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\drdvdll.exe")

If $BVC = 0

? "Key exists...."

Endif