我创建了一个Windows服务应用程序中使用VS2013和设置属性ServiceProcessInstaller.Account到System.ServiceProcess.ServiceAccount.LocalSystem和服务不运行,直到我给了允许的SYSTEM帐户。Windows 8.1中帐户“System.ServiceProcess.ServiceAccount.LocalSystem”的名称是什么?
但我怀疑如果SYSTEM帐户是同一个帐户审阅here或由该枚举值简称:System.ServiceProcess.ServiceAccount.LocalSystem。
“本地系统”和SYSTEM确实是同一对象的两个名称。 – 2014-10-18 02:44:49
@HarryJohnston谢谢你的回复,你能否给我一些参考文献在哪里阅读?如果你写一个答案,我会选择你的答案。再次感谢。 – 2014-10-19 03:54:23