I am trying to implement the use of a PAC file to set the browser proxy settings.
I have the PAC file saved to a network share.
I need a logon script that will copy the file to the users local machine. the problem that i am having is that the users don't have local admin rights, so the script fails with access denied.
Const OverwriteExisting = True
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objName= CreateObject("wscript.network")
objFSO.CopyFile "\\server\PAC\PAC.pac" , "C:\Windows\System32\Drivers\etc\PAC.pac" , OverwriteExisting
I have thought of trying to save it to the users profile, but not sure if GPO to to direct the proxy setting with allow %username% to be used?