What is the command line for Indexing Options? I very much enjoyed reading all five pages of Useful Commandline Commands on Windows. But I still cannot find the console command for Indexing Options.

I have this little, free system tray app called UriTree that stores these things in an OPML file---so having as many of these command-line tricks as possible helps me personally. Anyway, here is the screenshot of the applet that I cannot call from the command-line:

Windows 7 Indexing Options

  • ...sorry about that .htaccess... – rasx Nov 20 '09 at 7:48

Type Windows+R, the then run the command:

rundll32.exe shell32.dll,Control_RunDLL srchadmin.dll

I have only tried this on Windows Vista.

  • 3
    it works on Windows 7 64-bit! great job! – rasx Nov 20 '09 at 7:37
  • 2
    It works on Windows 10. Thanks. – Josh Miller Nov 24 '16 at 16:41
  • 1
    That works to open the window directly. What would be really nice is commands to add directories to the indexed locations directly, without needing to click around in that window. – mivk Apr 7 '17 at 10:47
  • thanks, conrol.exe as in control srchadmin.dll can replace the first part (calling it with the Control_RunDLL function). – user373230 Aug 3 '18 at 11:03

control.exe srchadmin.dll opens the "Indexing Options" window in Windows 7 and Windows 10 (so probably also in Win 8).


Outside of a need to open it programmatically, the quickest way to open Indexing Options is:

  • Hit the Windows Key Windows Key
  • Type index and wait a split-second for Indexing Options to be highlighted
  • Hit Enter


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.