Categories
blog howto windows

SERVER SIDE SOLUTION: Outlook Web Access 2003 does not work in Internet Explorer 10

When you want to view your Exchange 2003 e-mail via Outlook Web Access on Internet Explorer 10 you don’t see your e-mails but a black text instead:

exchweb/img/tf_Messages.xsltable-layout:fixed;width:100%;MessagesBKBMBfalseNonepercentImportancei4http://schemas.microsoft.com/exchange/x-priority-long1101width:13px;cursor:hand;text-align: center; Item Typestringhttp://schemas.microsoft.com/exchange/outlookmessageclass1101width:20px;cursor:hand;text-align: center; FlagStatusi4http://schemas.microsoft.com/mapi/proptag/x109000031101width:20px;cursor:hand;text-align: center; Attachmentbooleanurn:schemas:httpmail:hasattachment1101width:15px;cursor:hand;text-align: center; Fromstringhttp://schemas.microsoft.com/mapi/sent_representing_name1001width:23%;cursor:hand;text-align: ;padding-right:3px;padding-left:3px; Subjectstringhttp://schemas.microsoft.com/mapi/subject1001width:40%;cursor:hand;text-align: ;padding-right:3px;padding-left:3px; Receiveddateurn:schemas:httpmail:datereceived1001width:26%;cursor:hand;text-align: ;padding-right:3px;padding-left:3px; ddd M/d/yyyyh:mm ttSizei4http://schemas.microsoft.com/mapi/proptag/x0e0800031001width:11%;cursor:hand;text-align: right;padding-right:3px;padding-left:3px;padding-right:3px “http://schemas.microsoft.com/mapi/proptag/0x67aa000b” = false AND “DAV:isfolder” = falseurn:schemas:httpmail:datereceivedDESCdatebackground-color:buttonface

The solution is simple. Enable compatibility mode for the webpage (press alt to show the menu, look under tools).

If you want this done automatically for all your visitors you can also add a header on your IIS6 so that every viewer gets forced in Internet Explorer 8 compatibility mode. On your server open IIS manager, click the plus sign under default website and then select “Exchange” and right click and choose properties. Go to the TAB HTTP-HEADERS and add a customer header X-UA-Compatible with value IE=EmulateIE8.
IIS6-http-header

Now the browser receives this header and automatically uses compatibility mode.

Categories
blog howto network server windows

Exchange 2010: moved mailbox to new database Blackberry Enterprise won’t sync

When you create a new Database in Exchange 2010 you also need to add special rights to this database for the Blackberry Enterprise service account (standard: BESAdmin) to this database.

Source: http://btsc.webapps.blackberry.com/btsc/viewdocument.do?externalId=KB02276&sliceId=2&cmd=displayKC&docType=kc&noCount=true&ViewedDocsListHelper=com.kanisa.apps.common.BaseViewedDocsListHelperImpl

Click Start > Programs > Microsoft Exchange Server 2010 > Exchange Management Shell
Execute the following command:
Get-MailboxDatabase | Add-ADPermission -User "BESAdmin" -AccessRights ExtendedRight -ExtendedRights Receive-As, ms-Exch-Store-Admin, ms-Exch-Store-Visible

Categories
blog howto windows

Exchange: Name Could Not be Matched to a Name in the Address List

English: “Name Could Not be Matched to a Name in the Address List”
Dutch: “Naam niet gevonden in de adreslijst”

Outlook showed this error while setting up the mailbox profile.
The user could login in to OWA without issues. In my case it had nothing to do with the Global Address List or Offline Address book.
Seems some attributes on the user in Active Directory were missing. In Exchange console i disabled the mailbox and thus removing exchange attributes from the user. The mailbox them became disconnected, and next I connected the mailbox again to the same user.

After that everything worked! If you have multiple AD sites remember that the Domain Controllers need time to sync.

Categories
blog

Windows 7 num lock on login screen

Normally when you setup your BIOS to have num lock on when starting up, Windows 7 should keep it on when the login screen appears. However if you don’t have this option in the BIOS or if you have turned it on now but it remains disabled at login screen or after logging in, here are detailed instructions.

Make sure you are an administrator user, when opening the registry editor you have to allow it to open when UAC is on. You have to click continue in the prompt.

1) Open up the registry editor (type regedit in the run/search field).
2) First click in the navigation (left-hand-side) on the top item named computer.
3) Now click search in edit menu.
4) Search for “InitialKeyboardIndicators” (no quotes).

Wait a bit while it is searching.

The first result is “HKEY_CURRENT_USER\Control Panel\Keyboard” this is for the num-lock status once logged in for the current user (YOU). You need to set this to value 2. Adjust if necessary.

Press F3 to continue searching.
Wait a bit while the search continues.

The next item on my computer does not contain an numerical value.
“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\win.ini\Windows” the value for this is “USR:Control Panel\Keyboard” leave this alone.

Press F3 to continue searching.
Wait a bit while the search continues.

The next one is again like the previous (64bit system).
“HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\IniFileMapping\win.ini\Windows” the value for this is “USR:Control Panel\Keyboard” leave this alone.

Press F3 to continue searching.
Wait a bit while the search continues.

The next item for me is “HKEY_USERS\.DEFAULT\Control Panel\Keyboard” I believe this to be the item responsible for the log-in screen. Set this to 2 if not already. On some computers the value is something like “2147483648” a long numerical value, no idea why, just set it to 2.

