 ll48263046
		
			ll48263046
		
		
		
		
		
		
		
		
	
			02-27-2014 12:16 AM
I have problem on this,it report erroe to run PsExec.exe using "System Exec.vi". It runs well on Labview8.6 version,but has problems on Labview2012. Could someone give some help?
Solved! Go to Solution.
 GerdW
		
			GerdW
		
		
		 
		
		
		
		
		
	
			02-27-2014 03:05 AM - edited 02-27-2014 03:06 AM
 Andrey_Dmitriev
		
			Andrey_Dmitriev
		
		
		
		
		
		
		
		
	
			02-27-2014 04:52 AM
Checked with LabVIEW 2013 and works without any problems.
Which error exactly you have?
One point for PsExec - when it runs first time on the PC, then EULA dialog is coming up and needs to be accepted. If you set flag Run Minimized, then this dialog will be "invisible", but SystemExec will wait for acknowledgement.
Hint - you can set up registry flag EulaAccepted in HKCU\Software\Sysinternals\PsExec to 1 (DWORD) - then this dialog will be suppressed.
Andrey.
02-27-2014 07:49 AM
Should this works?but it report the error
 GerdW
		
			GerdW
		
		
		 
		
		
		
		
		
	
			02-27-2014 09:12 AM
 Andrey_Dmitriev
		
			Andrey_Dmitriev
		
		
		
		
		
		
		
		
	
			02-27-2014 09:14 AM
Are you sure that PsExec placed into the directory which is in PATH variable.
Try to give full path to PsExec.exe. For example, copy this utility to C:\ and then call it as C:\PsExec.exe.
02-27-2014 05:31 PM
What about using "cmd /c PsExec.exe" as command string?
Thanks a lot.
It works now, the Labview 2012 are strict at this, i am sure to try this but make a mistake by input "/c PsExec"
02-27-2014 06:14 PM
I tried again, it is not the cmd /c problem.It is the path problem.
Before i put it into C:\windows\system32 ,it didn't work. So i put it into C:\ and make the input command to C:\\PsExec.exe .it runs well now.
But i am still confuse why put it into system32 it didn't work, and report the error 'psExec' is not recognized as an internal or external command,
operable program or batch file."