Contents tagged with WMI
-
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" … more
-
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 … more