Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

PC rebooter script not working on some of Win 7 machines

$
0
0
Hi All,

I am getting an issue with one of our script in AutoIT, RunASWait command seems not working in some of the Win 7 machine.

$Return=RunAsWait($UserArray[2],$UserArray[1],$Pass,0,@ComSpec & " /c " & Chr(34) & $BatchFile & Chr(34),"C:\Temp", @SW_SHOW)

I have tried on different machine with same user privileges, but it works on some machines and did not work on some. it dosen't throw any error but remote machine is not rebooting.

Please advice if any thing is funny in this code.

Regards,
Rajesh Suyal.

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>