psexec told Couldn't install PSEXESVC service

SwimmingPool 121 Reputation points
2021-11-10T03:35:01.57+00:00

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?

Sysinternals
Sysinternals
Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
1,164 questions
0 comments No comments
{count} votes

Accepted answer
  1. CKasabula 81 Reputation points
    2022-02-15T21:25:12.71+00:00

    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.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.