Windows 10: Windows 10 unable to gray out proxy settings

Discus and support Windows 10 unable to gray out proxy settings in Windows 10 Customization to solve the problem; Not sure - but my code work a while back with no problems. It seems after a while MS changes something and I am unable to lock down the proxy like... Discussion in 'Windows 10 Customization' started by Mradr, Jan 2, 2019.

  1. Mradr Win User

    Windows 10 unable to gray out proxy settings


    Not sure - but my code work a while back with no problems. It seems after a while MS changes something and I am unable to lock down the proxy like before. Anyways, I need to be able to gray out the proxy settings for both limit and administrator accounts. In the registry I set the following and loop over all current users to set the proxy settings. In some cases this works with no problem. It's gray out and works like it should. In others - it'll allow users to turn it off and on.


    if proxysetting == "1":

    if user_only == 0:

    runcommand(r'reg.exe ADD "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Internet Settings" /v MigrateProxy /t REG_DWORD /d 1 /f')

    runcommand(r'reg.exe ADD "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f')

    runcommand(r'reg.exe ADD "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d %s /f' % proxyipaddress)

    runcommand(r'reg.exe ADD "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Internet Settings" /v proxyoverride /t REG_SZ /d "%s;*pclocker.ctgroup.tech" /f' % website_whitelist)



    runcommand(r'reg.exe ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v MigrateProxy /t REG_DWORD /d 1 /f')

    runcommand(r'reg.exe ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f')

    runcommand(r'reg.exe ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d %s /f' % proxyipaddress)

    runcommand(r'reg.exe ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyOverride /t REG_SZ /d "%s;*pclocker.ctgroup.tech" /f' % website_whitelist)



    runcommand(r'reg.exe ADD "%s\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Internet Settings" /v MigrateProxy /t REG_DWORD /d 1 /f' % reg_path)

    runcommand(r'reg.exe ADD "%s\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f' % reg_path)

    runcommand(r'reg.exe ADD "%s\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d %s /f' % (reg_path, proxyipaddress))

    runcommand(r'reg.exe ADD "%s\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Internet Settings" /v proxyoverride /t REG_SZ /d "%s;*pclocker.ctgroup.tech" /f' % (reg_path, website_whitelist))



    runcommand(r'reg.exe ADD "%s\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v MigrateProxy /t REG_DWORD /d 1 /f' % reg_path)

    runcommand(r'reg.exe ADD "%s\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f' % reg_path)

    runcommand(r'reg.exe ADD "%s\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d %s /f' % (reg_path, proxyipaddress))

    runcommand(r'reg.exe ADD "%s\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyOverride /t REG_SZ /d "%s;*pclocker.ctgroup.tech" /f' % (reg_path, website_whitelist))

    runcommand(r'reg.exe ADD "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxySettingsPerUser /t REG_DWORD /d 1 /f')

    runcommand(r'reg.exe ADD "%s\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxySettingsPerUser /t REG_DWORD /d 1 /f' % reg_path)





    I also tried this setting it only with HKLM - but the problem there is that it pulls old HKLM settings even after cleaning out all registry keys with the old information both on the user and machine. It seems like something really mess up on Windows when it comes to correctly setting what you want in there. This has been going on for a while and I been able to so far fix it by changing out different settings here and there to make it work - but at this point it's getting a bit silly and I like to have a solution for this so I can lock down all the devices I handle.


    if self.ProxySetting == "1":

    runcommand(r'reg.exe ADD "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Internet Settings" /v MigrateProxy /t REG_DWORD /d 1 /f')

    runcommand(r'reg.exe ADD "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f')

    runcommand(r'reg.exe ADD "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d %s /f' % self.proxyipaddress)

    runcommand(r'reg.exe ADD "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Internet Settings" /v proxyoverride /t REG_SZ /d "%s;*pclocker.ctgroup.tech;*precomputer.hostedrmm.com;*pcsrt.com" /f' % self.Website_WhiteList)



    runcommand(r'reg.exe ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v MigrateProxy /t REG_DWORD /d 1 /f')

    runcommand(r'reg.exe ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f')

    runcommand(r'reg.exe ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d %s /f' % self.proxyipaddress)

    runcommand(r'reg.exe ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyOverride /t REG_SZ /d "%s;*pclocker.ctgroup.tech;*precomputer.hostedrmm.com;*pcsrt.com" /f' % self.Website_WhiteList)

    runcommand(r'reg.exe ADD "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxySettingsPerUser /t REG_DWORD /d 0 /f')



    I clear out the proxy settings using the following:

    runcommand(r'reg.exe DELETE "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Internet Settings" /v MigrateProxy /f')

    runcommand(r'reg.exe DELETE "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /f')

    runcommand(r'reg.exe DELETE "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /f')

    runcommand(r'reg.exe DELETE "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Internet Settings" /v proxyoverride /f')



    runcommand(r'reg.exe DELETE "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v MigrateProxy /f')

    runcommand(r'reg.exe DELETE "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /f')

    runcommand(r'reg.exe DELETE "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /f')

    runcommand(r'reg.exe DELETE "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v proxyoverride /f')

    runcommand(r'reg.exe DELETE "HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v AutoConfigURL /f')

    runcommand(r'reg.exe ADD "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxySettingsPerUser /t REG_DWORD /d 1 /f')



    runcommand(r'reg.exe DELETE "%s\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Internet Settings" /v MigrateProxy /f' % self.Reg_Path)

    runcommand(r'reg.exe DELETE "%s\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /f' % self.Reg_Path)

    runcommand(r'reg.exe DELETE "%s\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /f' % self.Reg_Path)

    runcommand(r'reg.exe DELETE "%s\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Internet Settings" /v proxyoverride /f' % self.Reg_Path)



    runcommand(r'reg.exe DELETE "%s\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v MigrateProxy /f' % self.Reg_Path)

    runcommand(r'reg.exe DELETE "%s\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /f' % self.Reg_Path)

    runcommand(r'reg.exe DELETE "%s\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /f' % self.Reg_Path)

    runcommand(r'reg.exe DELETE "%s\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v proxyoverride /f' % self.Reg_Path)

    runcommand(r'reg.exe DELETE "%s\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v AutoConfigURL /f' % self.Reg_Path)

    runcommand(r'reg.exe ADD "%s\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxySettingsPerUser /t REG_DWORD /d 1 /f' % self.Reg_Path)





    I have a mix of windows 10 1809 and 1803 devices all with mix results.

    :)
     
    Mradr, Jan 2, 2019
    #1

  2. proxy settings

    Hi Mike,

    To set up a proxy server in Windows 10, you may follow the following steps.

    • Press the Windows key and I to open
      Settings
      .
    • Click on Network & Internet.
    • Under Proxy you can either Automatically set up a proxy or
      Manual set up a proxy server.

    Let us know if this answers your question.
     
    Gerald Vit, Jan 2, 2019
    #2
  3. enable proxy setting page on the settings of Windows 10

    Hi Raul,

    If you're unable to get online because of proxy servers, there is a possibility that
    Manual proxy setup is turned on. To turn this off, follow the steps below:

    • Click the Windows key.
    • Go to Settings.
    • Select Network and Internet.
    • On the left pane, click Proxy.
    • Under Manual proxy setup, toggle off Use a proxy server.

    Once done, try to check if you can now go online.

    Regards.
     
    Vanessa Yar, Jan 2, 2019
    #3
  4. Windows 10 unable to gray out proxy settings

    proxy settings

    Automatically - I did that. Where is my "script address"

    Thanks

    Mike
     
    MikeBridenhagen, Jan 2, 2019
    #4
