My network admins would use Powershell for this. Not sure if you are restricted to only CMD.

invoke-command -computername SYSDES208 -scriptblock { D:\TestFile.exe }

If you are using a domain account or have the exact same account on the remote machine you shouldn't need to enter credentials as powershell will use the cred of the local user.

Answer from Classified on Stack Overflow
🌐
Microsoft Learn
learn.microsoft.com › en-us › sysinternals › downloads › psexec
PsExec - Sysinternals | Microsoft Learn
PsExec's most powerful uses include launching interactive command-prompts on remote systems and remote-enabling tools like IpConfig that otherwise do not have the ability to show information about remote systems.
🌐
Spiceworks
community.spiceworks.com › programming & development
How to use Psexec tool to access remote machine using local administrator - Programming & Development - Spiceworks Community
October 4, 2013 - Hi all, I am new here, i just want to use psexec tools… as i am just system administrator not domain admin so i dont know domain password… As i gone throu some pages after i got this syntax (psexec \computername cmd -u administrator -p “adminpassword”) i don want to explicit my password ...
Discussions

psexec executing commands remotly - Software & Applications - Spiceworks Community
Hi all, is it possible to open a application remotely. ( i.e if the remote machine has msoffice is installed, i want to open that msoffice to my current machine ). because i want to run a schedule program in several machine that has some manual interaction. is it possible. Regards, karthick More on community.spiceworks.com
🌐 community.spiceworks.com
3
January 29, 2013
PSEXEC Command to Target List of Machines in Text Docment
pretty sure that function is built into psexec psexec @file @file is your .txt list of servers More on reddit.com
🌐 r/sysadmin
9
November 17, 2020
command prompt - How to run exe on remote PC using psexec - Stack Overflow
Not sure if you are restricted to only CMD. invoke-command -computername SYSDES208 -scriptblock { D:\TestFile.exe } If you are using a domain account or have the exact same account on the remote machine you shouldn't need to enter credentials as powershell will use the cred of the local user. ... Sign up to request clarification or add additional context in comments. ... you need to add credential as well to run that exe.(Pass the credential in PSEXEC ... More on stackoverflow.com
🌐 stackoverflow.com
powershell - PSEXEC Starts on remote PC but does not execute command - Stack Overflow
However when I run remotely via an interactive session with -i 2 (2 being session which I can see on the console) with -s and -h (calling user and remote logged user are administrator on the remote PC) When I execute the psexec remotely, I can interactively see that the powershell is getting ... More on stackoverflow.com
🌐 stackoverflow.com
🌐
Petri
petri.com › home › how to run commands and programs remotely using psexec
How to Run Commands and Programs Remotely Using PsExec | Petri
July 29, 2025 - Maybe you’d rather use PowerShell Remoting to handle your remote access duties. Have no fear, PsExec is here. You can use PsExec to initiate the ‘winrm quickconfig’ command to enable your access. psexec \ws16-dc2 -s c:windowssystem32winrm.cmd quickconfig -quiet
🌐
Spiceworks
community.spiceworks.com › software & applications
psexec executing commands remotly - Software & Applications - Spiceworks Community
January 29, 2013 - Hi all, is it possible to open a application remotely. ( i.e if the remote machine has msoffice is installed, i want to open that msoffice to my current machine ). because i want to run a schedule program in several ma…
🌐
Reddit
reddit.com › r/sysadmin › psexec command to target list of machines in text docment
r/sysadmin on Reddit: PSEXEC Command to Target List of Machines in Text Docment
November 17, 2020 -

Hello Folks,

Does anyone have the syntax for PSExec that will allow me to feed a list of machines in a text document and allow me to call up a script that has a list of commands that will run against the queued up list? I need the ability to to also specify the run as user before the psexec command takes off. If I am not clear on this request, please let me know.

