WebAug 25, 2024 · Maybe you can use a second short script (that you launch with psexec instead) to have the remote machine copy that batch file locally, then in the last line use call to start that second local batch file copy (for example copied to %temp% )? WebDec 19, 2024 · To run my batch file on a remote computer using PSEXEC, I could use the following command: psexec \\workstation1 -c InstallPanda.bat The first argument …
windows - Start a bat file on remote PC - Super User
WebSep 14, 2024 · I created a batch file to run from my computer and this is what it contains: C:\Windows\System32\psexec.exe @remotecomputername -s msiexec.exe /i \\myserver\installs\softwareinstall\firefox\Firefox-46.0-en-US.msi But I always get the error "Error opening remotecomputername: The system cannot find the file specified". Do I have … WebSep 14, 2024 · Both my computer and the destination computer are running Windows 7. I created a batch file to run from my computer and this is what it contains: … grand peak academy staff
Deploy .MSI files using PSExec - Spiceworks
WebApr 16, 2016 · I managed to connect to the remote host via PsExec using the below commands. PsExec -u Username -p Password \\Remote_Host_IP … WebJan 3, 2024 · PsExec v2.2 - Execute processes remotely Copyright (C) 2001-2016 Mark Russinovich Sysinternals - www.sysinternals.com The system cannot find the file C:\Users\SVCT-WI-Jenkins\Desktop\test.log. The system cannot find the path specified. C:\WINDOWS\system32>The system cannot find the path specified. REM @Echo Off WebOur team needs a way of installing programs remotely either by batch files or scripts utlising Windows Installer and .msi files. I've so far managed to install Java using psexec (see below) psexec \\pcname -u *username* -p *password* -i msiexec.exe /a "msilocation\install.msi" This works without any problems. chinese medication for depression