Hello,
My problem is that, I wrote a small service that will clean my several "cache" folders (which I use while I'm working and get cluttered pretty badly) every time I open my computer. It should be working just fine, because I tested it as a Windows Application and it works fine. But I want this to work automatically every time I open my computer and I want this to be done at the background, without notifying me.
I created the service and added the Project Installer but I cannot install the thing because I do not have a Full-Access privilege account. I'm an ordinary user on this machine.
I've tried to set the ServiceProcessInstaller's Account property to User and LocalService but I couldn't manage to install it in neither ways. System.Security.SecurityException throws this exception every time I try to "installutil" it, then it rolls back the installation.
Is there a way to manipulate my privileges for just this once and install this service? I may need to install various other services in the future, and this appears to be a serious problem for me.
I'm fairly new with Windows Services and I would really appreciate any help.
Thanks.