I posted a question similar to this a few months ago (Reading environment variables from a foreign process), but had a follow up. Apologies if this isn't the correct etiquette.

I run a windows service that periodically scans processes for their environment variables. The service runs as and only scans processes that also run as . This works fine.

If I were to run the service as 'Local System Account' (an admin on the machine), would it have the same capabilities, or would it not have permissions?

有帮助吗?

解决方案

Local System Account is the most powerful user on the system, even more powerful than administrator accounts. So, whilst I have never attempted what you describe, I would expect that Local System Account would have sufficient rights.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top