I am using a (.NET2.0) service to periodically carry out privileged actions and return the result to shared memory, via IPC, with a non-admin user’s (.NET2.0) process.
I have been using globally named mutexes while developing from my administrator account but when I come to try the application on a limited account I get the error:
Additional information: Access to the path ‘Global\timersyncu33sc3c2sd42frandomlynamedmutexoijfvgf9v3f32’ is denied.
Is there some other way a non-privileged user can interact with a Service? Or should I just share the period of polling and update time and hope those values get written/read atomically?
I found the following method of granting access to my limited users as they log on and fire up their GUI. Note the function
getUsername(/*somehow*/);had several incarnations and I’m not listing the implementation that worked on XP, I’m sure there are other ways though 3 of the 4 I found didn’t work for me.