Everything always scans my 'Folders' on start
-
- Posts: 7
- Joined: Thu Feb 02, 2023 11:31 am
Everything always scans my 'Folders' on start
I have three large NAS drives which are indexed as Folders and I've set each one to "Rescan 'Every Day' at..." (i.e. when I'm not working)
But I find that turning on my computer (i.e. when Everything starts up too) always initiates a scan of these drives.
Is there a way to enforce the time I want them to be scanned? Or is my only option to switch to Never Scan and do them manually?
(thanks for the amazingly useful application!)
But I find that turning on my computer (i.e. when Everything starts up too) always initiates a scan of these drives.
Is there a way to enforce the time I want them to be scanned? Or is my only option to switch to Never Scan and do them manually?
(thanks for the amazingly useful application!)
Re: Everything always scans my 'Folders' on start
Typically, Everything will scan on the configured time.
If the schedule was missed -- your computer might be off or a network share might not be available at that time -- Everrything will try to catch up as soon as possible.
To run the scan only on the scheduled time:
BTW: The upcoming Everything 1.5 will do these updates in the background.
If the schedule was missed -- your computer might be off or a network share might not be available at that time -- Everrything will try to catch up as soon as possible.
To run the scan only on the scheduled time:
- Paste the following in the Everything search bar and press ENTER:
The new setting will be shown in the statusbar for a couple of seconds.
Code: Select all
/folder_update_rescan_asap=0
- Done.
BTW: The upcoming Everything 1.5 will do these updates in the background.
-
- Posts: 7
- Joined: Thu Feb 02, 2023 11:31 am
Re: Everything always scans my 'Folders' on start
Thanks, will try that and report back. Pretty sure it's doing that start up scan even if the PC's been on, but will see what happens after having run that command.
Much appreciate the help and advice.
Much appreciate the help and advice.
Re: Everything always scans my 'Folders' on start
Maybe Everything is not able to write it's database to disk, forcing it to rescan.
That could be caused by the way the machine is shut down (not enough time to finish writing) or no write access to the folder where the database is stored.
In the latter case: Make sure Store settings and data in %APPDATA%\Everything is checked (menu:Tools > Options > General)
That could be caused by the way the machine is shut down (not enough time to finish writing) or no write access to the folder where the database is stored.
In the latter case: Make sure Store settings and data in %APPDATA%\Everything is checked (menu:Tools > Options > General)
-
- Posts: 7
- Joined: Thu Feb 02, 2023 11:31 am
Re: Everything always scans my 'Folders' on start
Thank you again, for the help and advice.
Sadly I'm still struggling with this. I do have Store settings and data in %APPDATA%\Everything checked, so I guess the issue is with the way the PC shuts down. It's a pretty fast machine so doesn't take very long to power off. But I've made sure that I don't power off while Everything is scanning, so I'm surprised that shutdown would be an issue. Would the app not have already saved the data?
Is there anything else I can try? I just wish the 'Never Scan' setting would be respected by the app, then I could just manually rescan when I want.
Sadly I'm still struggling with this. I do have Store settings and data in %APPDATA%\Everything checked, so I guess the issue is with the way the PC shuts down. It's a pretty fast machine so doesn't take very long to power off. But I've made sure that I don't power off while Everything is scanning, so I'm surprised that shutdown would be an issue. Would the app not have already saved the data?
Is there anything else I can try? I just wish the 'Never Scan' setting would be respected by the app, then I could just manually rescan when I want.
Re: Everything always scans my 'Folders' on start
1.
You can check if Compress database is enabled, That will "zip" the database when exiting Everything. That process can take some time. Possible not leaving Everything enough time to save the database to disk.
Better to uncheck this setting. It can be found under menu:Tools > Options > Indexes.
2.
Another thing worth trying is to manually save the EVerything database to disk before rebooting. There are multiple ways to do so. one of them:
3.
What is the date and size of your Everything.db?
(Paste the following in the Windows Explorer addressbar and press ENTER to go to its folder)
(bonus question: is there a .tmp file in this folder?)
P.S. I assume you are runnning Everything 1.4.1.1022 64-bit?
You can check if Compress database is enabled, That will "zip" the database when exiting Everything. That process can take some time. Possible not leaving Everything enough time to save the database to disk.
Better to uncheck this setting. It can be found under menu:Tools > Options > Indexes.
2.
Another thing worth trying is to manually save the EVerything database to disk before rebooting. There are multiple ways to do so. one of them:
- Let Everything finish it's indexing process
- Exit Everything completely by right-clicking it's system tray icon and selecting Exit
- Wait a minute (that should give Everything enough time to save it's database; typically this takes a couple of seconds)
- Start Everything again
- Does Everything start scanning again?
If so, Everything was not able to save the database to disk. Ignore the following steps and report back.
If not, proceed with the following steps: - Exit Everything completely by right-clicking it's system tray icon and selecting Exit
- Wait a minute (that should give Everything enough time to save it's database; typically this takes a couple of seconds)
- Reboot your system
- After the reboot, start Everything
- Does Everything start scanning again?
- Report the results on the forum
3.
What is the date and size of your Everything.db?
(Paste the following in the Windows Explorer addressbar and press ENTER to go to its folder)
%LOCALAPPDATA%\Everything
(bonus question: is there a .tmp file in this folder?)
P.S. I assume you are runnning Everything 1.4.1.1022 64-bit?
-
- Posts: 7
- Joined: Thu Feb 02, 2023 11:31 am
Re: Everything always scans my 'Folders' on start
You're a star
So yes, I'm running Version 1.4.1.1022 (x64)
1. Can confirm that Compress database is not enabled
2a. Exit (from Tray icon) waiting a minute and restarting the app does not rescan.
-> starting Everything after a minute, I see Loading database, then Querying, then Everything loads fine without a rescan
2b. Exit (from Tray icon) waiting and PC reboot, then starting Everything does not rescan.
- starting Everything after reboot, I see Loading database, then Updating database, then Querying database, then finally Everything loads fine without a rescan
yay!
Everything.db is 1,800,127KB
No db.tmp file except for when scanning or when exiting (from the Tray icon)
Your hunch was absolutely correct, I'm guessing that because of the size of the database, and the speed of shutdown, that 'Exit' process (when I see the .tmp file) must be being interrupted.
I guess I'll have to get into the habit of manually exiting Everything before shutdown (I can live with that, Everything is totally worth that little extra hassle!) unless you can think of a more elegant solution.
Thanks again. Very much appreciated
So yes, I'm running Version 1.4.1.1022 (x64)
1. Can confirm that Compress database is not enabled
2a. Exit (from Tray icon) waiting a minute and restarting the app does not rescan.
-> starting Everything after a minute, I see Loading database, then Querying, then Everything loads fine without a rescan
2b. Exit (from Tray icon) waiting and PC reboot, then starting Everything does not rescan.
- starting Everything after reboot, I see Loading database, then Updating database, then Querying database, then finally Everything loads fine without a rescan
yay!
Everything.db is 1,800,127KB
No db.tmp file except for when scanning or when exiting (from the Tray icon)
Your hunch was absolutely correct, I'm guessing that because of the size of the database, and the speed of shutdown, that 'Exit' process (when I see the .tmp file) must be being interrupted.
I guess I'll have to get into the habit of manually exiting Everything before shutdown (I can live with that, Everything is totally worth that little extra hassle!) unless you can think of a more elegant solution.
Thanks again. Very much appreciated
Re: Everything always scans my 'Folders' on start
You're welcome!
This involves changing a registry setting WaitToKillAppTimeout and is described here (for example). The other mentioned registry keys might be useful too.
I can think of several workarounds, but the most useful one is to force Windows to take more time before shutdown.
This involves changing a registry setting WaitToKillAppTimeout and is described here (for example). The other mentioned registry keys might be useful too.
-
- Posts: 5
- Joined: Thu Dec 07, 2023 9:04 am
Re: Everything always scans my 'Folders' on start
I have the same problem.
However, it only is problematic in one user in my computer.
Everything works fine on another.
I try to right click tray and press exit everything.
Everything is still there. Like stuck on something.
However, it only is problematic in one user in my computer.
Everything works fine on another.
I try to right click tray and press exit everything.
Everything is still there. Like stuck on something.
Re: Everything always scans my 'Folders' on start
Everything might not be saving your database to disk and thus needs to rescan on startup.
Please make sure Everything is installed correctly and running as a standard user:
Have you changed your database location under Tools -> Options -> Database?
-Please make sure Everything has write permission to this folder.
Did you set folder_update_rescan_asap to 0 as mentioned above?
Please make sure Everything is installed correctly and running as a standard user:
- In Everything, from the Tools menu, click Options.
- Click the General tab on the left.
- Check Store settings and data in %APPDATA%\Everything.
- Uncheck Run as administrator.
- Check Everything Service. (Please make sure this is tick-checked and not square-checked)
- Click OK.
- Exit Everything (right click the Everything tray icon and click Exit).
- Restart Everything.
Have you changed your database location under Tools -> Options -> Database?
-Please make sure Everything has write permission to this folder.
Did you set folder_update_rescan_asap to 0 as mentioned above?
-
- Posts: 5
- Joined: Thu Dec 07, 2023 9:04 am
Re: Everything always scans my 'Folders' on start
I did what you said. Now, everytime I run everything it has to scan the whole thing first.
Is this normal?
So basically if I uncheck run as administrator, everything start slows.
Is this normal?
So basically if I uncheck run as administrator, everything start slows.
Re: Everything always scans my 'Folders' on start
This is not normal.
The scan should only occur once.
What version of Everything are you using? (Help -> About)
The scan should only occur once.
What version of Everything are you using? (Help -> About)
-
- Posts: 697
- Joined: Wed Jan 05, 2022 9:29 pm
Re: Everything always scans my 'Folders' on start
Hi NotNull.NotNull wrote: ↑Thu Feb 02, 2023 4:36 pmBTW: The upcoming Everything 1.5 will do these updates in the background.
Just curious: When Everything runs updates in the background, then Everything is still running, right? We just can't easily see that it is running.
Task manager or similar would let us see that Everythoing is running.
If I was concerned about the time taken to do a task, and had good reason to defer the task until (say) 1205 (lunchtime for an hour), or if I wanted the update to take place (say) at 1800 hours, before my scheduled backup (1900 hours), then I suspect that the useful setting would be "Never update automatically; always wait for a manual re-scan request" - where the "manual" scan is implemented by a command from a batch file which itself is scheduled through a Windows interface?
That is, I can see where someone (me) might want to be sure that a rescan takes place daily, as long as I'm not trying to do something on the computer.
Thanks, Chris
Re: Everything always scans my 'Folders' on start
Yes, Everything is normally always running in the background.When Everything runs updates in the background, then Everything is still running, right?
Even when you close all the search windows.
If you disable Tools -> Options -> UI -> "Run in background" and close all search windows, any existing scans are aborted.
If you want full control, set the update to never and manually rescan from Index -> Rescan -> Select the desired folder (or click Rescan all)If I was concerned about the time taken to do a task, and had good reason to defer the task until (say) 1205 (lunchtime for an hour), or if I wanted the update to take place (say) at 1800 hours, before my scheduled backup (1900 hours), then I suspect that the useful setting would be "Never update automatically; always wait for a manual re-scan request" - where the "manual" scan is implemented by a command from a batch file which itself is scheduled through a Windows interface?
-
- Posts: 697
- Joined: Wed Jan 05, 2022 9:29 pm
Re: Everything always scans my 'Folders' on start
Hi Void
Is there a way to run a manual "Rescan Now" for a specific folder in the folders list via "Command Line Interface" for V1.4 & V1.5a to update the DB with the latest Date Created/Modified for a filtered list?
(I'm using NirCmd.exe setfiletime in CLI to update file(s) Date Created/Modified & the Everything DB doesn't immediately update)
I tried several variations but the DB does not update only via the "Rescan Now" button in the GUI.
es.exe -instance V1.4 /rescan N:\
es.exe -instance V1.4 /update N:\
es.exe /rescan N:\ -instance V1.4
es64.exe -instance V1.5a /rescan N:\
es64.exe -instance V1.5a /update N:\
es64.exe /rescan N:\ -instance V1.5a
I'm looking for a quick rescan for a specific folder not a /reindex, /rebuild or -rescan-all
Is there a way to run a manual "Rescan Now" for a specific folder in the folders list via "Command Line Interface" for V1.4 & V1.5a to update the DB with the latest Date Created/Modified for a filtered list?
(I'm using NirCmd.exe setfiletime in CLI to update file(s) Date Created/Modified & the Everything DB doesn't immediately update)
I tried several variations but the DB does not update only via the "Rescan Now" button in the GUI.
es.exe -instance V1.4 /rescan N:\
es.exe -instance V1.4 /update N:\
es.exe /rescan N:\ -instance V1.4
es64.exe -instance V1.5a /rescan N:\
es64.exe -instance V1.5a /update N:\
es64.exe /rescan N:\ -instance V1.5a
I'm looking for a quick rescan for a specific folder not a /reindex, /rebuild or -rescan-all
Re: Everything always scans my 'Folders' on start
Everything 1.4 only has a -rescan-all command line option.
-rescan-all
To rescan a specific folder in Everything 1.5 from the command line:
Everything.exe -rescan "c:\path\to\rescan"
-rescan <path>
Please Note: Call Everything.exe (not es.exe)
-rescan-all
To rescan a specific folder in Everything 1.5 from the command line:
Everything.exe -rescan "c:\path\to\rescan"
-rescan <path>
Please Note: Call Everything.exe (not es.exe)
Everything64.exe -instance V1.5a /rescan N:\
Re: Everything always scans my 'Folders' on start
Hi Void
Thanks for the quick reply,
Running Everything.exe or Everything64.exe activates/opens the everything window, is there a way to execute it in background/Hidden or minimized?
I tried
Everything64.exe -instance V1.5a -nonewwindow /rescan Q:\TVS
Thanks a million
Thanks for the quick reply,
Running Everything.exe or Everything64.exe activates/opens the everything window, is there a way to execute it in background/Hidden or minimized?
I tried
Everything64.exe -instance V1.5a -nonewwindow /rescan Q:\TVS
Thanks a million
Re: Everything always scans my 'Folders' on start
Hi Void
I Added -startup to the string, is this the method?, Seems to be working.
Call Shell("CMD.exe /C" & """C:\Program Files\Everything 1.5a\Everything64.exe"" -startup -instance V1.5a_2 /rescan N:\", vbHide)
Thanks again
I Added -startup to the string, is this the method?, Seems to be working.
Call Shell("CMD.exe /C" & """C:\Program Files\Everything 1.5a\Everything64.exe"" -startup -instance V1.5a_2 /rescan N:\", vbHide)
Thanks again