Posts tagged ‘Intermediate’

How to use Group Policy to Allow or Block URL’s

This is another article I have written that address’s the commonly asked question on the Group Policy forum as to how you can use group policy to block or allow users to specific web site URL’s. It goes without saying that the most effective way to implement content filtering for the internet is to maintain list of sites on your proxy server/firewall in your organisation. However you might not have any proxy or firewall that can do this and this method is also not affective when a user is connected to the internet outside the corporate network.

Luckily there is an option in the Internet Explorer Maintenance group policy section that allows you to configured an allow/never list of URL’s for your users. If you are configuring this option I also suggest your also check out one of my other article How to configure AppLocker Group Policy in Windows 7 to block third-party browsers to prevent users from running non-IE browsers to get around this restriction as this is an IE only policy setting.

How to configure Internet Explorer to Allow and Block URL’s

Step 1. Edit a Group Policy Object (GPO) that applies to the users you want to configure URL blocking.

Step 2. Navigate to User Configuration > Policies > Windows Settings > Internet Explorer Maintenance > Security and then click on the “Security Zones and Content Ratings”

image

Step 3. Select “Import the current Content Ratings settings” and then click on the “Modify Settings” button

image

Step 4. Click on the “Approved Sites” tab

image

Step 5a (Black List). Type the name of the URL that you want to block in the “Allow this website” text field and then click “Never” then “OK”

image[83]

Step 5b (White List). However if you are trying to maintain a white list of URL’s then type the name of the site you want to allow it the “Allow this website” text field and then click “Always” then “OK”

image

Note: You will probably want to add the internal domain name of your companies AD to the Allow list of as well to ensure users can access the intranet web sites. Also note that while wildcards are supported in the URL’s, but adding just the URL “*” does not work. While this would be very handy to configure a white list I will show you how to get around this restriction in further steps below.

Now we have to create a supervisor password that will be used for making any subsequent changes to the Allow/Never URL list. This password can also be used by the user (if they know it) to work around these URL restrictions. However as this password is applied by policy it will be the same password for all users so think about chancing the password often.

Step 6. Type the same password in both the “Password” and “Confirm Password” fields and type at hint in the “hint” field. You could also type something like “To get this password please contact the help desk on 5555-5555”.

image

By default when you enable the content advisor it will automatically block any web site that does not have a rating configured.  Therefore you will want to turn this blanket restriction off in step 8 if you all you are trying to do is block specific URL’s in a black list configuration.

Step 8 (Black List). Tick “User can see websites that have no rating” then click “OK”

image

Note: For white list configuration leave the “User can see websites that have no rating” un-ticked so that all web sites will be blocked.

image

Step 9. Click OK

image

Done.

If you configured a black list then a user will be allowed to go to all web sites except the URL that you specifically blocked. When the user does hit a web site that is blocked they will be presented with dialogue box explaining why they are not able to visit the web site and an option to visit the site only if they know the supervisor password.

image

If they click Cancel nothing will happen and if they press OK they will get presented with this dialogue box.

image

Below is another example message that is presented when visiting a site without a rating and you have configured the policy not load sites that do not have a rating which you will see if you have configured this as a white list.

image

If you are using a white list configured and a users will still be able to visiting as site so long as it is ICRA3 rated and it does not report as having content that falls into any of the rating categories. Therefore this method is not 100% affective for a white list strategy but you do find your users visiting a site that is not specifically allowed then you can simply added it as a blocked URL.

Related Resources:

If you have played with this setting and are looking for a way to remove this setting from the group policy then see my posting How to remove imported Internet Explorer Group Policy Settings

You will also find that the computer you have made these URL restrictions on will now have the supervisor password set (I assume its something about how IEM GPMC interacts with the local computer) so to Remove IE Supervisor Password just delete the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Current Version\Policies\Ratings key and it will reset the Content Advisor settings back to defaults.

Group Policy Setting of the Week 33 – Set up a work schedule to limit the maximum network bandwidth used for BITS background transfers

This weeks setting of the week is called “Set up a work schedule to limit the maximum network bandwidth used for BITS background transfers”… Phew…. This policy is used to configure the bandwidth allocation of BITS network transfers in your environment. This is obviously very handy setting manage your bandwidth if you are working in a bandwidth constrained environment such as a remote branch office. Some of the more likely application you have installed in your environment that use BITS are Windows Server Update Services or Branch Cache however third-party application can also use the BITS to transfer information.

This setting is used to control 3 of the 4 levels (see below) of BITS transfer priority that can be used by applications.

  • FOREGROUND
  • HIGH
  • NORMAL
  • LOW

The foreground transfer is always meant to be performed in real time so there is no option to control what amount of bandwidth this transfer method uses. For more info on BITS transfer priority see http://msdn.microsoft.com/en-us/library/aa362805(VS.85).aspx.

This setting can be found under Computer Configuration > Administrative Templates > Network > Background Intelligent Transfer Services (BITS) and will only apply to Windows 7 or computers with BITS 3.5 installed.

image

If you are considering this setting then also look at the other setting called “Set up a maintenance schedule to limit the maximum network bandwidth used for BITS background transfers” which will take precedence over the work schedule rule. You may want to use this maintenance schedule to allow the use of more bandwidth after hours when the network is not as busy.

