General Search in Windows 11 File Explorer


Search_Options_banner.png

This tutorial will show you how to use advanced search options and filters while searching for files in Windows 11 File Explorer.

The Search Box in File Explorer allows you to find and view all your files and folders in one place.

As you type in the Search Box, Windows Search will automatically start a simple search through the index by default to match your typed text with folder names, files names, the contents of files, and file properties. It will then display the search results in File Explorer.

You can then use advanced search options and filters to narrow your search results how you want.

Improved Windows Search experiences, powered by AI models that take advantage of the on-board neural processing unit (NPU) on Copilot+ PCs are coming soon to File Explorer, Windows Search, and Settings. With improved Windows Search, people will be able to find the right files using associated words and phrases, without needing to remember exact file names or content. This is currently applicable for local files and active OneDrive files. And, thanks to the power of the 40+ TOPS NPU onboard Copilot+ PCs, it works even if you’re not connected to the internet.

You can search for documents and photos by describing their contents. For example, a document about cars, buses, and airplanes can be found by searching for “modes of transport.” For images, you can search by image content, including any text found in an image. Removing the need for keyword matching in file names or content makes it more intuitive and efficient for everyone to find the files, information, or settings that they need.

Improved Windows Search will be available through the Windows Insider Program in early 2025. There will be no new IT controls; instead, existing controls that govern Windows Search will continue to be honored. These controls include policies that manage which folders and file extensions are searchable or indexable.


Reference:




Here's How:

1 Open File Explorer (Win+E).

2 Navigate to and either select or open the drive or folder location you want to search in. (see screenshot below)

Search_in_File_Explorer-1.png

3 Type what you want to search for in the Search Box at the top right corner of File Explorer. (see screenshot below)

For some advanced search query syntax usage, see:



Search_in_File_Explorer-2.png

4 If wanted, you can change the Sort and Group by views you want for the search results. (see screenshot below)

Search_in_File_Explorer-3.png

5 If wanted, you can change the layout View you want for the search results. (see screenshot below)

Search_in_File_Explorer-4.png

6 You can now select to change and use any of the Search options below:

Search options will only appear on the command bar in File Explorer after you type something into the Search Box.



 Select to search all subfolders or only current folder in search results

A) Click/tap on Search options on the command bar. (see screenshot below)​

B) Click/tap on All subfolders (default) or Current folder to select (dot) which you want searched in.​

Search_in_File_Explorer-5.png


 Select to include "System files", "Zipped (compressed) folders", and/or "File contents" in search results

A) Click/tap on Search options on the command bar. (see screenshot below)​

B) Click/tap on System files (default), Zipped (compressed) folders, and/or File contents to check (include) or uncheck (not include) what you want included in search results.​

Search_in_File_Explorer-6.png


 Select to only include file "Date modified" range in search results

A) Click/tap on Search options on the command bar. (see screenshot below)​

B) Click/tap on Date modified, and click/tap on an available date range to select (dot) which file date modified range you only want included in search results.​

You can also manually clear or modify any added "datemodified" filters in the Search Box if needed.

Search_in_File_Explorer-8.png


Search_in_File_Explorer-7.png


 Select to only include file "Kind" in search results

A) Click/tap on Search options on the command bar. (see screenshot below)​

B) Click/tap on Kind, and click/tap on an available kind of file to select (dot) which which one you only want included in search results.​

You can also manually clear or modify any added "kind" filters in the Search Box if needed.

Search_in_File_Explorer-10.png


Search_in_File_Explorer-9.png


 Select to only include file "size" range in search results

A) Click/tap on Search options on the command bar. (see screenshot below)​

B) Click/tap on Size, and click/tap on an available file size range to select (dot) which size you only want included in search results.​

You can also manually clear or modify any added "size" filters in the Search Box if needed.

Search_in_File_Explorer-12.png


Search_in_File_Explorer-11.png


That's it,
Shawn Brink


 
Last edited:
If you wanna to build your career at Search , i suggest you to do it with the best app. :-)
I don't know about that ! This example (on first page) does not work

Use a space to combine searches, for example, to find files and folders containing the text order, located in the folder starting with work, search for:
\work order

