cmgrider Posted January 29, 2013 Share Posted January 29, 2013 deploying autoit .exe script via SCCM 2012 to servers then launching the script. Here is the scriptFileCopy("\\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 Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted January 29, 2013 Moderators Share Posted January 29, 2013 Last I knew, your only options in SCCM are Run as logged in user, or Run as System. You could set it to Run as logged in user, then log into each of the boxes. Otherwise, you would have to set the Package to drop the executable somewhere on the box, then in the command line section do a RunAs. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now