Cannot run cmd as administrator windows 10

broken image
broken image

The Secondary Log-on service (seclogon ) is responsible for the ability to run programs as different user in Windows. In Windows 10 there are several ways to run a program/process on behalf of another user. The opportunity to run a program as a different user may be useful when an application is configured under another user (and stores its settings in another user’s profile, which the current user cannot access), but it must be started with the same settings in another user’s session. cab) with another user (usually elevated) privileges.įor example, you can use the RunAs to install apps or run MMC snap-ins under the administrator account in an unprivileged user session. ps1), an executable (.exe) or an application installation (.msi.

broken image

In all supported Windows versions it is possible to run applications on behalf of another user ( Run As) in the current session.