Set Proxy for all Users
Replies (5)
Thank you for being part of Microsoft Community.
- Are you logged in as the administrator?
- Are you referring to the proxy settings while using a website?
- Which browser do you use to access websites?
Please reply to the questions in order to assist you in a better way.
Was this reply helpful?
Sorry this didn’t help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
1. Yes I will be logged in as the administrator. Regular users will be logged in as a standard user.
2. Yes I am referring to the web proxy settings.
3. We use chrome, ie, and edge.
I need to be able to set the web proxy for all users and not let standard users have the option of changing it. We force all of our students through a web proxy for filtering purposes.
Was this reply helpful?
Sorry this didn’t help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
Thank you for the update.
Are the computers on a domain type of network?
Was this reply helpful?
Sorry this didn’t help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
Was this reply helpful?
Sorry this didn’t help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
Thank you for the update.
1. In Internet Explorer, click the Tools button, and then click Internet Options.
2. Click the Connections tab, and then click LAN settings.
3. Select the Use a proxy server for your LAN check box.
4. In the Address box, type the address of the proxy server.
5. In the Port box, type the port number.
6. If your network requires separate proxy addresses for different services, such as HTTP, HTTPS, or FTP, click the Advanced button, and then type the individual proxy server addresses to use.
7. When you are finished making changes, click OK until you return to Internet Explorer.
Создаем свой собственный прокси сервер на Windows.
Здравствуй. Как ты уже понял сейчас будем создавать личный прокси сервер. Что это такое можешь почитать тут , а так же различие их типов тут . Мы же будет создавать socks прокси.
Для этого нам понадобится бесплатный прокси-сервер под названием 3proxy . Для этого переходим на официальный сайт и качаем самую свежую версию.
3proxy умеет работать с HTTP/HTTPS, FTP over HTTP, SOCKS, можно делать разные правила разрешений и запретов, даже скорость ограничивать персонально для выбранного пользователя. Так же он весит меньше мегабайта, но не имеет графического интерфейса.
Скачиваем программу и распаковываем куда хотите.
В каталоге мы увидим три папки и еще всякие файлики. В папке bin хранится сама программа прокси сервера и всякие плагины, в папке cfg хранится пример файла конфигурации и sql скрипт для создания базы данных, однако понадобиться нам только один файл, которого еще нет.
Мы идем в папку bin, там создаем файл 3proxy.cfg. Открываем его на редактирование, вписываем туда всего четыре строчки:
timeouts 1 5 30 60 180 1800 15 60
Первая строка говорит, что авторизация не требуется, вторая заставляет работать по протоколу socks, третья это время ожидания подключения и последняя порт работы socks.
Мы настроили самый примитивный конфиг, обычно в лучшем случае он выглядит как-то так.
internal 192.168.0.1
external 211.80.11.12
nserver 213.153.100.1
nserver 213.153.101.1
nscache 65536
rotate 30
nobandlimin * * * 110
bandlimin 24000 * 192.168.0.2,192.168.0.3
bandlimin 48000 * 192.168.0.4
bandlimout 24000 *
counter «c:\3proxy\3proxy.3cf» D «C:\3proxy\traf\traf»
nocountin * 192.168.0.4 * 110 *
countin «1/name» M 50 * 192.168.0.2 * * *
countin «2/name1» M 80 * 192.168.0.3 * * *
countin «3/name2» M 30 * 192.168.0.4 * * *
auth iponly
allow * 192.168.200.4 * * * 1-5 09:00:00-18:00:00
allow * 192.168.0.2,192.168.0.3 * 80,443 * 1-7 00:00:00-23:59:59
proxy
Сохранили конфиг, далее нам нужно запустить сам сервер, в винде 3proxy работает как служба, чтобы ее включить, нужно сделать следующее.
Открываем cmd от имени администратора, переходим в каталог, содержащий файл 3proxy.exe.
cd c:\твой путь\3proxy\bin
и запускаем инсталляцию:
Тут соглашаемся и инсталляция сразу закончится.
P.S Для примера я делаю на VPS от амазона с windows 7, если ты читал про VPN , то быстро поймешь.
Windows proxy all users
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Answered by:
Question
I am working on creating a Ps script to check IE Proxy Enable value from registry.
The Key that I am checking is this : HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings
I assigned this to a Variable and then later check value of ProxyEnable key which is in above mentioned path and I get output which is good.
The issue is that it only gives for Current user, I want to check proxy value for all users profiles on server.
Any idea how can I get same results for all users profiles that are on Windows server.
Any help would be great here..
Answers
[HKEY_USERS\ \Software\Microsoft\Windows\CurrentVersion\Internet Settings] will only exist for currently logged on users. Is this a terminal server?
I will note again. This will not work. Just set ALL users by setting NETSH WinHTTP proxy and all users will have same proxy.
This question is the result of untrained admins inventing a solution based on only knowing how to manage a standalone home PC. In a domain we use GP to manage IE settings which avoids the need for manual management and enforces policy.
NETSH WinHTTP proxy
All replies
Proxy is likely enabled through GPO so this registry setting will not be useful.
A users profile is only loaded when a user is logged in.
Group Policy sets this for all users and does not need to be checked. You may need to validate that GP is being applied to a machine using RSOP.
You can check machine default settings with NETSH.
netsh winhttp show proxy
The settings should be set per/machine.
thanks for the response.
While it is true that proxy generally sets up by GPO, but in our infra — it is not by GPO.
User(admins) manually sets up proxy value on IE and then it reflects in registry as well at below path
So, when you look for above path through PS script and check for value of entry ProxyEnable (0 = disable , 1 — enable) then, it only gives you result for HKCU (Current User).
To find proxy settings for «All Users» — I have further looked down and listed out all profiles in registry for all users on server from below path:
from here — you can list out all users profiles available on server by running get-childitem cmdlet. It gives SID of all profiles.
however, having reached upto this level also — I am not able to get ProxyEnable value from path, I have tried checking below path for Each SID as well..no luck.
[ HKEY_USERS\ > \Software\Microsoft\Windows\CurrentVersion\Internet Settings ]
any idea as to how ProxyEnable value can be checked for all users.
Let me know if contents of the thread is not clear.
[HKEY_USERS\ \Software\Microsoft\Windows\CurrentVersion\Internet Settings] will only exist for currently logged on users. Is this a terminal server?
[HKEY_USERS\ \Software\Microsoft\Windows\CurrentVersion\Internet Settings] will only exist for currently logged on users. Is this a terminal server?
I will note again. This will not work. Just set ALL users by setting NETSH WinHTTP proxy and all users will have same proxy.
This question is the result of untrained admins inventing a solution based on only knowing how to manage a standalone home PC. In a domain we use GP to manage IE settings which avoids the need for manual management and enforces policy.
NETSH WinHTTP proxy
While it is true that proxy generally sets up by GPO, but in our infra — it is not by GPO.
User(admins) manually sets up proxy value on IE and then it reflects in registry as well at below path
So, when you look for above path through PS script and check for value of entry ProxyEnable (0 = disable , 1 — enable) then, it only gives you result for HKCU (Current User).
To find proxy settings for «All Users» — I have further looked down and listed out all profiles in registry for all users on server from below path:
from here — you can list out all users profiles available on server by running get-childitem cmdlet. It gives SID of all profiles.
however, having reached upto this level also — I am not able to get ProxyEnable value from path, I have tried checking below path for Each SID as well..no luck.
[ HKEY_USERS\ > \Software\Microsoft\Windows\CurrentVersion\Internet Settings ]
any idea as to how ProxyEnable value can be checked for all users.
Let me know if contents of the thread is not clear.
A users hive is only loaded when user is logged into the system.
The easy way to locally or remotely find user hives is s like this:
Get-WmiObject Win32_UserProfile -Filter ‘Special=False’ | select SID,LocalPath
How to set proxy setting for all domain users?
How can i set proxy and same configuration of and account to all users on Windows 7?
Normally i configure de admin account! I want same config on the users on the domain!
The help desk software for IT. Free.
Track users’ IT needs, easily, and with only the features you need.
11 Replies
Check following link. I think that will help you.
If you’ve got IE10 or above on your AD/GPO server then you will need to use group policy preferences.
Out can add it to the default domain policy but I would suggest creating a new policy at the same level instead.
You can set a whole bunch of settings with a group policy object. Set the policies in ,
, , . The proxy is then in and
Internet Explorer Maintenance no longer exists with IE10+
You can follow below steps.
1) Click the «Start» button, input «gpmc.msc» in «Run» edit box, then press the «Enter» key.
2) In the pop up «Group Policy Management» window, click «Forest: domain.com» and expand it, navigate to «Domains» -> «domain.com» -> «Default Domain Policy», right click «Default Domain Policy» and select «Edit. «.
3) Click the «User Configuration» node to expand the tree, navigate to «Policies», «Windows Settings», «Internet Explorer Maintenance» and «Connection», on the right side of the window double-click «Proxy Settings».
4) In the pop up «Proxy Settings» dialogue box, select the «Enable proxy settings» check box, type the IP address and port of the proxy server both in «Address of proxy» and «Port» edit boxes, then click the «OK» button.
Proxy Settings for Domain Clients
After made «proxy server settings» and «domain server configuration», the IE browser in domain clients do not need to make proxy settings again. Accessing the Internet could be done by domain accounts, but it only works for IE. However, as many softwares access the Internet via IE’ proxy, you do not need to make proxy settings for them.
Some softwares could detect the system proxy of domain automatically. You could choose the system proxy settings to get away from making proxy settings for them.