The following MS Jscript file it works fine and returns the XML file when I run the script as admin on windows 7. When I run it as LocalSystem, it returns nothing on some PCs. Looking at the packets Using wireshark, it seems that the local PC is issuing a FIN packet which is stopping the network communication when the script is run using LocalSystem. I would appreciate any pointers.
var filePath = "https://someurlhere";
WScript.Echo("Reading XML file: " + filePath);
var xsl = new ActiveXObject("Msxml2.DOMDocument.3.0");
xsl.async = false;
xsl.validateOnParse = false;
xsl.load(filePath);
WScript.Echo("XSLT: " + xsl.xml);
No comments:
Post a Comment