[Solved] Using Named Pipes to talk to the service
[Solved] Using Named Pipes to talk to the service
I'm trying to run an extra instance of Everything.
According to documentation, it should be possible to let this instance talk to an already running Everythin Service, using named pipes.
I can see that the "Everything Service" named pipe is available, but whatever variation of the suggestions I try (un-scaping \, quoting the pipe, using \Device\NamedPipe\Everything Service, .. , I cant make this instance talk to the service (NTFS indexes: Access denied message when running as a restricted user).
Tested with Everything v877 and v885 @Win10 1709 (all 64 bit)
How can I make this work?
According to documentation, it should be possible to let this instance talk to an already running Everythin Service, using named pipes.
I can see that the "Everything Service" named pipe is available, but whatever variation of the suggestions I try (un-scaping \, quoting the pipe, using \Device\NamedPipe\Everything Service, .. , I cant make this instance talk to the service (NTFS indexes: Access denied message when running as a restricted user).
Tested with Everything v877 and v885 @Win10 1709 (all 64 bit)
How can I make this work?
Last edited by NotNull on Mon Apr 09, 2018 9:51 am, edited 1 time in total.
Re: Using Named Pipes to talk to the service
Please make sure the service is running for the un-named instance of Everything.
Please try the following pipe name:
\\.\PIPE\Everything Service
If you wish to run the service with a named instance of Everything and have all your clients connect to that, use the following pipe format:
\\\\.\\PIPE\\Everything Service (<instance name>)
where <instance name> is the instance name.
The ini option to change the pipe name is:
http://www.voidtools.com/support/everyt ... _pipe_name
Please try the following pipe name:
\\.\PIPE\Everything Service
If you wish to run the service with a named instance of Everything and have all your clients connect to that, use the following pipe format:
\\\\.\\PIPE\\Everything Service (<instance name>)
where <instance name> is the instance name.
The ini option to change the pipe name is:
http://www.voidtools.com/support/everyt ... _pipe_name
Re: Using Named Pipes to talk to the service
EDIT:
Never mind. Got it working. Made the same typing error 3 times in a row
The right INI syntax is:
Ignore everything after this ...
I probably didn't explain myself very well in the first post, so here is another take on the issue, from a different angle:
In a "normal" running Everything - restricted user, running Everything Service - the GUI makes use of the default named pipe, called Everything Service to talk to the Everything service:
(shortened output of Pipelist64.exe. Note that these instances are different from Everything instances)
In Everything.ini, you can define the named pipe to talk through. When it's not defined in the INI
, it will use the default: \\.\PIPE\Everything Service
But when specifying the named pipe in the INI, like this:
or this:
Everything is not able to use the named pipe to talk to the service.
At least, that is my conclusion based on the fact that updates to the filesystem are no longer detected and this Accesss denied message:
How do I define the named pipe in Everything.ini?
Never mind. Got it working. Made the same typing error 3 times in a row
The right INI syntax is:
Code: Select all
service_pipe_name=\\.\PIPE\Everything Service
Ignore everything after this ...
I probably didn't explain myself very well in the first post, so here is another take on the issue, from a different angle:
In a "normal" running Everything - restricted user, running Everything Service - the GUI makes use of the default named pipe, called Everything Service to talk to the Everything service:
Code: Select all
C:\Tools>pipelist64.exe
PipeList v1.02 - Lists open named pipes
Copyright (C) 2005-2016 Mark Russinovich
Sysinternals - www.sysinternals.com
Pipe Name Instances Max Instances
--------- --------- -------------
InitShutdown 3 -1
lsass 4 -1
ntsvcs 3 -1
W32TIME_ALT 3 -1
Everything Service 1 -1
In Everything.ini, you can define the named pipe to talk through. When it's not defined in the INI
Code: Select all
service_pipe_name=
But when specifying the named pipe in the INI, like this:
Code: Select all
service_pipe_name=\\\\.\\PIPE\\Everything Service
Code: Select all
service_pipe_name=\\.\PIPE\Everything Service
At least, that is my conclusion based on the fact that updates to the filesystem are no longer detected and this Accesss denied message:
How do I define the named pipe in Everything.ini?
Re: [Solved] Using Named Pipes to talk to the service
Hi,
I also would be interested in accessing the "Everything Service" of the first instance from a second Everything instance.
Unfortunately I did not succeed despite many attempts.
Everything.exe -instance "PRIVATE" ... would require: "Install the 'Everything service' " ... I do not want to install a second "Everything Service".
Everything-PRIVAT.db and Everything-PRIVAT.ini have already been created.
The following examples do not work for me:
http://www.voidtools.com/support/everyt ... instances/
https://www.voidtools.com/support/every ... s/#service
http://www.voidtools.com/support/everyt ... -pipe-name
http://www.voidtools.com/support/everyt ... _pipe_name
How and with which parameters would I have to start the instance "PRIVAT" so that I can use the existing "Everything Service"?
Regards
Karl
Everything Version 1.4.1.903 (x64)
Windows 10 Pro (x64) Version 1803 (OS build 17134.81)
I also would be interested in accessing the "Everything Service" of the first instance from a second Everything instance.
Unfortunately I did not succeed despite many attempts.
Everything.exe -instance "PRIVATE" ... would require: "Install the 'Everything service' " ... I do not want to install a second "Everything Service".
Everything-PRIVAT.db and Everything-PRIVAT.ini have already been created.
The following examples do not work for me:
Code: Select all
Everything.exe -instance "PRIVAT" -service-pipe-name "\\\\.\\PIPE\\Everything Service"
Everything.exe -instance "PRIVAT" service-pipe-name "\\\\.\\PIPE\\Everything Service"
Everything.exe -instance "PRIVAT" -service-pipe-name "\\.\PIPE\Everything"
Everything.exe -instance "PRIVAT" service-pipe-name "\\.\PIPE\Everything"
Everything.exe -service-pipe-name "\\.\PIPE\Everything" (PRIVAT)
Everything.exe -service-pipe-name \\\\.\\PIPE\\Everything Service (PRIVAT)
Everything.exe -service-pipe-name "\\\\.\\PIPE\\Everything Service" (PRIVAT)
Everything.exe -service-pipe-name "\\\\.\\PIPE\\Everything Service (PRIVAT)"
https://www.voidtools.com/support/every ... s/#service
http://www.voidtools.com/support/everyt ... -pipe-name
http://www.voidtools.com/support/everyt ... _pipe_name
How and with which parameters would I have to start the instance "PRIVAT" so that I can use the existing "Everything Service"?
Regards
Karl
Everything Version 1.4.1.903 (x64)
Windows 10 Pro (x64) Version 1803 (OS build 17134.81)
Re: [Solved] Using Named Pipes to talk to the service
I know of 2 ways to make this work:tuska wrote: How and with which parameters would I have to start the instance "PRIVAT" so that I can use the existing "Everything Service"?
Option 1: Run 2 commands
Code: Select all
Everything.exe -instance "PRIVAT" -service-pipe-name "\\.\PIPE\Everything Service"
Everything.exe -instance "PRIVAT"
The second command starts the Everything instance (and reads the configured named pipe from the INI
Option 2: pre-configure INI
- Create a very minimal Everything-PRIVAT.ini:
Code: Select all
[Everything]
service_pipe_name=\\.\PIPE\Everything Service
Code: Select all
Everything.exe -instance "PRIVAT"
Re: [Solved] Using Named Pipes to talk to the service
2NotNull
Thanks a lot!
I tested both options - both work for me!
Currently I am still trying to find out why the instance "PRIVAT" in the status line shows me about 4000 entries more than in the main instance.
Filter is switched off. (At first I copied the Everything.ini over the Everything-PRIVAT.ini).
EDIT:
After recreating the index ("Force Rebuild") on both instances, the number of entries is the same.
Thanks a lot!
I tested both options - both work for me!
Currently I am still trying to find out why the instance "PRIVAT" in the status line shows me about 4000 entries more than in the main instance.
Filter is switched off. (At first I copied the Everything.ini over the Everything-PRIVAT.ini).
EDIT:
After recreating the index ("Force Rebuild") on both instances, the number of entries is the same.
Re: [Solved] Using Named Pipes to talk to the service
You're welcome
The only thing I can think of causing this, is an off-line removable disk that was indexed once in the 'normal' Everything.
Do you mean you are using the same INI (minus the named-pipe entry) for the 'normal' and the PRIVAT instance and found that this results in different indexes? That is unexpected!tuska wrote: Currently I am still trying to find out why the instance "PRIVAT" in the status line shows me about 4000 entries more than in the main instance.
Filter is switched off. (At first I copied the Everything.ini over the Everything-PRIVAT.ini).
The only thing I can think of causing this, is an off-line removable disk that was indexed once in the 'normal' Everything.
Re: [Solved] Using Named Pipes to talk to the service
I edited my entry above a few minutes ago - our entries have overlapped.
I tricked myself
I tricked myself
Re: [Solved] Using Named Pipes to talk to the service
So 'everything' is good now?tuska wrote:I edited my entry above a few minutes ago - our entries have overlapped.
I tricked myself
BTW: Upon re-reading, I misread your message: you had more entries in your PRIVAT instance vs your regular Everything. I read it the other way around ...
Re: [Solved] Using Named Pipes to talk to the service
Yes, thanks to your support everything works fine now.NotNull wrote:So 'everything' is good now?