Remotely Run Programs on Another Computer: 3 Ways
This post mainly introduces how to remotely run programs on another computer using free remote desktop software, PsExec, PowerShell remoting respectively.
Can you run programs on another computer remotely?
Yes. You can use a remote desktop app to open and interact with software on another computer, or use tools such as PsExec and PowerShell to execute commands remotely.
If you need to see an app’s window, click menus, and work with files, start with AnyViewer. If you need to run administrative commands or scripts, go to the PsExec or PowerShell sections.
The program runs on the remote computer and uses its resources. For the desktop workflow below, keep that computer powered on, connected to the internet, and awake, with the software you want to use already installed.
3 ways to remotely run programs on another computer
Here we listed three ways to remotely run programs on another computer. You can do remote computer management on Windows 10, 11 via free remote desktop software, PsExec, and PowerShell remoting respectively.
| Your goal | Start with | What to know |
| Open and use a desktop app remotely | AnyViewer | View the remote screen and use the app with your mouse and keyboard |
| Launch a process with command-line options | PsExec | Requires appropriate permissions and remote administration setup |
| Run commands or scripts on remote Windows PCs | PowerShell remoting | Requires remoting configuration; does not provide an interactive desktop |
Need to work inside an app rather than just start a process? Follow the AnyViewer steps below.
Method 1. Use AnyViewer to open and control desktop apps remotely
Need an app that is installed on your office or home PC? AnyViewer lets you connect to that computer, open the app, and work inside it from another location. This method suits tasks that require a visible interface, such as editing a document or using business software.
Ready to use an app on your other PC? Install AnyViewer on both computers to get started.
Step 1. Prepare both computers. Install and open AnyViewer on both PCs. Keep the remote PC online and awake.
Step 2. Set up access. Sign in to the same AnyViewer account on both computers for access to your own devices.
Step 3. Connect to the remote PC. Select it in the device list and choose One-click control.
Step 4. Open and use your program. On the remote desktop, open the Start menu or the app’s shortcut. Launch the program and work with it using your local mouse and keyboard.
Files you create or edit remain on the remote PC unless you transfer them. App permissions and software licensing requirements still apply.
Start with the free plan to try the workflow. If you need to manage more devices, transfer larger work files more efficiently, or keep the remote screen private while you work, compare the paid plans for the features and limits that match your needs.
- Work across more computers: Choose a plan with device limits that fit your setup.
- Work with sensitive information: Look for privacy mode to black out the remote screen and disable local input.
- Move work files between PCs: Compare file-transfer limits and speeds before choosing a plan.
Method 2. Run programs on a remote computer with PsExec
Another way is to run programs on a remote computer via PsExec, which is a tool that lets users execute processes on remote systems with commands sent via Command Prompt. PsExec can be used to not only manage processes on the remote computer but also to redirect a program’s console output to the local computer, making the process appear to be operating locally. The way how to use PsExec can be divided into four parts:
- Turn on file and printer sharing
- Enable administrative share ($admin) on the remote host
- Get the details of the remote host
- Use PsExec with CMD to take control of another computer
Of which the first three parts are set up process, once finished, you can use PsExec to take control of another computer and use the syntax of PsExec to type effective commands to run specific programs.
For example, use the following command to open Notepad in the remote computer’s console session:
bat psexec \\REMOTE-PC -i notepad.exe
Replace "REMOTE-PC" with the remote computer’s name. You need an account with the appropriate administrative permissions.
To open Notepad in a specific logged-in user’s session, use:
bat psexec \\REMOTE-PC -i SESSION_ID notepad.exe
Replace "SESSION_ID" with the target user’s session ID.
The Notepad window opens on the remote computer, not your local screen. PsExec does not display or control the remote desktop. To view the window and interact with the program, use AnyViewer as described in Method 1.
Method 3. Run programs with PowerShell remoting
PowerShell remoting lets you execute commands and console programs on another Windows computer. It is suitable for administrative tasks and scripts rather than interacting with graphical apps.
Step 1. On the remote computer, open PowerShell as an administrator.
Step 2. Enable remoting by running:
powershell Enable-PSRemoting -Force
Step 3. On your local computer, open PowerShell and run:
powershell Invoke-Command -ComputerName REMOTE-PC -Credential (Get-Credential) -ScriptBlock { & "$env:SystemRoot\System32\ipconfig.exe" /all }
Replace "REMOTE-PC" with the remote computer’s name. Enter credentials for an account authorized to connect when prompted.
Step 4. Review the results in your local PowerShell window. This example runs IPConfig on the remote computer and returns its network configuration.
These steps assume a domain environment with the required permissions and network access. Non-domain computers may require additional authentication configuration. Follow Microsoft’s remoting guidance rather than configuring all hosts as trusted.
PowerShell remoting does not display an interactive desktop. To open a graphical app and use its buttons or menus, follow the AnyViewer steps in Method 1.
Choose the right way to run programs remotely
Use AnyViewer when you need to see and operate a program on another PC. Choose PsExec for remote process execution, or PowerShell remoting for commands and scripts.
For the desktop workflow, prepare both computers, connect to the remote PC, and open your app as you normally would. Start with AnyViewer’s free plan, then compare paid plans if you need additional device capacity or work features.