I updated the firmware on my 160gig x25-m G2 drive to the latest. I then installed windows 7 x 64 from scratch on an intel DP55kg motherboard.
When I run the toolkit 1.2 and scan the drive everything is OK. When I go to the tools to optimize the drive it gives me "Intel SSD Optimizer Error" with no other explanation.
I have tried chaning the ACHI drivers from Intels to Windows but that did not fix the issue. I have also turned off the scheduled defrag (which you should always do for SSD drives) and I turned off windows restore. It still does not fix the issue.
I had very similar problem:
SSD: 80GB x25-m with the latest 02HD firmware
OS: Windows 7 Home Premium 64bit
MB: Gigabyte GA-P35-DS4
SSD connected to channel 0 SATA port
SATA running in AHCI mode using msahci.sys
When I ran Intel SSD Optimizer, it immediately failed with "Intel SSD Optimizer Error" message.
I've found that the problem was caused by TrueCrypt (using the latest version 6.3a). I don't have any part of SSD encrypted, but I had mounted 1TB encrypted partition. After I dismounted this encrypted drive and shut down TrueCrypt completely, SSD Optimizer started working like a charm (I know that it is not necessary to use SSD Toolbox to trim the drive when using msahci.sys, but I wanted to try it).
I am experiencing the same error as the OP. I'm running W7-64, my drive's firmware has been upgraded (ver 2CV102HD), it's configured as AHCI device on SATA Port 0 on an EVGA X58 motherboard.
My write performance has started to slip, so I installed the latest version of the Optimizer (twice). Unfortunately, I'm getting the same error.
I've removed all other hard drives and exited from any applications that I think might look like a mount point (Logmein, WHS Connector, Windows Live Sync).
Any thoughts and suggestions would be appreciated.
*** UPDATE ***
After totally removing MS Office 2010 Beta (Click and Run version) the optimizer works!