Thema:

Windows 10 unable to gray out proxy settings

Loading...
  1. Windows 10 unable to gray out proxy settings - Similar Threads - unable gray proxy

  2. wind 10 start grayed out, unable to open settings or microsoft store

    in Windows 10 Gaming
    wind 10 start grayed out, unable to open settings or microsoft store: See above https://answers.microsoft.com/en-us/windows/forum/all/wind-10-start-grayed-out-unable-to-open-settings/8f0d0354-1d96-46f8-93d5-fac5fb192393
  3. wind 10 start grayed out, unable to open settings or microsoft store

    in Windows 10 Software and Apps
    wind 10 start grayed out, unable to open settings or microsoft store: See above https://answers.microsoft.com/en-us/windows/forum/all/wind-10-start-grayed-out-unable-to-open-settings/8f0d0354-1d96-46f8-93d5-fac5fb192393
  4. wind 10 start grayed out, unable to open settings or microsoft store

    in Windows 10 BSOD Crashes and Debugging
    wind 10 start grayed out, unable to open settings or microsoft store: See above https://answers.microsoft.com/en-us/windows/forum/all/wind-10-start-grayed-out-unable-to-open-settings/8f0d0354-1d96-46f8-93d5-fac5fb192393
  5. Security settings are grayed out in Hyper-V; Unable to change Security settings

    in Windows 10 News
    Security settings are grayed out in Hyper-V; Unable to change Security settings: [ATTACH]If you cannot change Security settings or the Security settings page is grayed out in Hyper-V, here are some simple solutions to get the options back. This page can show an error message saying Some settings cannot be modified because the virtual machine was in the...
  6. Nightlight settings are grayed out

    in Windows 10 Customization
    Nightlight settings are grayed out: My Nightlight is greyed out. The video driver is up to date. So I've tried this instruction. And I've found out that there are no such keys in this folder. What should I do next? Can I create these keys somehow and delete them thereafter? Please help, my eyes are in real pain...
  7. Windows 10 settings window grayed out

    in Windows 10 Customization
    Windows 10 settings window grayed out: Beginning of the issue was that my spotlight image doesn't change so I follow the steps from the link https://answers.microsoft.com/en-us/windows/forum/windows_10-hello/windows-spotlight-lock-screen-picture-wont-change/443cc26c-29f1-4481-80c9-6fb7130f6191 After follow...
  8. Windows Defender settings are grayed out

    in Windows 10 Customization
    Windows Defender settings are grayed out: hello, my laptop running windows 10 home 1903 has some windows defender setting greyed out with the message "this setting is managed by your administrator," I'm the only user and have Malwarebytes installed for scanning. everything I've tried hasn't worked. it's really...
  9. Grayed Out Settings In Windows 10 Start Menu

    in Windows 10 Customization
    Grayed Out Settings In Windows 10 Start Menu: Hi, I am using Windows 10 education 1809 but i have faced a problem as all settings that suggest something are grayed out such as (Show suggestions occasionally in Start)(Show me suggested contact in the Settings app)(show me the Windows welcome experience after updates and...
  10. Windows 10: Some privacy settings grayed out

    in Windows 10 Support
    Windows 10: Some privacy settings grayed out: Hi guys, I've been using Windows 10 for a few weeks now and I was looking to get Cortana to work. However, Cortana tells me that I need to allow it to access contacts. I clicked settings and I saw that all the settings were on, but were grayed out. [img] When I take a...

Users found this page by searching for:

  1. windows 10 automaitc proxy settings greyed out

    ,
  2. windows 10 proxy grey off

    ,
  3. windows 10 settings network & internet proxy greyed out

    ,
  4. gray out manual proxy settings windows 10,
  5. HKLM\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Internet Settings\AutoConfigURL,
  6. how to gray out manual proxy in windows settings app,
  7. windows 10 linked phone is grey out