ServiceController AccessDenied exception

Publish date: November 30, 2005

ServiceController AccessDenied exception

Reminder to self: Just so I know where to look for this when it eventually hits my face, which will eventually happen when I eventually have to try and control a remote service… eventually… :p… When I get this nice little error in my face, the solution is:

_“The command ID parameter should be an integer value
between 128 and 256. Values less than 128 are reserved
by the operating system.

Funny how the .NET Framework class library documentation
doesn’t mention this!”_

Funny, ain’t it?