In my example (searching for C:\Windows\System32\drivers\etc\hosts) starting in C:\Windows, File:~hosts works but etc\hosts does not !
 

My Computer

System One

  • OS
    windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self built
    CPU
    AMD 8700G
    Motherboard
    ASRock B650I Lightning
    Memory
    2 - DDR5-6000 8GB Kinston KF560C35-8
    Graphics Card(s)
    none
    Sound Card
    none
    Monitor(s) Displays
    SAMSUNG SyncMaster 220WM
    Screen Resolution
    1680 x 1050
    Hard Drives
    Samsung SSD 990 Pro 1TB
    PSU
    PicoPSU-160-XT
    Case
    MITXPC MX500-USB3 Compact Mini-ITX Case
    Cooling
    Noctua NH-L9a-AM5, Chromax.Black, Low-Profile
    Browser
    Chrome
I don't know about that ! This example (on first page) does not work

Use a space to combine searches, for example, to find files and folders containing the text order, located in the folder starting with work, search for:
\work order

In my example (searching for C:\Windows\System32\drivers\etc\hosts) starting in C:\Windows, File:~hosts works but etc\hosts does not !
"Use a space to combine searches, for example, to find files and folders containing the text order, located in the folder starting with work, search for: \work order".

1711633716650.png
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Pavilion 17 cd2205nw
    CPU
    Intel 113700H
    Memory
    16GB
    Graphics Card(s)
    NVIDIA RTX 3050 ti
    Screen Resolution
    1980x1020
    Hard Drives
    Micron 512GB
    Mouse
    Logitech
    Internet Speed
    100Mbs
    Browser
    Vivaldi , Edge
    Antivirus
    Norton Plus
I may have missed it, but can't find what I am trying to do described.
I have sub-folders for several different websites within the main websites folder. In most of the websites I use a php configuration that was set to use an older version of php. Now that the old one has been replaced on the server with an updated version I need to make some small changes wherever it appears. I went to File Explorer but searching for the file name in the master folder I couldn't make it search for only the php files themselves - count.php .
What I f got was a long list of everywhere that name exists, most of which aren't the php file itself but also all the html pages that have links to the file within them.
Question - how do I setup a search that will ONLY tell me where the actual php files are? A much shorter list to go through!
 

My Computers

System One System Two

  • OS
    Win 11 Pro 64
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acer Aspire TC-886
    CPU
    Intel
    Motherboard
    Acer for Intel
    Memory
    8 GB
    Graphics Card(s)
    Nvidea
    Sound Card
    Realtek
    Monitor(s) Displays
    Iiyama G-Master GB3466WQSU
    Screen Resolution
    3440 x 1440
    Hard Drives
    Samsung SDD 1TB
    PSU
    Inbuilt
    Case
    Tower
    Cooling
    Inbuilt
    Keyboard
    Logitech Wireless K520 connected via Mouse without borders to other desktops.
    Mouse
    Now using Re-Go Vertical Mouse, left handed. As remote alternative - Logitech Wireless M310 connected via Mouse without borders to other desktops.
    Internet Speed
    200 MB
    Browser
    Edge
    Antivirus
    Defender + Malwarebytes
    Other Info
    Backup external Seagate Plus 4 TB from AOMEI Backupper
  • Operating System
    Win 10 Pro 64 unsuitable for Win 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo H30-05
    Other Info
    Kept up to date as a Win 10 backup
    System three is another Acer from 2008 with HDD x 2 carrying Win 7 Pro upgraded from XP. Useful to have for some old programmes.
I may have missed it, but can't find what I am trying to do described.
I have sub-folders for several different websites within the main websites folder. In most of the websites I use a php configuration that was set to use an older version of php. Now that the old one has been replaced on the server with an updated version I need to make some small changes wherever it appears. I went to File Explorer but searching for the file name in the master folder I couldn't make it search for only the php files themselves - count.php .
What I f got was a long list of everywhere that name exists, most of which aren't the php file itself but also all the html pages that have links to the file within them.
Question - how do I setup a search that will ONLY tell me where the actual php files are? A much shorter list to go through!
Hello mate, :alien:

