Freigeben über


Custom adm file to enable an IE setting through Group Policy

My customer wanted to enable the IE setting "use HTTP 1.1 through proxy connections" on all the client machines through group policy.

RESOLUTION

============

It is normally easy to enable the settings through group policies and inherit on all the client machines if the property is already defined in the group policy console. But we don’t have a predefined object for the setting which my customer was looking for. Hence I realized that it is not as much as easy as I had initially thought. Since I am novice in scripting I had to learn how scripting is used to create custom adm files.

While I was looking for the resources in the MSDN site, I found these articles very useful which laid the foundations to the custom adm file I would be using,

Using Administrative Template Files with Registry-Based Group Policy

https://technet.microsoft.com/en-us/library/cc779567.aspx

How to Write a Simple .Adm File for Registry-based Group Policy

https://technet.microsoft.com/en-us/library/cc738443.aspx

Using Administrative Template Files with Registry-Based Group Policy

https://www.microsoft.com/downloads/details.aspx?familyid=e7d72fa1-62fe-4358-8360-8774ea8db847&displaylang=en

I then created the custom adm file which goes as follows

CLASS USER

CATEGORY !!WindowsComponents

CATEGORY !!InternetExplorer

CATEGORY !!Advanced

POLICY "Use HTTP 1.1 through proxy connections"

EXPLAIN "HTTP 1.1 Settings"

KEYNAME "SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings"

VALUENAME "ProxyHttp1.1"

VALUEON NUMERIC 1

VALUEOFF NUMERIC 0

END POLICY

END CATEGORY ;Advanced

END CATEGORY ; InternetExplorer

END CATEGORY ; WindowsComponents

[strings]

WindowsComponents="Windows Components"

InternetExplorer="Internet Explorer"

Advanced="Advanced"

I have tested this adm file and it works fine, I would still suggest you to test this adm file on a test environment before implementing it on your real environment. If the adm file needs correction, please feel to email me or drop me a comment.

Have fun!

Comments

  • Anonymous
    February 15, 2009
    PingBack from http://www.clickandsolve.com/?p=8760
  • Anonymous
    February 20, 2009
    actually i tried with your custom .adm but i have not seen the advanced option in windows settinginternet explorer. can i know what the wrong i have done
  • Anonymous
    February 22, 2009
    The comment has been removed