I am trying to set a Home Page for all my users and other secondary tabs as well, but it's not working.... I get the home page, but no secondaries. Would appreciate it if anyone can help.....

This is the script fragment:
 Code:
;Begin SharePoint News Page Settings
;If InGroup("LPNT\RMHO_SHP_HOMEPAGE")
If InGroup("RMHOInetAccess")
	$IEMain = "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main"
	$SHPPage = "http://sharepoint.lpnt.corpad.net"
	$HomePage = ReadValue($IEMain, "Start Page")
		If($HomePage <> $SHPPage)
		$SecondaryHP = "http://www.google.com" 
		$SecondaryHP = ReadValue($IEMain, "Secondary Start Pages")
			If(WriteValue($IEMain, "Start Page", $SHPPage, "REG_SZ") And WriteValue($IEMain, "Secondary Start Pages", $HomePage + "|" + $SecondaryHP, "REG_MULTI_SZ"))
			$WriteShpProcessed = WriteValue($IEMain, "SharePoint Deployed", "Deployed", "REG_SZ")
			EndIf
		EndIf
EndIf
;End SharePoint News Page Settings


Edited by Mart (2012-08-09 09:26 AM)
Edit Reason: Added code tags.