Category Archives: Microsoft

All Microsoft Products (Exchange, SQL, Windows, Server)

Exchange 2007 Recreate OWA Virtual Directories

Another issue from the new Exchange 2007 environment: permissions problems in terms of OWA setups. Basically every time one would go to our webmail OWA site, it would give a 404 error, or sometimes it would go through to authenticate but then say the session has timed out. Not good.

The quickest way to fix this is to just recreate the virtual directories. Here’s the low down on how to do just that:

1.) On your exchange server, open up the PowerShell command
2.) Type Get-OwaVirtualDirectory. This will list all of the virtual directories on any of the exchange servers currently in your domain.
3.) Type Remove-OwaVirtualDirectory -identity “owa (Default Web Site)”. This will remove the OWA directory in about 10 to 30 seconds.
4.) Type New-OwaVirtualDirectory -OwaVersion “Exchange2007” -Name “owa (Default Web Site)”. This will create the Virtual Directory again.

If you get an error saying that the IIS Virtual Directory can not be created at line:1 char:24, go into your Exchange Management Console. Under Server Configuration/Client Access make sure that Outlook Anywhere Enabled is set to FALSE for the server you’re trying to recreate the directory.

I found out on our second server that I really don’t need to type with capital letters. and since i’m lazy, i stopped typing with capital letters. thank you!

Exchange 2007 OWA Service Unavailable

Working where I do gives me the opportunity to work with the latest and greatest of technologies.  Exchange 2007 is, in my opinion, a huge improvement over 2003 in terms of speed.  However, it moved too far away from the familiar GUI (like vista did), and therefore some usability has suffered.

Because Exchange 2007 requires 64 bit processors (or at the very least an Intel processor that emulates 64 bit technology), Windows Server 2003 X64 is needed. This means that Exchange will use up as much RAM as it wants to (10 out of 12GB on our server). It also means that .net 1 and .net 1.1 DO NOT work well with it. There are scripts that enable IIS to support 32 bit processes, but who wants to muck up the works with 32 bit and 64 bit processes fighting for resources?

If you accidentally install the Windows update hotfix .net 1.1 on your exchange server (I know I did), then it will automatically convert your nice 64 bit Exchange server into a 32bit mixed-mode Exchange server. Which might not be bad, except for the fact that IIS doesn’t like to mix modes. And that takes me to the point of all this writing – IIS does NOT like 32bit and 64bit.

When the hotfix made Exchange go into mixed-mode, IIS freaked out and stopped supporting OWA (outlook web access). It hosted a site called “Service Unavailable”. Not very creative. And through lots of searching, I came upon a set of instructions that is quite easy and works every time I replicate the issue.

1.) Uninstall Hotfix 1.1. If you really need .net 1 support, you’ll have to look elsewhere. .net2 works just fine. It’ll ask you to reboot the server, which sucks.
2.) Uninstall .net 1.0. Read above if you really require .net 1 support.
3.) On your exchange server, run this from the command line: “%SYSTEMROOT%\Microsoft.NET\Framework64\v2.0.50727\aspnet_regiis.exe -i”
If you get an error indicating that IIS is in 32 bit mode, go to step 4, otherwise go to step 5.
4.) ONLY TYPE THIS IF YOU GOT AN ERROR. “cscript c:\inetpub\adminscripts\adsutil.vbs SET /w3svc/AppPools/Enable32BitAppOnWin64 False”
This will make it so you are in a pure 64Bit environment again. After a couple minutes, go to Step 3 and run that command again (it will pass this time).
5.) Restart IIS. Check your OWA or Exchange web access.

Cisco VPN CSGina.dll Failed To Load

Here’s the full error:
The Login User Interface DLL CSGina.dll failed to load. Contact your system administrator to replace the DLL, or restore the original DLL.

This happens when you uninstall, and sometimes install, the Cisco VPN client. Cisco VPN client adds a registry key that disables fast user switching and loads the client before booting into Windows.

The fix below requires editing your registry files. If you have no idea what a registry file is, you probably shouldn’t be editing them. If you edit incorrectly your computer may refuse to boot. Here’s the quick fix:

