When trying to write an entry into the registry (specifically the Windows Run key) on a Windows XP system, it fails:
$test2 = RegWrite('HKLM\Software\Microsoft\Windows\CurrentVersion\Run', 'FHCServicesPortalUpdate', 'REG_SZ', 'C:\FHC_Tools\new.Portal\new.PortalSvc.exe')
MsgBox(262144,'Debug line...