Questions tagged [windows-search]

Windows Search(former Indexing Service, up to Windows Vista), also known as Windows Desktop Search, is the Windows service that indexes files on the user's hard drive.

107 questions
2
votes
1 answer

Get full contents of file by querying Windows Search Index

I have written this shell script to query the windows search index. $sql = "SELECT System.ItemName, System.ItemPathDisplay, SYSTEM.FileOwner, System.ItemType FROM SYSTEMINDEX WHERE (SCOPE = 'C:\Users\Raghib\Desktop\1001') AND…
Muhammad Raghib
  • 97
  • 1
  • 10
2
votes
0 answers

How to use Windows Search Service on a local and on a remote machine both?

I am working on a C# WPF project which can search files on specified directory paths. These paths can be on a local and on a remote machine as well, so I have to solve it on both. At first I tried to use a query which has a local path, but the…
Christian
  • 105
  • 1
  • 6
2
votes
1 answer

Windows indexing search - OleDbException Not Specified Error

I'm getting an exception (OleDBException: Not specified Error) when trying to search in indexed files in a folder on my D-drive (D:\TaalTipsDocumenten). I know this piece of code worked in the past (2 months ago), but when trying to continue working…
Dennis
  • 164
  • 1
  • 9
2
votes
1 answer

KB4022726 breaks windows search query over OleDb

We are using windows search to search for document on a remote share, after applying security update KB4022726 this functionality breaks. Our implementation is using oledb connector for windows search in C# Are there any workarounds besides…
Nickolai Nielsen
  • 932
  • 6
  • 19
2
votes
0 answers

Windows 2008 R2:Files in Windows Search Results are not able to be deleted

As title says, I am searching .eml files in some dir with keywords, the .eml files'content are indexed. Listing the results, I click mouse right button, no delete choice. How can I delete files from windows search result ? ( I tried it on my laptop…
ukmagicow
  • 47
  • 6
2
votes
2 answers

Access Windows Search index using ASP.NET MVC

I'm on a project that is being upgraded from vbscript to ASP.NET MVC. It used Microsoft Index Server to index Word and PDF files on a Windows Server 2003 machine. It simply opened an OleDbConnection using a connection string like…
davekaro
  • 6,233
  • 4
  • 28
  • 22
2
votes
1 answer

Windows Desktop Search - Force re-index / index now from command line

I'm working on a project where we're using Windows Desktop Search (WDS) to index files on a web share and then later allow the user to search via a website for documents in the share. These documents are transferred to the share via FTP, however it…
Wade
  • 512
  • 3
  • 10
2
votes
1 answer

IErrorInfo.GetDescription failed with E_FAIL(0x80004005) using Windows Search API via OleDB

I'm using the Windows Search API from C# (OleDB access) to retrieve all the index entries on a local machine (Windows 8.1) search index using the following C# code: string query = @"SELECT System.ItemNameDisplay,SYSTEM.ITEMURL,System.DateModified,…
SimonKravis
  • 553
  • 1
  • 3
  • 24
2
votes
0 answers

Windows Search SQL doesn't return results when searching for partial numbers

I've written a program that presents a web interface to a file share on a Windows 2012 R2 server. Within the webapp, I've added the ability to query the Windows Search index running on that server so users can get results back. Below is the query…
Evan M.
  • 211
  • 1
  • 4
  • 13
2
votes
1 answer

IErrorInfo.GetSource failed with E_FAIL(0x80004005)

I am using below statement to query the windows search and getting the above error and following error IErrorInfo.GetDescription failed with E_FAIL(0x80004005) . var query = "SELECT System.ItemName FROM servername.SystemIndex " + …
huMpty duMpty
  • 14,346
  • 14
  • 60
  • 99
2
votes
1 answer

How to debug a Windows Search property handler

I'm maintainning a Windows Search property handler project, it is loaded by SearchFilterHost.exe. I don’t know when SearchFilterHost.exe will be launched, don’t know the command line arguments usage, and I find SearchFilterHost.exe will exit one or…
Fan Yang
  • 304
  • 4
  • 13
1
vote
0 answers

Windows Search C++(MFC) OLE DB or ADO group search

I have to run a group query like this : GROUP ON System.ItemName OVER ( SELECT TOP 20 System.ItemName FROM SystemIndex ) But when I run it using C++ ADO Recordset I get an exception at Open ( when I search the SELECT TOP 20 System.ItemName FROM…
Carlos_rpg
  • 71
  • 1
  • 12
1
vote
2 answers

Connect to Windows Desktop Search on Remote Machine

I inherited a program which is using Windows Desktop Search (WDS) on a remote server to search indexed PDFss. The original coder did most of the code using VB 6 style programming, so when he accessed the Windows Desktop Search, he uses ADO…
Wade73
  • 4,359
  • 3
  • 30
  • 46
1
vote
0 answers

Adding additional windows search keywords to a single shortcut or executable

We have an executable file with an installer which generates shortcuts in the C:\ProgramData\Microsoft\Windows\Start Menu\Programs directory. The name of the software is formatted FOO-Bar. We want users to be able to locate the executable in Windows…
Cyn
  • 43
  • 5
1
vote
2 answers

Windows Search equivalent to Indexing Services "vpath" and "characterication"

I'm trying to move a website that was on: Windows 2003, IIS 6, and Indexing Services to: Windows 2008, IIS 7, and Windows Search It's Windows Search that's giving me a problem. I've set up a Windows Search to index the physical folder that…
Hobbes
  • 163
  • 1
  • 8