1.) Reboot the machine
2.) Press F8 to load up the boot options menu for Windows
3.) Select Safe Mode and then select your Windows Installation
4.) After Windows loads into safe mode, it’ll ask if you want to continue working in Safe Mode. Select Yes.
5.) Start >> Run >> “regedit” (without the quotes). Press Enter.
6.) Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon
7.) Look for the GinaDLL Key
8.) Select and delete this key. DO NOT delete the entire Winlogon folder of keys.
9.) Close Regedit and reboot the machine

This is actually the most popular post on! Awesome!

Microsoft System Tools MRT SFC

Here are some hidden gems within the Microsoft Windows OS. I’m pretty sure these still apply to the newest Vista OS, but if not then it’s for XP ONLY.

Start >> Run >> “MRT”.
This will load up the Microsoft Removal Tool (Also known as Microsoft Windows Malicious Software Removal Tool). This will scan all of your files to see if some of the well-known Trojans or Viruses are loaded on your machine. This is NOT a replacement for AntiVirus software.

Start >> Run >> “SFC /SCANNOW”.
This will load up the System File Checker tool (Also known as Microsoft Windows XP Windows File Checker Version 5.1). This program will find all altered system files and fix them to the original. You’ll need a copy of your i386 folder (found on the Windows XP CD-ROM) in order to take full advantage of this tool.

Exchange 2003 Send On Behalf Of

Sending on behalf of sounds like a very easy task. Fire up Outlook, type in someone else’s name in the from box, hit send. Doesn’t quite work out that way.

Rights must be given to the user to send on behalf of. One can NOT send on behalf of a group, it must be on behalf of a user.

1.) Open up Active Directory Users and Computers.
2.) Click on the View Menu and select Advanced Features
3.) Select the user that you want to send on behalf of
4.) Right click the user and select Properties
5.) Click on the Security tab
6.) Click on the Advanced button
7.) Click on the Add button
8.) Type the username you want to give permissions to
9.) At the bottom of the list, select Send As
10.) Click OK to all the dialog boxes
11.) In the properties of the user you want to send on behalf of, click on the Exchange General tab
12.) Click the Delivery Options button
13.) Click the Add button
14.) Type in the username you want to give permissions to
15.) Click OK to all the dialog boxes

Optical Drive Disappears

If your CD or DVD ROM drive has recently disappeared, you may want to read this post. If it disappeared on its own, then it can be one of a few problems:

1. The driver has been uninstalled/corrupted or the wrong driver is installed. You can either use Microsoft Update to update to the newest driver, or you can RollBack the driver to the previous version.
2. You’ve disconnected the data/power cable. Check the cables.
3. The drive has died. You’ll need to buy a new drive.

If it disappeared after you uninstalled or installed a software package, then here’s a registry hack (fix) that helps solve your issue. Most of the time this is a result of uninstalling or installing a second version of a CD/DVD Burning Software kit.

1. Make sure that the driver is correct/up-to-date/installed properly.
2. Microsoft recommends uninstalling any CD/DVD Burning Software PRIOR to performing this hack.
3. Open up the Registry Editor. Start >> Run >> regedit.
4. Go to this key: HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Class/{4D36E965-E325-11CE-BFC1-08002BE10318}
5. Delete the keys “UpperFilters” and “LowerFilters”.
6. Reboot the computer.

You should now see your favorite Optical drive in your My Computer.

IE7 Move Menus To The Top

Since I started to use a computer back in 1990, the menus of every single application have been located at the top of the screen.  So when Microsoft decided to put the address bar above the menu bar in Internet Explorer 7… well, I just had to get rid of that.

Now this “hack” requires a little bit of registry editing, so the standard warranties apply.  Don’t do this unless you’re comfortable editing the registry.  Don’t know what regedit is?  Then this “hack” isn’t for you.

Step 1.  Open regedit.

Step 2.  Go to HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar\WebBrowser\

Step 3.  Create a DWord Key.

Step 4.  Name of DWord Key: ITBar7Position

Step 5.  Value: 1.

Step 6.  Close and reopen IE7.