Books for the Year

Posted in Daily life on January 30th, 2010 by Robin – 1 Comment

When asked at work about my New Year’s resolutions I proudly exclaimed that it was my intention to read more books not related to computing. I had picked out twelve; one for every month of the year. A noble and virtuous aim, or so I thought. My colleague then mentioned that someone else within the department had completed “their 100 book challenge”. One hundred! Incredibly impressive. If I had to read that many I’d be reduced to reading Mr Men books in order to stay on target!

My twelve:

Books for 2010

New Year’s Resolutions for 2010

Posted in Daily life on January 26th, 2010 by Robin – Be the first to comment

My New Year’s Resolutions are usually very similar each year – self improve with regard to fitness, both mental and physical, and work hard in my profession. This year I’m trying to set more explicit goals; rather than “read more”, I’ve set a target of reading a book a month. It may not sound like much, but when factoring in time spent on other things (not to mention reading technical literature) it’s a reasonable aim. Anyway, here they are:

Body:

  • After being ill, get cycling regularly again. Aiming for a consistant 100 miles/wk by May, then increase carefully.
  • Hit the cyclo-cross season in September feeling strong, not tired. Finish roughly 6-7 minutes down on the professionals.
  • Add running into the exercise routine.
  • Run my first 10K. Have a rough aim of beating 48 minutes.

Mind:

  • Listen to Radio 4 on the way to and from work (rather than music) – and hopefully absorb some of it.
  • Read a book a month.
  • Take the Microsoft 70-294 exam by the end of May.
  • Take the Microsoft 70-298 exam by the end of August, to get my MCSE.
  • Take the VMware VCP (Vsphere 4) exam by the end of October.
  • Learn to use my digital SLR properly in modes other than Automatic.

C-C-C-Combo:

  • Walk in the countryside more frequently.
  • Learn a new dish a month, and cook the well rated recipes more regularly!

Windows Update Multiple Fix Script

Posted in Geek Stuff on January 22nd, 2010 by Robin – Be the first to comment

I made a simple batch file to help fix Windows Update errors on our Windows Servers at work (both 2003 and 2008 / R2). It is based on some advice for various Windows Update errors that were on the internal knowledge base, which was no doubt gathered from information online somewhere. It performs a series of steps, saving a great deal of time over having to perform them manually.

Word of warning: The script will attempt to copy pending.xml before deleting it. If it cannot copy it it will delete it. Personally I have never been able to copy the file; most likely because I have not rebooted the server after taking ownership and granting myself full permissions to the file. I should add however that in all my use of this script I have not suffered any problems when deleting the file. Windows Update will recreate it the next time you/the computer downloads required updates.

:: Windows Update Multiple Fix Script
:: v1.00
@echo off
cd "C:\Windows\WinSxS"
echo Taking ownership of pending.xml
takeown /f C:\Windows\WinSxS\pending.xml
echo;
echo;
echo Granting you permissions on pending.xml
cacls C:\Windows\WinSxS\pending.xml /G %Username%:F
echo;
echo;
echo Attempting to copy pending.xml as pendingbackup.xml
copy "C:\Windows\WinSxS\pending.xml" "C:\Windows\WinSxS\pendingbackup.xml"
echo;
echo;
echo Deleting pending.xml
del "C:\Windows\WinSxS\pending.xml"
echo;
echo;
echo Exporting HKEY_LOCAL_MACHINE\COMPONENTS to C:\HKLM_backup.reg
REG EXPORT HKLM\Components C:\HKLM_backup.reg
echo;
echo;
echo Removing noted problematic registry keys
REG DELETE HKLM\Components /v AdvancedInstallersNeedResolving
REG DELETE HKLM\Components /v PendingXmlIdentifier
REG DELETE HKLM\Components /v NextQueueEntryIndex
echo;
echo;
echo Restarting Windows Update related services...
net stop "Background Intelligent Transfer Service"
net start "Background Intelligent Transfer Service"
net stop "Cryptographic Services"
net start "Cryptographic Services"
net stop "Windows Update"
net start "Windows Update"
echo;
echo;
echo Please try running Windows Update / patching again.
echo;
echo;
PAUSE

Copy the code and save it as a batch file.

A Kinder Philosophy of Success

Posted in Thoughts on January 14th, 2010 by Robin – Be the first to comment

Ah. Alain. One of my favourite authors (having read “On Love”, “The Consolations of Philosophy”, “The Art of Travel” and “How Proust Can Change Your Life”). It’s nice to see that he is just as articulate and witty in person as he is in his writing.

As ever, at least for me anyway, the way in which he discusses elements of the human condition are often strikingly common sense, yet addressed in a manner that makes you feel as though somehow, you are being enlightened. Perhaps however that is a flawed feeling; is it not more likely having that which you feel to be true reinforced by someone far more suited to talk on such matters with authority? Whatever it is, I enjoy his work immensely. Infact, I can’t believe I missed the release of “The Pleasures and Sorrows of Work”. Time for an Amazon order…