Nano server 10.0.14393 - Configuring proxy for DSC RRS feed

  • Question

  • Hi, I'm trying to configure nano server to talk to azure automation pull servers but haven't been able to get it to use a proxy server.

    I have tried the following with no luck. How can this be done?

    Thanks Adam

    #Setting IE proxy reg keys

    $proxy = ''

    $port = 80

    $regKey='HKLM:\Software\Microsoft\Windows\CurrentVersion\Internet Settings'

    new-ItemProperty -path $regKey ProxyEnable -value 1 -ErrorAction Stop -PropertyType dword

    new-ItemProperty -path $regKey ProxyServer -value "${Proxy}:${Port}" -ErrorAction Stop -PropertyType string



    new-item -path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion'

    new-item -path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings'

    new-ItemProperty -path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings' ProxySettingsPerUser -value 0 -PropertyType dword 


     #Setting http_proxy environment variable

    setx http_proxy /M 


    Tuesday, November 22, 2016 1:40 PM