Your code:
$Proxy = ReadProfileString(c: +'\Kix\include.ini','Include','Proxy')
is looking for a "key" called "Proxy" undier the "Section" called "Include". You have a "Section" called "Proxy" but don't have a key by that name.

To make the existing code work, you need to add the key to the INI

INI FIle:
[Include]
PCNAME=1 ; Allows certain comuputers to have proxy enabled
Proxy=PROXYSERVER:PORTNUMBER ; Hopefully writes the proxy listed here to the registry

This is not how I would do it but it does answer your question. In fact I use GPOs to set proxy, not based on the computer but rather based on whether the user is in the group that has permissions applied on the proxy server. That way users without internet access do not get the proxy logon prompt.

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.