Miscellaneous Debris

Avner Kashtan's Frustrations and Exultations

Browse by Tags

All Tags » WMI (RSS)
Granting User Rights in C#
As a follow-up to my previous post about changing a Windows Service's user account - there was one think I forgot. In order for a user to run a service, that user must be granted the "Run as Service" right by the operating system. Usually it's not a problem...

Posted Thursday, May 10, 2007 12:36 PM by Avner Kashtan | 1 comment(s)

Filed under: , , ,

Setting Windows Service Account - C# and WMI
I've been busting my brains for over two hours trying to accomplish a relatively simple task - changing the username and password of a currently running Windows Service. Should be trivial enough, but the managed ServiceController class doesn't give me...

Posted Tuesday, May 08, 2007 10:54 AM by Avner Kashtan | 11 comment(s)

Filed under: , , ,

More Posts