Wallpaper – Sphinx

Click image for 1920 x 1080 version.
You may use this image for personal use only.
Please contact me for business use.

  • Camera: NIKON D7000
  • Taken: 1 November, 2011
  • Aperture: ƒ/6.3
  • Focal length: 48mm
  • ISO: 2000
  • Shutter speed: 1/20s

Windows 7 network tray icon showing wrong status

I have 2 seperate Windows 7 computers (one a laptop and one a desktop).  That were showing incorrect network status icons. 

The laptop had a wireless connection and was able to surf the internet and network with no problems yet it showed the bars with an asterix, which means not connected but it sees wireless networks to connect to.

The desktop had a wired connection that was functioning properly and was able to surf the internet and network yet it showed the wired icon with a red x, which mean no network cable plugged in.

Several Google searches and a few attempts that others had listed later I was still looking at the same wrong icons.  I noticed on both machines a network adapter that said “Incoming Connections.” I don’t remember seeing that before and don’t know what it’s there for so I did the natural thing and deleted them. On both machines the network icons were now showing the correct status. I tried to find an explanation as to what that was but only found mention of VPN connections even though neither machine had any VPN connections setup on them. Weird fix to a wierd problem.

Wallpaper – Cactus

Click image for 1920 x 1080 version.
You may use this image for personal use only.
Please contact me for business use.

  • Camera: NIKON D7000
  • Taken: 31 October, 2011
  • Aperture: ƒ/5.6
  • Focal length: 20mm
  • ISO: 250
  • Shutter speed: 1/1250s

Arch rock


  • Camera: NIKON D7000
  • Taken: 31 October, 2011
  • Aperture: ƒ/5
  • Focal length: 25mm
  • ISO: 320
  • Shutter speed: 1/2000s

Exchange 2007 – Remove mailbox without removing the user and some other misc. stuff

I love exchange and have used it for several years each version adds functionality but sometimes they make things harder than they need to be.
You’ll have to use the Exchange Management Shell to accomplish these tasks.

This command will remove the mailbox and leave the user (disconnects it then you can get rid of the disconnected mailbox):

Disable-Mailbox -Identity domain\user

You’ll need to run the Clean-MailboxDatabase command to get Exchange to disconnect the mailbox so you can get rid of it.


The Clean-MailboxDatabase prompts for Identity, this is the name of your mailbox database.  In my case, and I think the default, it’s Mailbox Database.
At this point you can go to the disconnected mailbox  area of the Exchange console, hit refresh and you can see the disconnected mailbox.
Now, to get rid of disconnected mailboxes.

Show all disconnected mailboxes:

Get-MailboxStatistics | where-object { $_.DisconnectDate -ne $null } | Select DisplayName,MailboxGuid

Remove a single box:

Remove-Mailbox -Database <Database-Name> -StoreMailboxIdentity <MailboxGuid> -confirm:$false

Group them together and remove all:

$users = Get-MailboxStatistics | where-object { $_.DisconnectDate -ne $null } | Select DisplayName,MailboxGuid
$users | ForEach { Remove-Mailbox -Database “Mailbox Database” -StoreMailboxIdentity $_.MailboxGuid -confirm:$false }

See the size of mailboxes sorted by size:

Get-MailboxStatistics | Sort-Object TotalItemSize –Descending | ft DisplayName,@{ expression={$_.TotalItemSize.Value.ToKB()}},ItemCount


ASP.net – Using enter key in a textbox to trigger a button event as well as set focus and select text in the text box

Ok, that’s probably the longest post title I’ve used yet.
Here’s what I’m working with: a form with a textbox a button and a listbox.  Users enter text into the textbox and hit the button to search for information which is returned into the listbox.
The first issue was I don’t want to have to click the search button to start the search.  I wanted to be able to just hit enter after typing text.  The button triggers vb code behind the page to do the search.

So I found adding the following to the Page_Load sub-routine allowed me to hit enter in the textbox which triggers the button code:

txtSearch.Attributes.Add(“onkeypress”, “return clickButton(event,'” + btnSearch.ClientID + “‘)”)

Replace txtSearch with the id of your textbox and replace btnSearch with the id of your button.

Next, I wanted the text in the textbox to be highlighted/selected after performing a search so you could turn around and type something else and do another search without touching the mouse.
This is accomplished by adding the following to the Page_Load sub-routine:

txtSearch.Attributes.Add(“onfocus”, “JavaScript:document.getElementById(‘” + txtSearch.ClientID + “‘).select();”)

Replace txtSearch with the id of your textbox.

Note:  Sometimes when you copy and paste code like that above the quotes and or apostrophes can get funky and need to be corrected.

Wallpaper – Tubes

Click image for 1920 x 1080 version.
You may use this image for personal use only.  Please contact me for business use.

  • Camera: NIKON D7000
  • Taken: 1 November, 2011
  • Aperture: ƒ/3.8
  • Focal length: 21mm
  • ISO: 200
  • Shutter speed: 1/40s

Microsoft Hyper-V error: Hypervisor driver required is not installed or is disabled

I wanted to test out Microsoft Sharepoint Server and decided to test it on a Hyper-V virtual server.  I guess I’ve finally learned not to experiment directly on production servers finally.  That tends to possibly cause problems.
So, on one of my servers which I had recently updated to Windows Server 2008 R2 I decided to add the Hyper-V role and setup a test server.  After adding the role I kept getting error messages and Hyper-V wouldn’t start.

The error stated:
‘Hypervisor’ driver required by the Virtual Machine Management service is not installed or is disabled.  Check your settings or try reinstalling the Hyper-V role.

After some Googling I found several people saying I needed to make sure No-Excecute Memory Protection and Intel Virtualization Technology were enabled in the bios.  I was familiar with the second setting and had enabled it on machines before but not the first.  My server is an HP DL380 G5 and here are the steps for fixing the issue:

1.  Reboot the server and hit F9 to enter the Bios.
2.  Go to Advanced options > Processor Options
3.  Find the “No-Excecute Memory Protection” and enable it. (Hit enter)
4.  Find the “Intel(R) Virtualization Technology” and enable it. (Hit enter)
5.  Save and exit using F10

After reboot my Hyper-V is all happy and functioning.

Enable Ping responses on Windows Server 2008

I use Ping (not the sort of ping in the picture above) to make sure I can communicate with my servers all the time.  Windows Server 2008 doesn’t allow Ping responses through the Windows Firewall.
Here’s how to enable Ping responses:

Open the Windows Firewall Advanced settings (Open Network and Sharing Center, click Windows Firewall bottom left, then Advanced settings).

Find the File and Printer sharing (Echo Request – ICMPv4-In) in the Inbound Rules section and ICMPv6 if you want to enable IPv6 responses.
Double click each rule and select enabled or right-click and select Enable Rule.

You should now be able to ping the server.