Month: January 2012

Internet Explorer 9 Group Policy Preference

So, we know that IE9 was released after Windows Server 2008 R2,

And if you tried to create a GPO preference on Windows 2008 R2 Domain Controller  for Internet Explorer you will find options for:

– Internet Explorer 5 and 6

– Internet Explorer 7

– Internet Explorer 8

Lets Open Group Policy Management Console on Windows 2008 R2 domain controller and see:

Start –> Run –> GPMC.MSC –> Expand the nodes and select any group policy –> Right Click and click Edit you will see:

 

image

Under User Configuration –> expand Preferences –> Control Panel Settings –> Internet Settings

image

Right Click in the right pane, and click new to explore available options

image

And as you see, Internet Explorer 9 is not listed (as you already expected)

Solution:

Microsoft have a hotfix for this situation, The hotfix will not add “Internet Explorer 9” to the Menu, But it will make “Internet Explorer 8” option applies also to IE9 (without this hotfix, the options will be filtered out, and will not be applied on iE9 users).

Download the hotfix from here, Install on the Windows 2008 R2 domain controller where you configure the group policies, and whenever you need to create a preference for IE9 choose “Internet Explorer 8” from the New menu, and you good to go.

Reference:

Note:

If you are applying Internet Explorer preference on Windows 7 machines, consider installing the below hotfix as well, The hotfix is descried and available for download here:

Script To Monitor Internet Connectivity and Automatically Reset Wireless Connection

Ehlo,

So, We have a non stable Wireless access point, non stable Internet connection!

and at times we will get that yellow triangle with the exclamation mark on the WIFI connection on our PCs, and the only way to restore the connection is to Disconnect/and reconnect to the wireless AP.

I wrote this batch to automate this process, It could be written by another ways, but I find this simple and straight forward.

What the batch file do is:

Ping a Public IP –> If failed –> Try again after 1 Minute –> If still failed –> Disconnect from the wireless network –> Wait for 1 Minute –> Connect to the wireless network –> Start over again.

Prerequisites:

1- Name your Wireless card as WAN (or edit the batch to reflect your wireless “card name”).

2- replace YourWirelessSSID in the batch with your actual wireless network name (SSID).

3- If required,  make the batch starts with your windows startup, so it runs automatically.

The Batch:

@Echo off
:Start
CLS

Rem ####################Ping Check#####################

Ping 4.2.2.2 |find "TTL=" && GOTO Start
Ping -n 60 127.0.0.1 >nul
Ping 4.2.2.2 |find "TTL=" && GOTO Start

Rem ###########Reset The Wireless Network##############

netsh wlan disconnect interface=WAN
Ping -n 60 127.0.0.1 >nul
Echo.
netsh wlan connect ssid=YourWirelessSSID name=YourWirelessSSID interface=WAN
Ping -n 10 127.0.0.1 >nul

GOTO Start

 

Note: tested on Win 7