Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

How to Run a Program in Windows as the Local System Account

Posted on 25/07/202216/08/2026 Imoh Etuk By Imoh Etuk No Comments on How to Run a Program in Windows as the Local System Account
  1. Home
  2. Windows
  3. How to Run a Program in Windows as the Local System Account
Local-System-Account
Local System Account

The LocalSystem account is a service control manager-defined local account. Because the security subsystem does not recognize this account, you cannot specify its name in a LookupAccountName call. It has extensive privileges on the local computer and serves as the network computer. In this article, you will learn how to Run a Program in Windows as the Local System Account. Please see How to forcefully Remove Language Pack on Windows 10 and Windows 11, and How to convert a PEM Key to a PPK Key on a Linux VM in AWS or on Windows 10 and 11 in Azure Platform.

The SYSTEM (a.k.a. LocalSystem) account, which has a high privilege level, owns many Windows system files, registry keys, and services. There are at least two ways to modify a registry key owned by the SYSTEM account. When accessing resources not located on the computer, the local Windows system account is also the computer account.

Most resources that do not reside on the computer itself, such as remote shares, do not have security access rights granted to computer accounts. Local system account “user” profiles are different from regular “user” profiles. Consider variables such as the environment.

How to Use the Local System Account

Before you begin testing an SCCM service account, make sure you’re using the local system account, also known as the computer account or NT authority\system, NT Authority\system is a predefined local account used by the service control manager. It is also an account with the highest privileges on the local computer.

Once you’ve determined that you’re using the local system account, you can usually troubleshoot an error by simulating how SCCM would access those resources.

You can also learn about the merits and demerits of Local System Account and Service Logon Account, Create Disk Cleanup Shortcut: How to Perform Disk Clean-up in Windows, Microsoft Management Console: How to fix Windows Task Scheduler Service Greyed Out in Services MMC.

Run a Program in Windows as the Local System Account (SYSTEM)

To run a program under the SYSTEM account, follow along with me in the following method:

Method 1 – Using PsExec.exe from Windows Sysinternals

To run a program in the SYSTEM context, use Microsoft’s Windows Sysinternals PsExec.exe console tool. Follow these steps:

Step 1 – Click to download PsExec from Microsoft Sysinternals.

SYSTEM account
Downloading PsExec.exe File

Step 2 – Unzip and extract the tool to your desired folder — e.g., C:\User\Desktop

Extract-the-file
Extracting the PsExec File

Step 3 – Open Command Prompt window with admin privileges.

LocalService account
Opening Command Prompt

Step 4 – Type the following command, and press ENTER in the Command Prompt Window to start the Registry Editor under the SYSTEM account:

C:\Users\name\Desktop\PSTools>psexec.exe -sid c:\windows\regedit.exe

In the command above make sure you’re on the right path and also replace the <name> with your username.

NT AUTHORITY\SYSTEM
Agree to the EULA

Once you run the command, you will be prompted to agree to the EULA. Go ahead and accept it. The System Registry will open up immediately after agreeing to the EULA.

LocalSystem profile
Opening System Registry in LocalSystem Account Profile

The PsExec command line mentioned above launches the Registry Editor under the Local System Account, enabling you to edit the registry’s protected areas. Within the Registry Editor window, access the desired registry key and modify the values as needed. Once finished, exit the Registry Editor.

Method 2 – Using Advanced Run from Nirsoft

With the help of the straightforward Windows tool, AdvancedRun, you can run programs with various options, such as low or high priority, start directory, main window state (minimized or maximized), running the program with various users or permissions, operating system compatibility settings, and environment variables.

The program can also be automatically launched from the command line with the desired settings by saving the desired settings into a configuration file and then running it under the Local System Account.

Using Advanced Run, you can also launch a program under SYSTEM or a different user context.

Step 1 – To use AdvancedRun, click here to download it. When on the download page, scroll down to the feedback section and select the version based on your OS compatibility to download the zip file. It doesn’t require any installation. Just extract the zip file and save it to a location on your PC.

SYSTEM account
Download AdvancedRun

Step 2 – Open the extracted folder and double-click on the AdvancedRun program

LocalService account
Launching the AdvancedRun Program

Step 3-In the “Program to Run” field, click on the 3-dotted lines on the right-hand side of the screen, choose a program to run, and choose SYSTEM user in the Run As dropdown box, and click Run.

NT AUTHORITY\SYSTEM
Running a Program with AdvancedRun Tool

As shown in the screenshot above, I’m running the Registry Editor Program. So, clicking on “Run” will open up the Registry Editor screen. You can choose to run other programs.

Ran-Windows-Registry-1
Opening Windows Editor Screen

Step 4 – Alternately, you can also use the below command to run a program as a SYSTEM using AdvancedRun in an elevated command prompt:

