Quantcast
Channel: Sysinternals Forums
Viewing all articles
Browse latest Browse all 10386

PsTools : PsExec

$
0
0
Author: ftolstyka
Subject: PsExec
Posted: 14 August 2013 at 2:14pm

First let me start with a little background of what I'm doing.
I have an application that will open up Microsoft Word, perform a mail merge, print the document and exit Word. Since Windows 7 i have had to use PsExec on the targeted PC to perform this function and it has worked flawlessly on the over 20 PCs i have this installed on, except for this 1.

What happens with this one is that after a shutdown of the PC, it refuses to work until a simple Restart is done on the PC. This person comes into work, brings up her PC, immediately performs a restart and all is fine. If this person forgets the restart, this function will fail.

This is from the batch file that gets submitted to the remote PC via a remote command:
c:\jmsljcrm\psexec -i 1 "c:\program files\microsoft office\office14\winword.exe" %1

After a shutdown of the PC the output is:

Copyright (C) 2001-2010 Mark Russinovich                                         

Sysinternals - www.sysinternals.com                                              

The system cannot find the file specified.                                       

Connecting to local system...                                                    

Starting PsExec service on local system...                                       

Connecting with PsExec service on OGEMAWDISTCRT03...                             

Starting C:\Program Files (x86)\MicrosoftOffice\Office14\winword.exe on OGEMAWD 

ISTCRT03...                                                                      

PsExec could not start C:\Program Files (x86)\MicrosoftOffice\Office14\winword.exe  


I have the user do a restart and it performs perfectly until the next shutdown.

The PC is running Windows 7 64bit and the user is an administrator.

Does anyone have any ideas what could cause this? 



Viewing all articles
Browse latest Browse all 10386

Trending Articles