The difference between your writevalue line that sets the homepage and the other three are the quotes.
Put the values in between quotes and everything should be working. Some times it is in the little things ;\)

 Code:
$rc = WriteValue("HKCU\Software\Microsoft\Internet Explorer\Main", "RunOnceHasShown", "1", "REG_DWORD")
? @ERROR
? @SERROR
$rc = WriteValue("HKCU\Software\Microsoft\Internet Explorer\Main", "RunOnceComplete", "1", "REG_DWORD")
? @ERROR
? @SERROR
$rc = WriteValue("HKCU\Software\Microsoft\Internet Explorer\PhishingFilter", "Enabled", "2", "REG_DWORD")
? @ERROR
? @SERROR


Edited by Mart (2009-04-21 09:26 AM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.