PSexec will not run a bat file that is set to silently install programs.
Here is what im ruining for psexec to launch the bat file on the computers. The computers are not logged in they are at the CTRL alt del screen and awake. when ran it shows connecting them that goes away and it just sits there. What am i doing wrong guys and gals?
for /f %%a in (%~d0\SoftwareDeployment\Lists\Computers.txt) do psexec \\%%a C:\SD\scripts\install.bat
Pause
This is the bat file that is on the local machine along with its installers.
[font=verdana]
[font=Verdana]@Echo OFF[/font][/font]
start /w "" C:\SD\installers\install.exe -i silent
[font=verdana][font=Verdana]start /w "" C:\SD\installers\FlashEXEPI18.exe -install
[/font]
Also i have tried this with VBS and still no luck
[/font]
admin computer
for /f %%a in (%~d0\SoftwareDeployment\Lists\Computers.txt) do psexec \\%%a cscript.exe //B C:\SD\scripts\start.vbs
Pause
Code on remote computer
CreateObject("Wscript.Shell").Run "C:\SD\Tabe182.exe -i silent", 0, True
CreateObject("Wscript.Shell").Run "C:\SD\installers\FlashEXEPI18.exe -install", 0, True