2023-12-01 20:57:30.040: CreateFileW(): GetLastError(): 5: Failed to open volume \\?\Volume{...}

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
jsei
Posts: 3
Joined: Sat Dec 02, 2023 5:07 am

2023-12-01 20:57:30.040: CreateFileW(): GetLastError(): 5: Failed to open volume \\?\Volume{...}

Post by jsei »

Hello All,

Can someone help me out with these errors in the logfile?

Line 457: 2023-12-01 20:57:30.040: CreateFileW(): GetLastError(): 5: Failed to open volume \\?\Volume{...}
Line 462: 2023-12-01 20:57:37.694: CreateFileW(): GetLastError(): 5: Failed to open volume \\?\Volume{...}
Line 466: 2023-12-01 20:57:39.363: CreateFileW(): GetLastError(): 5: Failed to open volume \\?\Volume{...}
Line 470: 2023-12-01 20:57:42.689: CreateFileW(): GetLastError(): 5: Failed to open volume \\?\Volume{...}
Line 474: 2023-12-01 20:57:44.939: CreateFileW(): GetLastError(): 5: Failed to open volume \\?\Volume{...}

Seems these show up anytime I startup or force and index rebuild. Also, when I toggle USN updates

debug file attached
Last edited by void on Sat Dec 02, 2023 6:33 am, edited 1 time in total.
void
Developer
Posts: 15352
Joined: Fri Oct 16, 2009 11:31 pm

Re: 2023-12-01 20:57:30.040: CreateFileW(): GetLastError(): 5: Failed to open volume \\?\Volume{...}

Post by void »

Thank you for the debug logs.

Everything doesn't have access to your NTFS volumes.
This is normal.
Please make sure the Everything Service is installed.

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.
jsei
Posts: 3
Joined: Sat Dec 02, 2023 5:07 am

Re: 2023-12-01 20:57:30.040: CreateFileW(): GetLastError(): 5: Failed to open volume \\?\Volume{...}

Post by jsei »

all done as requested. Same issue

"failed" (5 hits in 1 file of 1 searched)
C:\Users\jseiwert\AppData\Local\Temp\Everything Debug Log.txt (5 hits)
Line 118: 2023-12-02 23:29:24.098: CreateFileW(): GetLastError(): 5: Failed to open volume \\?\Volume{...}
Line 123: 2023-12-02 23:29:24.683: CreateFileW(): GetLastError(): 5: Failed to open volume \\?\Volume{...}
Line 128: 2023-12-02 23:29:24.699: CreateFileW(): GetLastError(): 5: Failed to open volume \\?\Volume{...}
Line 133: 2023-12-02 23:29:24.716: CreateFileW(): GetLastError(): 5: Failed to open volume \\?\Volume{...}
Line 138: 2023-12-02 23:29:24.904: CreateFileW(): GetLastError(): 5: Failed to open volume \\?\Volume{...}
Last edited by void on Sun Dec 03, 2023 7:33 am, edited 1 time in total.
Reason: removed volume guids
void
Developer
Posts: 15352
Joined: Fri Oct 16, 2009 11:31 pm

Re: 2023-12-01 20:57:30.040: CreateFileW(): GetLastError(): 5: Failed to open volume \\?\Volume{...}

Post by void »

These log entries are normal.

The Everything search client will try to access your volumes directly.
If this fails (error 5), Everything will fall back to the Everything Service.

What is the issue here?
Is Everything not indexing a volume? not updating a volume? USN Journal changes not taking effect?
jsei
Posts: 3
Joined: Sat Dec 02, 2023 5:07 am

Re: 2023-12-01 20:57:30.040: CreateFileW(): GetLastError(): 5: Failed to open volume \\?\Volume{...}

Post by jsei »

Oh, I thought since ET was saying "failed" error that there was a problem. Guess there is no msg when successful - or at least it was not obvious to me.

The concern originally came up cuz there were files showing in file explorer that ET was not finding during a search. So, I did some googling, turned on debug and verbose for both ET and service. Then found the "failed" messages and thought there was a problem. After more goog I did make changes to

ET->Options->Indexes
https://capture.dropbox.com/5Afmn379GvMJ67PN
Screenshot 2023-12-03 at 12.57.18 PM.png
Screenshot 2023-12-03 at 12.57.18 PM.png (158.51 KiB) Viewed 2071 times


and NTFS volumes ET->Options->Indexes->NTFS
https://capture.dropbox.com/4keOnJF029rAdS82
Screenshot 2023-12-03 at 1.01.09 PM.png
Screenshot 2023-12-03 at 1.01.09 PM.png (200.45 KiB) Viewed 2071 times

So I guess this is the correct config for ET? Just kinda freaked me out that ET was not finding files added within 10-15 min since I rely on ET as file source of truth rather than win search or dbox search.
void
Developer
Posts: 15352
Joined: Fri Oct 16, 2009 11:31 pm

Re: 2023-12-01 20:57:30.040: CreateFileW(): GetLastError(): 5: Failed to open volume \\?\Volume{...}

Post by void »

Everything 1.4 can miss changes to hard links.

Excluded files are always excluded (even when they should be re-included)
Please try removing any exclude filters under Tools -> Options -> Exclude.

If you notice Everything missing changes, please try forcing a rebuild:
  • In Everything, from the Tools menu, click Options.
  • Click the Indexes tab on the left.
  • Click Force Rebuild.
  • Click OK.
Post Reply