Finding out what user Apache is running as in windows?

前端 未结 4 1617
失恋的感觉
失恋的感觉 2020-12-10 13:00

I am new to Windows and I am trying to figure out what user Apache is running on. In Linux I had a simple command ps aux | grep apache. How do I find that ou

4条回答
  •  执笔经年
    2020-12-10 13:40

    In Powershell you can interrogate the registry for the user context the service is running under:

    (Get-ItemProperty HKLM:\system\CurrentControlSet\Services\Apache2.4).ObjectName
    

提交回复
热议问题