Quick How To: A restart from a previous installation or update is pending.

Just a quickie from an issue I ran into today trying to upgrade vCenter 5.5 to Update 3, or at least the SSO component of it. Immediately after running the installer I was presented with an MSI error “A restart from a previous installation or update is pending. Please restart your system before you run vCenter Single Sign-On installer.” Trying to be a good little SysAdmin I dutifully rebooted, repeatedly, each having no effect on the issue. I’ve seen different versions of this error in the past so I had an idea of where to go but it seems to require googling each time. This is caused by there being data present in the “PendingFileRenameOperations” value of the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager key. Simply checking this key and clearing out any data within will remove the flag and allow the installation to proceed.

In this case I had an HP print driver doing what they do best and gumming up the works. I’d love to say this is the first time I’ve been done in by a print driver but you all would know I’m lying. 🙂

Increase Max Attachment Size in Outlook 2007 SP2 and Above

Let me start by saying I feel very dirty for even writing this.  My basic rule in life is if the file is bigger than 2 MB, it isn’t to be sent as an attachment to an e-mail.  That said, many do not share my opinion on that and here at the office we recently had an occasion where a 200 MB file absolutely had to be e-mailed, it could be sent no other way.  A couple of years ago I wrote a post on 4sysops about how to change this in Exchange, so I thought that was an easy fix.  Instead the user continued to see this:

maxattachAfter some Googling I found a forum post saying that not only was a hard limit of 50 MB a feature of Outlook 2010 and above, but that this feature had been added to Outlook 2007 with Service Pack 2.  The good news/ bad news is that this feature can be over ridden by registry hack. Below is the code that you can copy into a .reg file and execute to insert the required registry key.  Know that this is version specific the “12.0” portion below corresponds to Office 2007, you will need to be changed based on your version of Microsoft Office.  For reference 2010 will be 14.0 and 2013 is 15.0.