Press F3 to continue searching.
Wait a bit while the search continues.

Items that are now found are, as far as I know, for other users known on the system. On my system I find these for example. “HKEY_USERS\S-1-5-18\Control Panel\Keyboard”
“HKEY_USERS\S-1-5-19\Control Panel\Keyboard” & “HKEY_USERS\S-1-5-20\Control Panel\Keyboard” & “HKEY_USERS\S-1-5-21-********-********-********-1000\Control Panel\Keyboard”. Much depends on how many local users and if the computer is member of a domain like in business environments.

If you are unsure just set all items which have a numerical value to 2.
On some systems I have encountered another non numerical value item that, if it’s not numerical just skip it.

When you have finished searching the registry you get a pop-up saying if has finished.

I hope this helps you.

Categories
blog howto windows

6to4 isatp tunnel problem windows VISTA & 7

The PC or laptop may appear to be very slow and CPU is at 100% most of the time. When you check in taskmanager (after selecting show processes from all users) 1 or more svchost.exe processes are hogging CPU. When you right click the svchost.exe and choose “go to service” you find oud that it is 1 of the following services:
– wudfsvc
– DcomLaunch
– PlugPLay

Open up a Command prompt (type cmd in the start – search field) and type in ipconfig to see if there a lot of tunnel adapters present. Normally you see only 1 or maximum 4 and then a local area network and perhaps a wireless adapter. If you have dozens of tunnel adapters, then this bug is effecting you.

Too many tunnel adapters in IPCONFIG
Too many tunnel adapters in IPCONFIG

To solve this execute the following:
Open up a Command prompt (CMD) but right click to run as administrator.
Type (without the quotes): netsh int isa set state disabled
Leave the command prompt open.
Now open up device manager, go to view and select “show hidden devices”.
In the device list, go to network adapters and disable the “Toredo tunneling interface” and the “6to4 adapter”.
To remove the large amount of tunnel adapters you can use this batch file, thanks to: Ryan Victory.
Remove tunnel adapters Batch file download link
You extract the content and run as administrator (right click) the 6to4remover.bat file from the folder that corresponds to you OS architecture (32 or 64 bit).
If you get a popup asking to accept license terms for devcon.exe, accept it. Maybe you then have to run as administrator it again to start. When it’s started it will remove all excess adapters.

Removing tunnels
Removing tunnels

After these actions are complete reboot your system. It should be back to normal.

Categories
blog

Outlook won’t open your Exchange mailbox. (Vista, 7, 2008, 2008R2)

This applies only to Windows Vista, 7, 2008, 2008R2, 2012, 8.
As far as I know, this applies to all office versions.
The set of folders cannot be opened.The information store could not be opened.
If you receive the above error, and you are sure that the server and exchange mailbox store are working correctly (Webmail works, other users can connect), and you have tried to create a new profile only to get the same error. Check to see if on the outlook shortcut, compatibility mode is set. If so, remove it! Outlook can’t connect to exchange when run in compatibility mode.

In my specific case, the store had been offline before this error and the user kept trying to start outlook. I suspect that at a given moment windows suggest to try compatibility mode. After everyone else was back online this user could not, because of this compatibility mode setting. Check on all the shortcuts, check the all users settings, check the outlook.exe in explorer.

Categories
blog howto

XFIRE: run game without UAC elevation

Xfire would launch the Call of Duty 2 with UAC elevation and then the game would error with “INVALID CD KEY”.
This is because Xfire would launch the game with UAC elevation. Some games need UAC elevation, but Call of Duty 2 not.
You can change this setting per game by opening:
C:\ProgramData\Xfire\xfire_games.ini

In this list search the specific game and change RunElevated=1 to RunElevated=0.

Categories
blog howto network virtualization windows

Delete or show hidden no longer active or present network adapters Device Manager

Open a command prompt. Start: RUN -> CMD (OK)
At the prompt type:
set devmgr_show_nonpresent_devices=1
At the prompt type:
start devmgmt.msc
In the menu view, click on “Show hidden devices”.
Now go to network adapters and uninstall the ones that you were looking to uninstall, it will be greyed out.

Categories
blog

Unable to delete driver, print spooler windows vista & 7

According to this article (http://www.mysysadmintips.com/clients/170-cant-remove-printer-drivers-in-windows-7-the-specified-printer-driver-is-currently-in-use) pressing delete driver a second after the print spooler has started is the way to delete the driver. Strange but true, it worked for me! Probably because the driver is loaded a couple seconds after the print spooler has started.

Categories
blog howto network

VPN tunnel between Netscreen and Cisco

Recently I had some troubles setting up a VPN between a Netscreen and a Cisco device from the remote party.

We had agreed upon a Preshared Key and 3DES/SHA1 encryption/hash algorithms using main mode and DH group 2. The Cisco side had added group 2 to their isamkp setting but they could not add the same group command to the transform command so my Phase2 had NOPFS set while my Phase1 was DH group 2.

The tunnel still did not come up, debugging was not useful as it was the Netscreen that initiated the tunnel every time and the log just showed an answer from the Cisco with “no proposal chosen”. After looking into their config and a hint on the internet, I configured the proxyID on the tunnel with local address = my WAN IP and remote address = their WAN IP. And that did the trick, tunnel was up.