If you don't have too many PHP files, you could search using this below to have it only look for all PHP files in the currently opened/selected folder or drive to find it.

*.php
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
Hello mate, :alien:

If you don't have too many PHP files, you could search using this below to have it only look for all PHP files in the currently opened/selected folder or drive to find it.

*.php
That did reduce the number of results to look through to find the exact file name. But I thought I used to be able to select to search only for names?
 

My Computers

System One System Two

  • OS
    Win 11 Pro 64
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acer Aspire TC-886
    CPU
    Intel
    Motherboard
    Acer for Intel
    Memory
    8 GB
    Graphics Card(s)
    Nvidea
    Sound Card
    Realtek
    Monitor(s) Displays
    Iiyama G-Master GB3466WQSU
    Screen Resolution
    3440 x 1440
    Hard Drives
    Samsung SDD 1TB
    PSU
    Inbuilt
    Case
    Tower
    Cooling
    Inbuilt
    Keyboard
    Logitech Wireless K520 connected via Mouse without borders to other desktops.
    Mouse
    Now using Re-Go Vertical Mouse, left handed. As remote alternative - Logitech Wireless M310 connected via Mouse without borders to other desktops.
    Internet Speed
    200 MB
    Browser
    Edge
    Antivirus
    Defender + Malwarebytes
    Other Info
    Backup external Seagate Plus 4 TB from AOMEI Backupper
  • Operating System
    Win 10 Pro 64 unsuitable for Win 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo H30-05
    Other Info
    Kept up to date as a Win 10 backup
    System three is another Acer from 2008 with HDD x 2 carrying Win 7 Pro upgraded from XP. Useful to have for some old programmes.
That did reduce the number of results to look through to find the exact file name. But I thought I used to be able to select to search only for names?
What exactly you search for ?
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Pavilion 17 cd2205nw
    CPU
    Intel 113700H
    Memory
    16GB
    Graphics Card(s)
    NVIDIA RTX 3050 ti
    Screen Resolution
    1980x1020
    Hard Drives
    Micron 512GB
    Mouse
    Logitech
    Internet Speed
    100Mbs
    Browser
    Vivaldi , Edge
    Antivirus
    Norton Plus
What exactly you search for ?
I wanted to find (in folders) the actual file named count.php. I did not want to find the text of the links to that file in webpages.
 

My Computers

System One System Two

  • OS
    Win 11 Pro 64
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acer Aspire TC-886
    CPU
    Intel
    Motherboard
    Acer for Intel
    Memory
    8 GB
    Graphics Card(s)
    Nvidea
    Sound Card
    Realtek
    Monitor(s) Displays
    Iiyama G-Master GB3466WQSU
    Screen Resolution
    3440 x 1440
    Hard Drives
    Samsung SDD 1TB
    PSU
    Inbuilt
    Case
    Tower
    Cooling
    Inbuilt
    Keyboard
    Logitech Wireless K520 connected via Mouse without borders to other desktops.
    Mouse
    Now using Re-Go Vertical Mouse, left handed. As remote alternative - Logitech Wireless M310 connected via Mouse without borders to other desktops.
    Internet Speed
    200 MB
    Browser
    Edge
    Antivirus
    Defender + Malwarebytes
    Other Info
    Backup external Seagate Plus 4 TB from AOMEI Backupper
  • Operating System
    Win 10 Pro 64 unsuitable for Win 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo H30-05
    Other Info
    Kept up to date as a Win 10 backup
    System three is another Acer from 2008 with HDD x 2 carrying Win 7 Pro upgraded from XP. Useful to have for some old programmes.
I wanted to find (in folders) the actual file named count.php. I did not want to find the text of the links to that file in webpages.
Try this :
System.FileName:~<count.php
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Pavilion 17 cd2205nw
    CPU
    Intel 113700H
    Memory
    16GB
    Graphics Card(s)
    NVIDIA RTX 3050 ti
    Screen Resolution
    1980x1020
    Hard Drives
    Micron 512GB
    Mouse
    Logitech
    Internet Speed
    100Mbs
    Browser
    Vivaldi , Edge
    Antivirus
    Norton Plus