AdvancedRun.exe /EXEFilename "C:\Windows\regedit.exe" /RunAs 4 /Run
/RunAs 4 instructs to start the program under the LocalSystem account. The possible data values for the /RunAs switch are as follows:
1 – Run as current user (elevate)
2 – Run as current user (no elevation)
3 – Run as Administrator (force elevation)
4 – Run as SYSTEM
8 – Run as TrustedInstaller
Run-AdvancedRun-in-CMD
A Running Program as a System Using AdvancedRun in CMD

Method 3 – Using Process Hacker

Process Hacker, an outstanding process manager comparable to Sysinternals Process Explorer, supports a unique feature allowing program initiation under the same user account as a running process or service.

In such scenarios, you can run a program under the Local System Account. To use Process Hacker to run a task, do the following:

Step 1 – Download and install the Process Hacker Software

Step 2 – Find a program or service which is currently running under NT AUTHORITY\SYSTEM.

Process-Hacker-Tasks
Process Hacker showing Running Programs

Step 3 – Right-click on the process, click Miscellaneous and click Run as this user

Run-Program-with-Process-Hacker
Run Program as

Step 4 – Choose the program (e.g., regedit.exe, or cmd.exe) you want to run as that user and click OK.

Run-progam-as-this-user
Run a Program as NT AUTHORITY\SYSTEM

As shown above, we just ran the cmd.exe program. The program would run as SYSTEM (NT AUTHORITY\SYSTEM)

Method 4 – Using NirCmd.exe from NirSoft

There is a versatile command-line tool called NirCmd from NirSoft. To get started, follow the steps below:

Step 1 – Download NirCmd and extract it to a particular location

NirCmd
Download and Extract NirCmd to a Folder

Step 2 – Right-click and run NirCmd as an administrator. You can also run NirCmd as a SYSTEM

Run-NirCmd-as-Admin
Running NirCmd as an Administrator

A dialog box prompt will show up, click on copy to Windows Directory and then click on Yes to be able to run NirCmd without specifying the full path

Copy-to-Windows-Directory
Copying NirCmd to Windows Directory

Now utilize the following command line to initiate the Registry Editor elevated and within the Local System Account:

nircmd.exe elevatecmd runassystem c:\windows\regedit.exe
Use-NirCmd-to-run-Regedit
Running System Registry Editor with NirCmd

There are several ways to run processes under the LocalSystem Account. The above-stated methods should get you started.

I hope you found this article useful on how to Run a Program in Windows as the Local System Account. Please feel free to leave a comment below.

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
Windows Tags:Registry Editor, Windows 10, Windows 11

Post navigation

Previous Post: How to remove OneDrive from Windows
Next Post: How to restore quarantined files in Microsoft Defender Antivirus

Related Posts

  • Google drive Mount issue fixed 1 e1785328171798
    Google Drive Broken on Windows: Fix and Prevent it from happening again Windows
  • vcx
    Fix Error code 0x4 Session disconnected: Your session ended because of an error, if this keeps happening, contact your system administrator Windows
  • nodee
    How to install Cypress on Windows and perform Automation Windows
  • Screenshot 2020 12 06 at 17.44.32
    Windows cannot connect to the printer: Operation Failed with error 0x000004f8 Windows
  • domain14 1
    How To Configure a Domain Password Policy Windows
  • Comprehensive Guide to Passkeys on Windows Devices
    Comprehensive Guide to Passkeys on Windows Devices Windows

More Related Articles

DEvolusion RDP Manager How to set up Devolution Remote Desktop Manager on Windows Windows
remote desktop version and protocol Determine the Remote Desktop Client Version Windows
lang2 How to add languages to your Windows PC Windows
command prompt powershell 670x335 1 How to Start, Stop and Restart Windows Server Update WSUS Services via PowerShell and CMD Windows
Featured image 1 How to enable or disable color filters in Windows Windows
reliablee How to use the Reliability Monitor in Windows Windows

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

Top 30 Sysadmin blog

veeaam100

Veeam Vanguard

  • windows 10 hert
    Windows Management Instrumentation Commands Scripts
  • Docker Guide
    Pull and Deploy Nginx Container Images from Docker Hub AWS/Azure/OpenShift
  • azure resource groups 1
    Setup Public Load Balancer in Azure AWS/Azure/OpenShift
  • maxresdefault 1
    DriveLock Components: Important DriveLock components to master Windows Server
  • IIS8
    How to add an account to the local IIS_IUSRS group Windows Server
  • Featured image DNS Server settings
    Do not use Public DNS in Prod: Change DNS Server in Windows Network | Monitoring
  • drivelock 1
    How to activate DriveLock License on Windows Server Windows Server
  • Customizing Windows PE e1776163892496
    Steps to customize Windows PE boot images Windows

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,735 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Contact
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon
  • Bsky

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.