AGPM Part 7: How to makes changes to existing uncontrolled GPO’s in AGPM

This post is part of a series of posts about Advanced Group Policy Management. If you want to see the other post in this series you can use the links below:

  1. Introduction to Advanced Group Policy Management (a.k.a AGPM) v4
  2. How to install the Advanced Group Policy Management Client v4
  3. How to install the Advanced Group Policy Management (AGPM) Server v4
  4. How to configure the AGPM client via Group Policy to automatically connect to the AGPM server
  5. Delegating permission to Review/Edit GPO’s in AGPM
  6. How to create make changes to Group Policy Objects in AGPM
  7. How to makes changes to existing uncontrolled GPO’s in AGPM

Editing existing uncontrolled GPO’s in AGPM

If you are deploying AGPM into an existing environment (and you probably are) then you will probably want to editing you existing GPO’s. Any GPO that is not managed by AGPM is called an “Uncontrolled” GPO and as such will not be touched until it is specifically made into a “Controlled” policy.

Step 1. Logon as Alan to a computer that has GPMC and the AGPM client

Step 2. Open GPMC and click on Change Control and then then Uncontrolled tab then right click on the GPO you want to “Control” and then click on Control…

 

image

 Step 3. Add a comment to the GPO as its initial comment then click OK

 

image

This Group Policy is now “controlled”

 image

Hopefully this has series given you enough of an introduction to AGPM to get it installed and start to perform basic changes and approvals to GPO setting …

If you want more information on Advanced Group Policy Management then here is a list of link to pages I have found useful:

Microsoft MDOP Blog
TechNet: Overview of Advanced Group Policy Management
TechNet: A Video tour of Advanced Group Policy Management
TechNet: Technical Overview of AGPM
TechNet: What’s New in AGPM

TechNet: Choosing Which Version of AGPM to Install
TechNet: Step-by-Step Guide for Microsoft Advanced Group Policy Management 4.0
TechNet: Operation Guide for Microsoft Advanced Group Policy Management 4.0
Group Policy Blog: Importing and Exporting with AGPM

AGPM Part 6: How to create make changes to Group Policy Objects in AGPM

This post is part of a series of posts about Advanced Group Policy Management. If you want to see the other post in this series you can use the links below:

  1. Introduction to Advanced Group Policy Management (a.k.a AGPM) v4
  2. How to install the Advanced Group Policy Management Client v4
  3. How to install the Advanced Group Policy Management (AGPM) Server v4
  4. How to configure the AGPM client via Group Policy to automatically connect to the AGPM server
  5. Delegating permission to Review/Edit GPO’s in AGPM
  6. How to create make changes to Group Policy Objects in AGPM
  7. How to makes changes to existing uncontrolled GPO’s in AGPM

Creating and Editing GPO’s in AGPM

Now you are going to logon as John and create a fresh new Controlled GPO to have it then approved by Alan.

Step 1. Logon as John to a computer that has GPMC and the AGPM client

Step 2. Open GPMC and right click on Change Control and then click on New Controlled GPO…

 

image

Step 3. Fill in the submission field so that an email will be sent to the AGPM administrator to review the New Controlled GPO Request then click Submit

 

image

Step 4. Click Close

 

Note: In this example I don’t have a mail serve configured so the sending the of the email failed.

image

Step 5. Click on the Pending Tab. You can now see the Pending request waiting for approval.

image

Now we will approve the New Controlled GPO request.

Step 6. Logon as Alan to a computer that has GPMC and the AGPM client

Step 7. Open GPMC and right click on Change Control then click on the Pending tab and the right click on the pending request and click on Approve…

 

image

Step 8. Add a comment before you confirm the Approval action then click Yes

 

image

Step 9. Wait for it to Approve and then click Close

 

image

Note: It is this stage that Alan can link the GPO manually to the Organisational Unit (OU).

NEXT > How to makes changes to existing uncontrolled GPO’s in AGPM

AGPM Part 5: Delegating permission to Review/Edit GPO’s in AGPM

This post is part of a series of posts about Advanced Group Policy Management. If you want to see the other post in this series you can use the links below:

  1. Introduction to Advanced Group Policy Management (a.k.a AGPM) v4
  2. How to install the Advanced Group Policy Management Client v4
  3. How to install the Advanced Group Policy Management (AGPM) Server v4
  4. How to configure the AGPM client via Group Policy to automatically connect to the AGPM server
  5. Delegating permission to Review/Edit GPO’s in AGPM
  6. How to create make changes to Group Policy Objects in AGPM
  7. How to makes changes to existing uncontrolled GPO’s in AGPM

Delegating permission in AGPM

This section show you how to delegate permission to a user to either review or edit group policy object via AGPM.

Step 1. Open GPMC on a computer that you have installed the AGPM client on.

Step 2. Navigate and click on Change Control option and then the Domain Delegation tab then click Add

 

image

Step 3. Select the user John and then select the Editor from the role field then click OK

 

image

John now has Reviewer/Edit access to AGPM (that was easy!).

image

NEXT > How to create make changes to Group Policy Objects in AGPM