Resetting the Windows Search per-user index

Published May 11 2022 12:16 PM 683 Views
Microsoft

Single-user and multi-users OSs:

 

  • In the latest Windows code, set the following location in the registry to 0

    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows Search\SetupCompletedSuccessfully(DWord)

    Doing so will trigger Windows Search Indexer to cleanup obsolete artifacts and rebuild a new user catalog for the particular user. On the latest Windows releases (expected on 1809 and above, but subject to change) that has this feature, the registry key above is set to 1 after a catalog is successfully created. An absence of this registry key may indicate that the Windows version is older and lacks this newer feature.

  • If this key is missing, then it may still be possible to trigger a rebuild by deleting the following folder: C:\Users\<Username>\AppData\Roaming\Microsoft\Search\Data\Applications

     

NOTE: It is intended, but not yet validated, to keep the SetupCompletedSuccessfully registry key value change (as noted above) to serve this particular purpose for future versionsHowever, please note that the steps above are for troubleshooting/debugging purposes only (especially the second option for legacy behavior). We reserve the right to change this behavior at any time as necessary.

 

Note: for database size the following as values to use for estimates. Significant deviation from these values will typically be something to investigate.

  • Usually, 10-20K per indexed item would be estimated for database size.
  • For Outlook only data, use the higher side (20k) since they are pure text rich content.
1 Comment
%3CLINGO-SUB%20id%3D%22lingo-sub-3354386%22%20slang%3D%22en-US%22%3EResetting%20the%20Windows%20Search%20per-user%20index%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3354386%22%20slang%3D%22en-US%22%3E%3CP%3ESingle-user%20and%20multi-users%20OSs%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CP%3EIn%20the%20latest%20Windows%20code%2C%20set%20the%20following%20location%20in%20the%20registry%20to%200%3C%2FP%3E%0A%3CP%3EHKEY_CURRENT_USER%5CSOFTWARE%5CMicrosoft%5CWindows%20Search%5CSetupCompletedSuccessfully(DWord)%3C%2FP%3E%0A%3CP%3EDoing%20so%20will%20trigger%20Windows%20Search%20Indexer%20to%20cleanup%20obsolete%20artifacts%20and%20rebuild%20a%20new%20user%20catalog%20for%20the%20particular%20user.%20On%20the%20latest%20Windows%20releases%20(expected%20on%201809%20and%20above%2C%20but%20subject%20to%20change)%20that%20has%20this%20feature%2C%20the%20registry%20key%20above%20is%20set%20to%201%20after%20a%20catalog%20is%20successfully%20created.%20An%20absence%20of%20this%20registry%20key%20may%20indicate%20that%20the%20Windows%20version%20is%20older%20and%20lacks%20this%20newer%20feature.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3EIf%20this%20key%20is%20missing%2C%20then%20it%20may%20still%20be%20possible%20to%20trigger%20a%20rebuild%20by%20deleting%20the%20following%20folder%3A%26nbsp%3BC%3A%5CUsers%5C%3CUSERNAME%3E%5CAppData%5CRoaming%5CMicrosoft%5CSearch%5CData%5CApplications%3C%2FUSERNAME%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3ENOTE%3A%20%3CU%3EIt%20is%20intended%2C%20but%20not%20yet%20validated%2C%20to%20keep%20the%20SetupCompletedSuccessfully%20registry%20key%20value%20change%20(as%20noted%20above)%20to%20serve%20this%20particular%20purpose%20for%20future%20versions%3C%2FU%3E.%26nbsp%3B%3CSTRONG%3E%3CU%3EHowever%2C%20please%20note%20that%20the%20steps%20above%20are%20for%20troubleshooting%2Fdebugging%20purposes%20only%20(especially%20the%20second%20option%20for%20legacy%20behavior).%20We%20reserve%20the%20right%20to%20change%20this%20behavior%20at%20any%20time%20as%20necessary%3C%2FU%3E%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENote%3A%20for%20database%20size%20the%20following%20as%20values%20to%20use%20for%20estimates.%20Significant%20deviation%20from%20these%20values%20will%20typically%20be%20something%20to%20investigate.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EUsually%2C%2010-20K%20per%20indexed%20item%20would%20be%20estimated%20for%20database%20size.%3C%2FLI%3E%0A%3CLI%3EFor%20Outlook%20only%20data%2C%20use%20the%20higher%20side%20(20k)%20since%20they%20are%20pure%20text%20rich%20content.%3C%2FLI%3E%0A%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-3354386%22%20slang%3D%22en-US%22%3E%3CP%3ECurrent%20information%20on%20how%20to%20reset%20the%20per-user%20search%20index.%20Note%3A%20some%20or%20all%20of%20this%20information%20may%20become%20invalid%20depending%20on%20the%20direction%20of%20future%20development%20with%20the%20Windows%20Search%20service.%20And%20any%20future%20changes%20are%20not%20guaranteed%20to%20be%20updated%20or%20identified%20here%20in%20this%20article.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3378486%22%20slang%3D%22en-US%22%3ERe%3A%20Resetting%20the%20Windows%20Search%20per-user%20index%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3378486%22%20slang%3D%22en-US%22%3E%3CP%3EHello.%20Can%20you%20explain%20in%20more%20detail%20what%20this%20is%20and%20what%20it%20is%20for%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Co-Authors
Version history
Last update:
‎May 11 2022 12:15 PM
Updated by: