Monday, March 23, 2009

How to Fix the Start Error for Windows Search Service to Enable theIndex in Vista

I’m not sure why my windows search service broken recently. I saw an error when I attempted to start the service “Windows Search” in administrative tools –> services console.
Windows could not start the Windows Search on Local Computer.  For more information, review the System Event Log.  If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code - 2147218141.

I went to event viewer, I saw some warnings as:
Event ID 1008: The Windows Search Service is attempting to remove the old catalog.

Event ID 1010: The Windows Search Service has successfully removed the old catalog.

Event ID 1013: Windows Search Service stopped normally.

I searched on internet via google, and a lot of reports on this error, the solution in Windows Vista Forums may resolve some people’s issue, but doesn’t work for me.

Eventually my solution is simple and easy:

1. Select Windows Search 4.0 from your installed updates. You may open your control panel and search for the panels as pictures below. I like this feature in Vista.

2. Uninstall the Windows Search 4.0 and restart. Open “Indexing Options”, you may find the windows search is back :D

3. If you want to re-install the Windows Search, Download Windows Search 4.0 here!

Capture 2009-03-23 10.49.42

Capture 2009-03-23 10.53.21

Good luck!

Monday, March 16, 2009

Every time Vista Installer popuped for “Windows configures MicrosoftOffice professional 2007”

I installed office 2007 on Vista and it works well for several month. Yesterday I installed Visio 2003 from Visual Studio 2005 Team System. Every time when I opened Visio, it popuped a dialog to configure Microsoft Office, and then a registry key access error, and then rollback the configure progress. Then I try to uninstall Visio, same registry key access error. At last I tried various ways and successfully uninstalled Visio. But when I open I open an office product (Word/Excel/PowerPoint, and etc), it gives me a message “please wait while Windows configures Microsoft Office professional Plus 2007”. Then it pops a window with a status bar for “Configuration Progress”. After several minutes, the office product opened. So I uninstalled office entirely, booted, and reinstalled again and again. My account is a domain user and is belong to administrators user group on my machine. I looked this up online, tried different approaches and finally found this one:
Either way you would have to use SubInAcl. Download it from microsoft.com
This tool allows us to edit registry entries even those which you need special rights for.
We will make simple files, depending on the application you need to fix, with code that will fix your registry entries.
1. Download and install SubinAcl.
2. Locate the install folder (default is Program Files/Windows Resource Kits/Tools/)
3. Open Notepad
4. Add the lines you need for your applications (you can find the lines bellow)
5. Save the file as "Officefix.cmd" in the folder where you found SubinAcl.
6. Open the officefix.cmd
I didn’t found the lines of code that “you can find the lines bellow”. Here is the script I used and it works:
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f
subinacl /subdirectories %SystemDrive% /grant=administrators=f /grant=system=f
subinacl /subdirectories %windir%*.* /grant=administrators=f /grant=system=f
secedit /configure /cfg %windir%infdefltbase.inf /db defltbase.sdb /verbose