northeast_technician Posted November 13, 2014 Posted November 13, 2014 could someone do me a logon script to add proxy settings please? proxy address: 10.0.0.20 port: 8080 Kind regards
jamesreedersmith Posted November 13, 2014 Posted November 13, 2014 you can set these more easily via GPO/Preferences.
northeast_technician Posted November 13, 2014 Author Posted November 13, 2014 Thought they took that option out with ie10
fairm010 Posted November 13, 2014 Posted November 13, 2014 They removed IE maintenance with IE10 but you can do Internet Options via GPP.
craigw Posted November 13, 2014 Posted November 13, 2014 Watch out though - IE 10 and above group policy settings need to be managed from a Windows 2012 Server or Windows 8 machine. They are not available on a Windows 7 or 2008 server. I just installed the admin tools on 2012 server and remote in to do any IE policy settings. Wally
fairm010 Posted November 13, 2014 Posted November 13, 2014 Ah yes, should have mentioned that. I am Server 2012 R2 domain with Win 7 x64 clients.
fairm010 Posted November 13, 2014 Posted November 13, 2014 (edited) But.. Here is your script. I'd do a reg entry (Proxyon.reg) Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings] "ProxyEnable"=dword:00000001 "ProxyServer"="10.0.0.20:8080" And then use a .bat to merge it: @ ECHO OFF ECHO. ECHO. ECHO Applying school proxy settings, please wait... ECHO. ECHO. regedit /s proxyon.reg ECHO. ECHO. ECHO School proxy settings applied succesfully! ECHO. ECHO. EXIT Edited November 13, 2014 by fairm010
Michael Posted November 13, 2014 Posted November 13, 2014 If you're unable to use GPP (I written about this in the past on Edugeek), the alternative is a regedit and a batch file to install/run the file silently at logon. Something like: Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings] "ProxyEnable"=dword:00000001 "ProxyOverride"="localhost;127.0.0.1" "ProxyServer"="10.0.0.20:8080" In your login script add: regedit /s \\servername\netlogon\proxy\proxy.reg 2
northeast_technician Posted November 13, 2014 Author Posted November 13, 2014 Where do I store the reg edit file
fairm010 Posted November 13, 2014 Posted November 13, 2014 Id same in the same directory as your logon script, the netlogon directory. The path in your logon script must point to the .reg file.
northeast_technician Posted November 13, 2014 Author Posted November 13, 2014 Id same in the same directory as your logon script, the netlogon directory. The path in your logon script must point to the .reg file. Followed script but getting syntax error
northeast_technician Posted November 13, 2014 Author Posted November 13, 2014 Now getting not a valid reg entry
fairm010 Posted November 13, 2014 Posted November 13, 2014 What OS? My entry works fine on Win 7 Pro x64
northeast_technician Posted November 13, 2014 Author Posted November 13, 2014 Am I worth setting reg entry through gpo
fairm010 Posted November 13, 2014 Posted November 13, 2014 You can do it like that yes. But have you tried the GPP way, assuming you have Server 2012?
fairm010 Posted November 13, 2014 Posted November 13, 2014 I'd go to this key in the registry, having all the proxy settings entered as you want in IE. Then export the key an use that with your logon script. [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
Michael Posted November 13, 2014 Posted November 13, 2014 The GPP method works with 2008 Server or later and is certainly a 'cleaner' way of implementing proxy settings, but the results are the same. Here's how to do the GPP method
Michael Posted November 13, 2014 Posted November 13, 2014 And just to clarify, this works with Windows XP onwards using IE8, IE9, IE10 and IE11. The settings in this area haven't changed at all. Just make sure you have GPP extensions installed on XP clients if applicable.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now