I wanted to find (in folders) the actual file named count.php. I did not want to find the text of the links to that file in webpages.
And this
System.FileName:~count.php
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Pavilion 17 cd2205nw
    CPU
    Intel 113700H
    Memory
    16GB
    Graphics Card(s)
    NVIDIA RTX 3050 ti
    Screen Resolution
    1980x1020
    Hard Drives
    Micron 512GB
    Mouse
    Logitech
    Internet Speed
    100Mbs
    Browser
    Vivaldi , Edge
    Antivirus
    Norton Plus

My Computers

System One System Two

  • OS
    Win 11 Pro 64
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acer Aspire TC-886
    CPU
    Intel
    Motherboard
    Acer for Intel
    Memory
    8 GB
    Graphics Card(s)
    Nvidea
    Sound Card
    Realtek
    Monitor(s) Displays
    Iiyama G-Master GB3466WQSU
    Screen Resolution
    3440 x 1440
    Hard Drives
    Samsung SDD 1TB
    PSU
    Inbuilt
    Case
    Tower
    Cooling
    Inbuilt
    Keyboard
    Logitech Wireless K520 connected via Mouse without borders to other desktops.
    Mouse
    Now using Re-Go Vertical Mouse, left handed. As remote alternative - Logitech Wireless M310 connected via Mouse without borders to other desktops.
    Internet Speed
    200 MB
    Browser
    Edge
    Antivirus
    Defender + Malwarebytes
    Other Info
    Backup external Seagate Plus 4 TB from AOMEI Backupper
  • Operating System
    Win 10 Pro 64 unsuitable for Win 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo H30-05
    Other Info
    Kept up to date as a Win 10 backup
    System three is another Acer from 2008 with HDD x 2 carrying Win 7 Pro upgraded from XP. Useful to have for some old programmes.

My Computers

System One System Two

  • OS
    Win 11 Pro 64
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acer Aspire TC-886
    CPU
    Intel
    Motherboard
    Acer for Intel
    Memory
    8 GB
    Graphics Card(s)
    Nvidea
    Sound Card
    Realtek
    Monitor(s) Displays
    Iiyama G-Master GB3466WQSU
    Screen Resolution
    3440 x 1440
    Hard Drives
    Samsung SDD 1TB
    PSU
    Inbuilt
    Case
    Tower
    Cooling
    Inbuilt
    Keyboard
    Logitech Wireless K520 connected via Mouse without borders to other desktops.
    Mouse
    Now using Re-Go Vertical Mouse, left handed. As remote alternative - Logitech Wireless M310 connected via Mouse without borders to other desktops.
    Internet Speed
    200 MB
    Browser
    Edge
    Antivirus
    Defender + Malwarebytes
    Other Info
    Backup external Seagate Plus 4 TB from AOMEI Backupper
  • Operating System
    Win 10 Pro 64 unsuitable for Win 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo H30-05
    Other Info
    Kept up to date as a Win 10 backup
    System three is another Acer from 2008 with HDD x 2 carrying Win 7 Pro upgraded from XP. Useful to have for some old programmes.
Searching at internet.
Also that works :
file:~"count.php"
;-)
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Pavilion 17 cd2205nw
    CPU
    Intel 113700H
    Memory
    16GB
    Graphics Card(s)
    NVIDIA RTX 3050 ti
    Screen Resolution
    1980x1020
    Hard Drives
    Micron 512GB
    Mouse
    Logitech
    Internet Speed
    100Mbs
    Browser
    Vivaldi , Edge
    Antivirus
    Norton Plus

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Pavilion 17 cd2205nw
    CPU
    Intel 113700H
    Memory
    16GB
    Graphics Card(s)
    NVIDIA RTX 3050 ti
    Screen Resolution
    1980x1020
    Hard Drives
    Micron 512GB
    Mouse
    Logitech
    Internet Speed
    100Mbs
    Browser
    Vivaldi , Edge
    Antivirus
    Norton Plus

My Computers

