How can I disable indexing of my NAS?

Henri 0 Reputation points
2024-09-21T13:50:57.81+00:00

Even though I have turned off indexing, Windows 10 continues to index my NAS. I remove the check mark (which really shouldn't be there), my NAS gets very busy again after I click 'apply' and apparently the index is deleted. As soon as I restart Windows, the check mark is there again. Indexing is disabled in 'Services' and yet the NAS is indexed again and again. That is very undesirable, because there are a few hundred thousand photos on my NAS. (I'm a hobby photographer) This unsolicited indexing takes hours!

Does anyone have any advice, because this is making me hopeless...

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,620 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. MotoX80 33,826 Reputation points
    2024-09-21T15:24:30.3033333+00:00

    Can you share some images of what you are looking at? How is the NAS defined to the desktop? A network drive?

    User's image

    Indexing is disabled in 'Services'

    Then you should get this.

    User's image

    apparently the index is deleted.

    Did you click Rebuild after you unchecked the drive\folder?

    User's image

    0 comments No comments

  2. Henri 0 Reputation points
    2024-09-22T10:15:08.4233333+00:00

    Some screens, although a new fenomen: only sctive screen is to be seen when I press "Ctl/Alt/PRTC". Hope it is clear enough.

    I do NOT press "Delete and Rebuilt Index"

    Eigenschappen.jpg

    Index-options.jpg

    Services.jpg

    0 comments No comments

  3. MotoX80 33,826 Reputation points
    2024-09-22T15:10:37.1833333+00:00

    Press Win+shift+S to launch the snipping tool. You can then select the area to be captured and also highlight areas. Just copy and paste the image into the web site.

    Since you've disabled the service, there should not be any I/O doing indexing. You can use the Resource Monitor to watch I/O. Your NAS may show up as network activity. You can see the program name and PID that's doing the activity and trace that back to a service.

    User's image

    It appears that the "check mark" that you refer to on the drive is to index the contents of the files in addition to just the file itself. So that is not turning off the indexing.

    I would think that you would want indexing on. (Enable and start the service.) Use the indexing app to control what locations are indexed. Try to find where your NAS is referenced (as music?) and uncheck it there. Then click on the "Delete and rebuild index" button.

    User's image

    You can use this Powershell script to list off the files that have been indexed. See if your NAS is referenced.

    cls
    $query = "SELECT System.ItemName, system.ItemPathDisplay, System.ItemTypeText,  System.Size FROM SystemIndex  "
    $objConnection = New-Object -ComObject adodb.connection
    $objrecordset = New-Object -ComObject adodb.recordset
    $objConnection.commandtimeout = 30000
    $objconnection.open( "Provider=Search.CollatorDSO;Extended Properties='Application=Windows';")
    $objrecordset.open($query, $objConnection)
    $i = 0
    Try { $objrecordset.MoveFirst() }
    Catch [system.exception] { "no records returned";return }
    do 
    {
        $i = $i + 1
    	$fn = ($objrecordset.Fields.Item("System.ItemPathDisplay")).value
    	$fn								# just display file name
        if(-not($objrecordset.EOF)) 
        {
            $objrecordset.MoveNext()   
        }
    } Until ($objrecordset.EOF)
    "Record count $i"
    $objrecordset.Close()
    $objConnection.Close()
    $objrecordset = $null
    $objConnection = $null
     
    

    Execute it with Powershell_ISE.

    User's image

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.