Command prompt as SYSTEM user (Windows 7)

stephenwade

How can I get a command prompt as the SYSTEM user on Windows 7?

Context: I'm testing a computer startup script, and I need to figure out the behavior of a command when run as SYSTEM rather than my user account.

I've seen ways to do this with at and psexec, but those methods only appear to work on Windows XP or Windows Vista.

I'm using Windows 7 Pro SP1.

Synetech

This was asked on Stack Overflow. The accepted answer uses PsExec (from the Systinternals suite) as Scott suggested.

Another solution involves creating a service that runs under the System account to run the command interpreter. You can do this manually, or use a program that creates the services, runs the prompt, then deletes the service automatically. I just tried it and it worked a treat:

Screenshot of Task Manager with CMD running as System

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

Windows 7 Administrator Command Prompt "Start in" Path

분류에서Dev

Windows command prompt - Get relocated user's Documents folder

분류에서Dev

Manipulation with user and system environment variables from command line in Windows 10

분류에서Dev

Use Photoshop JavaScript to Execute System Command Line Prompt

분류에서Dev

How to delete all system files using command prompt

분류에서Dev

Command prompt interface not updated in windows 10 anniversary update

분류에서Dev

c# windows service installer prompt user for credentials

분류에서Dev

Command Prompt Shutdown Command

분류에서Dev

Create a Windows 7 System Repair ISO?

분류에서Dev

Windows 7 system resource as folder name

분류에서Dev

Windows 7 system tray date display not appearing

분류에서Dev

Create a user solely for FTP in Windows 7

분류에서Dev

Windows 7 - User-specific %PATH%

분류에서Dev

Rename user account on Windows 7 Home

분류에서Dev

Removing or overriding Windows 7 system image in windows 8

분류에서Dev

What is the default password for the `tomcat7` user on my system?

분류에서Dev

simply need to copy program file notepad.exe from the \windows to the \tools directory using command prompt

분류에서Dev

Why can't I launch telnet.exe from a Windows 8 command prompt?

분류에서Dev

Can you zip a file from the command prompt using ONLY Windows' built-in capability to zip files?

분류에서Dev

How can you show the login prompt on both monitors when logging in with Windows 7?

분류에서Dev

Prevent Windows System %PATH% from being prepended to user %PATH?

분류에서Dev

Add "django-admin.py" path to command line on Windows 7

분류에서Dev

How to command disk park using laptop with Windows 7

분류에서Dev

How to use Windows System.Speech for TTS in PowerShell 7 (or is there an alternative)

분류에서Dev

Windows 7 Boot to VHD using a VHD clone of the system drive

분류에서Dev

Does Windows 7 Updates really improve your system performance?

분류에서Dev

Is it possible to restore an entire Windows 7 operating system without image backup?

분류에서Dev

How do I disable the windows 7 activation system in this situation?

분류에서Dev

How to trim string in command prompt?

Related 관련 기사

  1. 1

    Windows 7 Administrator Command Prompt "Start in" Path

  2. 2

    Windows command prompt - Get relocated user's Documents folder

  3. 3

    Manipulation with user and system environment variables from command line in Windows 10

  4. 4

    Use Photoshop JavaScript to Execute System Command Line Prompt

  5. 5

    How to delete all system files using command prompt

  6. 6

    Command prompt interface not updated in windows 10 anniversary update

  7. 7

    c# windows service installer prompt user for credentials

  8. 8

    Command Prompt Shutdown Command

  9. 9

    Create a Windows 7 System Repair ISO?

  10. 10

    Windows 7 system resource as folder name

  11. 11

    Windows 7 system tray date display not appearing

  12. 12

    Create a user solely for FTP in Windows 7

  13. 13

    Windows 7 - User-specific %PATH%

  14. 14

    Rename user account on Windows 7 Home

  15. 15

    Removing or overriding Windows 7 system image in windows 8

  16. 16

    What is the default password for the `tomcat7` user on my system?

  17. 17

    simply need to copy program file notepad.exe from the \windows to the \tools directory using command prompt

  18. 18

    Why can't I launch telnet.exe from a Windows 8 command prompt?

  19. 19

    Can you zip a file from the command prompt using ONLY Windows' built-in capability to zip files?

  20. 20

    How can you show the login prompt on both monitors when logging in with Windows 7?

  21. 21

    Prevent Windows System %PATH% from being prepended to user %PATH?

  22. 22

    Add "django-admin.py" path to command line on Windows 7

  23. 23

    How to command disk park using laptop with Windows 7

  24. 24

    How to use Windows System.Speech for TTS in PowerShell 7 (or is there an alternative)

  25. 25

    Windows 7 Boot to VHD using a VHD clone of the system drive

  26. 26

    Does Windows 7 Updates really improve your system performance?

  27. 27

    Is it possible to restore an entire Windows 7 operating system without image backup?

  28. 28

    How do I disable the windows 7 activation system in this situation?

  29. 29

    How to trim string in command prompt?

뜨겁다태그

보관