Outlook 2007 Enable Desktop Alert with IMAP Accounts

Here’s a few step-by-step instructions to allow you to bring back that lovely (annoying) desktop alert for new mail.  Users typically do not have this setup by default when they create an IMAP account in Outlook 2007.  Whether it be IMAP to a private email or something popular like GMAIL this will work with.

 

This does not show you a preview but at least shows you the From and Subject of the email, which is good enough for me anyway.

Click Tools -> Rules and Alerts

 

Click "New Rule" button

Choose 'Check messages when they arrive' from the blank rule template

Put a check on 'through the specified account'

Click on the 'specified' blue text in the "Step 2" box and when the Account dialog box opens, choose your account you will associate this rule to then click OK.

Put a check on 'display a Desktop Alert' and click Next

We aren't adding any exceptions, so just click Next.

Give the rule a name; Something like 'Desktop Alert' works perfectly fine. Then, place a checkmark on the 'Run the rule now on messages' if you want to run the rule now.

ToolTip: TMNetSim Network Simulator

Found another neat tool yesterday when I was looking for a quick way to show co-workers the effects of high-latency WAN networks (DSL/ATM).

Enter: TMNetSimulator

PC Platform software to simulate a bad WAN on a PC. Newer version than in ToolCrib, also does Packet Capture.

TMnetsim is used to simulate a wide-area network for a single protocol. It is used to create test situations that simulate real-world situations in a reproducable way. TMnetsim works with TCP based socket protocols. TMnetsim may be deployed on any PC with a Microsoft OS:

A stand-alone PC
the Client PC
the Server PC
TMnetsim is primarily used to simulate network delay, however, in some (rare) cases it may be used to simulate packet loss or out-of-order delivery, as well as packet capture. Settings to controll delivery delay and loss may be set on a global basis or per conversation basis. These parameters may also be set in a per-direction basis. A monitor allows you to view current conversations, and you may select specific instances to modify parameters for that connection on-the-fly.

Screenshot

TMNetSimulator configured to show a 1500ms delay for VNC

Get CPU Usage of a Process from Command Line

Here’s some kung-fu command-line that I hacked up this morning while brainstorming a few issues I had come across.

Basically, I needed to figure out how to keep an eye on a particular process’ CPU time. Sure, you can watch this from Task Manager but this method is better (IMHO) because I can save the log output for future analysis.

For example, I can launch my program and then start this batch file to monitor it’s CPU time throughout it’s life. When the process terminates, the batch file terminates as well.

Here’s the batch file code:

@echo off
: Rich Kreider <rjk@techish.net>
: report processor time for given process until process exits (could be expanded to use a PID to be more
: precise)
:
: Usage:  foo.cmd <processname>

set process=%~1
echo Press CTRL-C To Stop...
:begin
for /f "tokens=2 delims=," %%c in ('typeperf "\Process(%process%)\%% Processor Time" -si 1 -sc 1 ^| find /V "\\"') do (
if %%~c==-1 (
goto :end
) else (
echo %%~c%%
goto begin
)
)

:end
echo Process seems to have terminated.

Here’s a VBscript that is little different but still reports CPU time for every process. Good starting point if you need to hack something up.

I previously posted up a pretty lengthy entry on using WMIC to find CPU usage in the event you might be intested in that method as well.

strComputer ="."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colProcess = objWMIService.ExecQuery("Select * from Win32_PerfFormattedData_PerfProc_Process",,48)
For Each obj in colProcess
If obj.Name <> "Idle"  And obj.Name <> "_Total" Then
        WScript.echo obj.Name & "," & obj.PercentProcessorTime
End If
Next

Loyal SkyDrive Users: Upgrade to 25GB Free, while supplies last…

Microsoft SkyDrive is launching new apps that are functionally similar to DropBox allowing integration into Windows desktop and synching your data to your SkyDrive.

With this launch, Microsoft is also only allowing 7GB for free for new user’s signing up to SkyDrive.  Existing “loyal” SkyDrive users can upgrade for free (for a limited time it appears) to 25GB (which was the original storage size for free).

Phew, that was easy.  =)

Head over to http://apps.live.com/skydrive to download SkyDrive for Windows and Mac as well as iPhone, iPad and Windows Phone.

Interactive Office 2003 to Office 2007 Command Reference Guide

If you have trouble figuring out where certain things moved to when you upgraded from Office 2003 to Office 2007 or 2010, you can use these interactive guides from Microsoft to help you out.  You can also download an Excel workbook which contains all the mappings laid out in each sheet for each menu/toolbar.  You can also download the flash interactive guide and install it locally to your PC for future offline reference.  This is also handy for assisting clients over the phone quickly when they can’t find something and then after resolving their issue sending them a link to this so they can study up (as if they do anyway).