🌐
TheITBros
theitbros.com › windows › miscellaneous top posts: › using psexec to run commands on remote computers – theitbros
Using PsExec to Run Commands On Remote Computers – TheITBros
March 5, 2026 - psexec \\lon-srv01 powershell -ExecutionPolicy RemoteSigned -command "'{0:N2}' -f ((gci C:\PS | measure Length -Sum).Sum/1MB)" Note. You can use the Invoke-Command cmdlet instead of PsExec to run commands remotely with PowerShell.
Find elsewhere
🌐
Stack Overflow
stackoverflow.com › questions › 76640994 › psexec-starts-on-remote-pc-but-does-not-execute-command
powershell - PSEXEC Starts on remote PC but does not execute command - Stack Overflow
I conclude from the following experiment that what you're trying to do can not be done, as of psexec v2.43, and as tried on both a Windows 10 and a Windows 11 machine: The following juxtaposes a local invocation using a simple test command with a remote one; the test command tries to use -i in combination with -s to run a PowerShell command visibly on the target machine, which, after a delay of 3 seconds sends keystrokes (exit + Enter) to its own window to auto-close it:
🌐
Silverfort
silverfort.com › home › glossary › psexec explained
What is PsExec? Command-line Tools | Silverfort Glossary
January 17, 2023 - PsExec uses the Microsoft Windows Service Control Manager (SCM) to start an instance of the service on the remote system, which allows the tool to run the specified command or application with the account’s privileges of the service account ...
🌐
Medium
medium.com › @yrddry79 › psexec-hunt-lab-cyberdefenders-5ab4c4f3aa73
PsExec Hunt Lab — Cyberdefenders
March 3, 2026 - PsExec is a command-line utility from Microsoft’s Sysinternals suite used to execute processes on remote systems or locally with elevated privileges.
🌐
Active Directory Reporting Tool
activedirectorypro.com › psexec-run-commands-on-remote-computers
PsExec: Run Commands On Remote Computers - Active Directory Pro
November 12, 2025 - This command will delete the file users.txt from the remote computer. psexec \\pc1 cmd /c del /f c:\it\users.txt · In this example, I will stop and start the spooler service on a remote computer · psexec \\pc1 net stop spooler · To start the spooler service use this command.
🌐
SpecterOps
specterops.io › home › blog
Blog - SpecterOps
April 3, 2023 - Your new best friend: Introducing BloodHound Community Edition!
🌐
GBHackers
gbhackers.com › home › hydra saiga espionage campaign targets critical utilities using telegram c2 for data theft
Hydra Saiga Espionage Campaign Targets Critical Utilities Using Telegram C2 for Data Theft
February 26, 2026 - Lateral movement relies on nltest for domain controller discovery followed by WMI or PsExec to deliver and run reverse SOCKS5 proxy clients inside the network.
🌐
BizTech Magazine
biztechmagazine.com › article › 2020 › 02 › how-sysadmins-can-take-psexec-next-level
PsExec Command: How SysAdmins Can Level Up | BizTech Magazine
February 5, 2020 - In this case, we can use PsExec to pass an encrypted credential to the remote system to execute our command. To run an interactive remote command prompt as a different user, run the following command: psexec \\REMOTE cmd.exe -i -u domain.local\admin ...
🌐
Rclone
rclone.org › install
Install
To test your command manually from a Command Prompt, you can run it with the PsExec utility from Microsoft's Sysinternals suite, which takes option -s to execute commands as the SYSTEM user....
🌐
OpenText
community.opentext.com › portfolio › oes › w › tips › 12323 › run-remote---gui-for-psexec
Run Remote - GUI for PSEXEC - Open Enterprise Server Tips
April 20, 2021 - Observability and Service Mgmt Cloud · This is community contributed "How to" tips, best practices, and general helps to get the most out of your product, so please share your knowledge! Have questions about your product? Click on the "Discussions" tab above and post your questions there
🌐
Kali Linux
kali.org › tools
Kali Tools | Kali Linux Tools
August 13, 2024 - $ impacket-psexec · $ impacket-raiseChild · $ impacket-rbcd · $ impacket-rdp_check · $ impacket-reg · $ impacket-registry-read · $ impacket-rpcmap · $ impacket-sambaPipe · $ impacket-services · $ impacket-smbclient · $ impacket-smbexec · $ impacket-smbserver ·
🌐
Microsoft Learn
learn.microsoft.com › en-us › sysinternals
Sysinternals - Sysinternals | Microsoft Learn
February 4, 2026 - Library, learning resources, downloads, support, and community. Evaluate and find out how to install, deploy, and maintain Windows with Sysinternals utilities.