Well you query for the value now with:
$RegVal = ReadValue("Hkey_local_machine\System\CurrentControlSet\Control\VirtualDeviceDrivers","VDD")

So then, what does $RegVal contain and why do you do:
If $RegVal <> 1

It is supposed to be a multi string VarType and not an integer.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.