Many times in the past I had to run an interactive command-line shell under the Local SYSTEM account. That is, a CMD window on your desktop running under the system account. This technique is extremely useful in many cases, for example to debug ERROR…
// The name of the account under which the service should run// 1 NT AUTHORITY\\SYSTEM 2 NT AUTHORITY\\NetworkService 3 NT AUTHORITY\\LocalService#define SERVICE_ACCOUNT L"NT AUTHORITY\\NetworkService" // The password to the service account name…