If you connect to a machine and run the command(s) locally, does it run?
Did you download each of the kb(s) needed per running a report like this? https://www.lansweeper.com/forum/yaf_postsm50430_Ransomware--MS17-010-Windows-computers-that-are-potentialy-vulnerable.aspx#post50430
Remember that I have renamed each of my msu files to be shorter than when downloaded from the microsoft update catalog
http://catalog.update.microsoft.com/v7/site/home.aspx
If it does run locally, then you may have an issue with the way your file share is configured for use by lansweeper and/or access from your systems (workstations/servers).