Repairing exchange 2003 database

After a hardware crash, use the following to understand the state of the database and the log files; from the MDBDATA directory

c:\program files\exchsrvr\mdbdata

../bin/eseutil /mh priv1.edb

../bin/eseutil /ml E00.log

Then fix the problem

To Recover (play the transactions logs into the database)

../bin/eseutil /R E00

To restore after recovering from an online backup

../bin/eseutil /CC “d:\temp\First Storage Group”

To Repair (if you don’t need to go back to a online backup, but the recover isn’t working)

..\bin\eseutil /p priv1.edb /spriv1.stm /ttemp.edb

then check the fix

../bin/eseutil /mh priv1.edb

defrag the databases
“C:\program files\exchsrvr\bin\eseutil” /d “c:\program files\exchsrvr\mdbdata\priv1.edb”
“C:\program files\exchsrvr\bin\eseutil” /d “c:\program files\exchsrvr\mdbdata\pub1.edb”

..\bin\isinteg -s eagle -fix -test alltests

Renewing Exchange Certificate

Generate the certificate request from IIS, website “directory security” property page and save locally

Use to renew the certificate and the following if your personal cert has expired

  • create new account on; validate it via the return on email
  • install and backup the personal certificate on Chrome
  • use the “validations wizard” to validate the domain
  • validate it again via the return email
  • start the certificate wizard for the domain, skip the step to create another personal certificate
  • paste in the previously extracted certificate renewal
  • accept the root domain name; and then set to “mail” as the subdomain
  • save the new certificate as ssl.cer
  • re-import into IIS property pages for the website and view certificate to ensure it’s valid

use start, run certmgr.msc if there are certificate chain issues to help resolve

Scheduling tasks for Synology NAS for Wake On Lan

In order to keep alive a server, that doesn’t come back on following a power cut, I have created a WOL task that is running on my Synology NAS. The first thing is that you need to define a script for running on the NAS, then configure the NAS to actually run this script. For the script, in this case the WOL task is the key thing; but you also need to start the correct sh

ether-wake [mac address]

One of the key things is that it must be a unix file, and therefore if you edit under vi you should NOT see ^M at the end of the line

Next, is to schedule this, and this needs to include the full path for the NAS, in line with the unix path, eg, would need for example to include /volume1/  Finally, in the scheduler itself you need to call the script with a shell prefix in order to run it correct; see below


Setting everything up like this will result in your shell script running, and in my case, the server waking up if it doesn’t recover after a powercut

WordPress Upgrade with links not working

WordPress has been upgraded and the links aren’t working?   It maybe permalinks related.  If the site is set to something other than the default this seems to sometime breaks.  Just set back to the default, save and then back to what you wanted again.

All working hopefully!

Adding fonts to Photoshop CS6 64Bit

It’s reported that in order to have fonts available for Photoshop CS6 you have to load them into your system (as windows fonts).  This is not true however, as you can use the old method of adding the fonts into an Adobe specific folder which is then picked up as CS6 starts.

This did always used to be the case with CS5 and other Adobe products as well, the only difference seems to be now that the folder required isn’t there by default.  This is fine, just go and create it, put the fonts in there and load CS6 to see the fonts present.

Running CS6 (64bit) on a Windows 7 system, the directory is

C:\Program Files\Common Files\Adobe\Fonts

No more slowing down your Windows system by having hundreds of fonts loaded unnecessarily

Building Windows 7 x64 with slipstream sp1 & drivers

The issue you face when installing Windows 7 x64 can be related to disk drivers.  So, in my case I’m trying to get a 2 disk SAS RAID on a Asus P6T Deluxe motherboard up and running as the OS with Windows 7 x64

The problem is that loading the drivers in as you progress through the installation from the standard install disks just doesn’t work.  The solution, slipstream the drivers into the windows installation disk; and whilst we’re there may as well update Windows 7 to SP1 Continue reading →