System One System Two

  • OS
    Win 11 Pro 64
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acer Aspire TC-886
    CPU
    Intel
    Motherboard
    Acer for Intel
    Memory
    8 GB
    Graphics Card(s)
    Nvidea
    Sound Card
    Realtek
    Monitor(s) Displays
    Iiyama G-Master GB3466WQSU
    Screen Resolution
    3440 x 1440
    Hard Drives
    Samsung SDD 1TB
    PSU
    Inbuilt
    Case
    Tower
    Cooling
    Inbuilt
    Keyboard
    Logitech Wireless K520 connected via Mouse without borders to other desktops.
    Mouse
    Now using Re-Go Vertical Mouse, left handed. As remote alternative - Logitech Wireless M310 connected via Mouse without borders to other desktops.
    Internet Speed
    200 MB
    Browser
    Edge
    Antivirus
    Defender + Malwarebytes
    Other Info
    Backup external Seagate Plus 4 TB from AOMEI Backupper
  • Operating System
    Win 10 Pro 64 unsuitable for Win 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo H30-05
    Other Info
    Kept up to date as a Win 10 backup
    System three is another Acer from 2008 with HDD x 2 carrying Win 7 Pro upgraded from XP. Useful to have for some old programmes.
All of the search filters not work for me ever since MS broke the search bar.

I'm also using StartisBack, which lets me switch to win7 UI that doesn't have these search buttons so I've relied on the text filters instead,
However, after MS broke them in around 2023, I wonder if there are other ways to use them without forcing me to move back to Win11 meh UI,
Or more like, how they works for you at all consider this guide is from 2024? :plead:
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    Intel® Core™ i7-13700K Raptor Lake Tray
    Motherboard
    MSI MPG Z790 Edge WiFi
    Memory
    G.Skill Trident Z5 RGB Series (Intel XMP) 64GB (4 x 16GB) 288-Pin SDRAM DDR5 6600 CL34-40-40-105 1.40V Dual Channel Desktop Memory F5-6600J3440G16GA2-TZ5RK (Matte Black)
    Graphics Card(s)
    Asus GTX980 Ti 6GB STRIX-GTX980TI-DC3OC-6GD5-GAMING DirectCU III
    Monitor(s) Displays
    AOC 24G2U/BK, Dell U2410 REV A11
    Hard Drives
    Corsair SSD 2.0TB MP700 NVMe PCIE5x4 M.2

    Samsung SSD 1TB 990 PRO NVMe M.2

    Samsung SSD 860 EVO 1TB

    TOSHIBA MK1002TSKB 1TB 24/7, 7200 RPM, 64MB, SATA II (x3)
    PSU
    FPS Hydro PTM PRO ATX3.0(PCIe5.0) HPT2-1200M.gen5 80 PLUS Platinum 12V: 1200W
    Case
    Corsair Carbide Series 500R White Mid-Tower Case
    Cooling
    CPU Fan Cooler: Noctua NH-D15S Chromax.Black, HDD's Cooler: CoolerMaster Cool Drive 6
    Keyboard
    SteelSeries APEX 7
    Mouse
    SteelSeries Sensei 310
    Internet Speed
    1000 megabit
    Other Info
    ODDs:
    Asus Bluray Burner - BW-16D1HT 16X Blu-Ray Sata
    LiteOn Burner DVD IHAS124

    Speakers:
    SonicGear Tatoo 303

    HeadPhones:
    Logitech G335

    Microphone:
    Blue Yeti

    UPS:
    SV1500 ADVICE Smart Vision
Great information. I wish Microsoft would update their pages. The Advanced Query Syntax page has been saying it's deprecated in favor of Windows Search, but that link leads to a developer resource page.
 

My Computer

System One

  • OS
    WIndows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Minisforum UM790
    CPU
    Ryzen 9 7940HS
    Memory
    64GB
    Graphics Card(s)
    Radeon 780M
    Sound Card
    Realtek embedded
    Monitor(s) Displays
    2xDell 27"
    Screen Resolution
    2560x1440
    Hard Drives
    2x1TB SSD; Network storage

Latest Support Threads

Back
Top Bottom