You people are so clever! I never really understood how kixtart uses INI files before, but this is a great example of how to get Kixtart to read very specific data within a file! I will definitely use this concept again. Mart I have used your suggestion as my proxy settings are not linked to any user accounts per se. So I have modified the script accordingly. The shiny new script is here!

 Code:
proxyauthenticate ($inifile)


And the function

 Code:
;================================================================================================
;  Sets the default proxy username and password for IE for the logged on user
;================================================================================================

Function proxyauthenticate ($inifile)

$inifile = $ServerName + "\XXX\proxyauth.ini"

$groups = "Robert", "Is", "Wise", "And", "Wonderful"

For Each $group in $groups
	If InGroup($group)
		$proxyuser = ReadProfileString($inifile, $group, "username")
		$proxypass = ReadProfileString($inifile, $group, "password")
$shellcmd = 'cmdkey /generic: $ProxyServer /user: $proxyuser /pass: + $proxypass'
Shell $ShellCMD		
	EndIf
Next
EndFunction