PSTools

 

目錄

 


PsExec.exe

 

You must run reload from the same account as service run.

For example, if you run your nginx as SYSTEM, then you can use psexec tool:

PsExec.exe -s c:\nginx\nginx.exe -p c:\nginx -s reload

-s         Run the remote process in the System account.