Sysinternals
Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
1,164 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
An account at Win7 is Administrator, the other is user1 as a normal user.
Administrator logon in session 1, I ran cmd as Administrator. I typed
psexec64 -i -u user1 -p 1 notepad.exe
But it told that
Couldn't install PSEXESVC service:
Access Denied
What's wrong with that?
Short answer: You need to run from an elevated/admin command prompt.
Details: psexec installs a service (PSEXESVC) every time you run it. The service is removed when psexec exits. To install a service you need to be elevated.