We help IT Professionals succeed at work.
Get Started

Outlook 2007 Search Stopped Working After /Cleansharing

Chip Levinson
Last Modified: 2012-08-21

I am running Outlook 2007 on XP Pro SP3.  My company uses Google Apps and Google Mail, which means all of my messages are stored on Google and can be accessed at any time.  A couple of weeks ago I started to get Outlook 2007 error messages about an invalid internet calendar.  See prior post:


I tried deleting the calendar several times but it kept re-appearing.  Then TechSoEasy suggested I "start Outlook from the command line using the /cleansharing switch".  This was my first experience with these switches and I was happy that it worked - the calendar has been gone for a week.

As part of that thread, it was pointed out that my OST file may be corrupt.  I store my OST file on my SBS server because the server is backed up daily while my PC is not.  I think of the OST more as a backup then as something to use if SBS goes down (since the server is 5 feet from my desk and I could always use Google Mail's webmail as a stop-gap).

Since running the cleansharing switch Outlook doesn't appear to be working the same.  For one thing, all searches return no results, even when I know there should be many.  I don't even get the option to run the search in All Mail Items.  

Q1. Would a corrupt OST cause this problem?  
Q2. Is there another switch that would fix it?

I think I want to fix this so I either do not have an OST, or store the OST locally.

Q3. Would someone walk me through the process of deleting the OST files on my server and rebuilding new ones on the PC's local drive?

Q4. I am also looking for suggestions how to repair Outlook.

Let me know if you have any questions.

Watch Question
Principal Consultant
Most Valuable Expert 2016
Top Expert 2014
This problem has been solved!
Unlock 1 Answer and 10 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE