Tool won't copy fixwmi.bat

Nov 15, 2012 at 2:47 PM

I'm getting this error when trying to run the fixwmi.bat.  I've create the bat file manually in the temp location on my workstation, and trying to fix a remote computer

Failed to execute remote copy command (path "C:\DOCUME~1\myusername\LOCALS~1\Temp\fixwmi.bat") on "remotecomputer"! Error 4.
   !! Failed to copy fixwmi.bat to "remotecomputer"!

 

Any ideas why the bat file won't copy to the remote system and execute?

Apr 23, 2013 at 5:45 PM
Same issue facing with WMI fix option and giving error while trying to copy fixwmi.bat file.

Any solution please update me.

Thanks in advance.
Apr 24, 2013 at 12:01 AM
Manoj,
We just scripted the copying the fixwmi.bat to a "install" location on the clients, then executed the batch file through psexec.exe connection to them, which is part of the PStools download. We used a text file with the computer names, accessed through a command file that has the following text.


for /f %%x in (DeviceList.txt) do copy fixwmi.bat "\%%x\c$\Install*.*" & psexec.exe \%%x "c:\Install\fixwmi.bat"

pause