IPC across users rights.

Windows specific forum
jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

IPC across users rights.

Post by jassing »

I have a service that currently talks to a client via named pipes.
I need to update it so it can run as a user with more privilages than the client has. I thought I had notes about re-setting access rights for the pipe so that they could work; but I can't find it...
does anyone know of a non-tcp/ip/udp based way to have IPC when service is running at a higher elevation than the user?
User avatar
RichAlgeni
Addict
Addict
Posts: 935
Joined: Wed Sep 22, 2010 1:50 am
Location: Bradenton, FL

Re: IPC across users rights.

Post by RichAlgeni »

Not sure about that, but you can change the properties of the service so that it can be run as a higher level user.

Services.msc, double click on the service to bring up the properties window, click the Log On tab, click This Account bullet, and fill in the account information.

I had to do this for a Watcher Service, and it works great.
Post Reply