Ok, now that goes past that point now but errors on line 65
 Code:
 $DefPtr = ReadValue('HKEY_CURRENT_USER\Software\Microsoft\Windows 


How do i pause the error on the screen so i can read it before it disappears....