deploying autoit .exe script via SCCM 2012 to servers then launching the script. Here is the script
FileCopy("\\networkpath\Scripts\ilo\FileCopy\file1.cmd", "C:Program Files\hp\hponcfg\", 0)
FileCopy("\\networkpath\Scripts\ilo\FileCopy\file2.xml", "C:Program Files\hp\hponcfg\", 0)
Run("C:\Program Files\hp\hponcfg\file1.cmd", "C:\Program Files\hp\hponcfg\", @SW_HIDE)
----------------------------------------------------------
So my problem seems to be that SCCM launches the exe as local system acccount, which doesnt have rights to the network path to copy the files. How can I copy these files as my Admin account in the script?
Thanks,
chris
FileCopy("\\networkpath\Scripts\ilo\FileCopy\file1.cmd", "C:Program Files\hp\hponcfg\", 0)
FileCopy("\\networkpath\Scripts\ilo\FileCopy\file2.xml", "C:Program Files\hp\hponcfg\", 0)
Run("C:\Program Files\hp\hponcfg\file1.cmd", "C:\Program Files\hp\hponcfg\", @SW_HIDE)
----------------------------------------------------------
So my problem seems to be that SCCM launches the exe as local system acccount, which doesnt have rights to the network path to copy the files. How can I copy these files as my Admin account in the script?
Thanks,
chris