Deployment Solution

 View Only
  • 1.  Deploying a script on Alteris

    Posted Sep 12, 2012 08:07 AM

    Hi,

    I have an .exe that adds a password to the bios settings on our Dell PCs that is stored on one of our servers. I have created a batch file that copies the .exe to the C: and runs it.  This works with no problems when ran from the client.  I need to find a way of running this .exe from alteris, either running it directly or by running the batch file that copies then runs it locally.

    The batch file contents are:

    xcopy \\servername\apps\Dell_bios_set.exe c:\
    start c:\dell_bios_set.exe

    I have tried running this as a script but get an error.  I've also tried using the %AGENTIPADDR% and %COMPNAME% tokens, and tried using a file copy to get the exe to the PC before running it, but am getting nowhere.

    If anyone has any ideas I'd love to hear them

     

    Thanks


     



  • 2.  RE: Deploying a script on Alteris
    Best Answer

    Posted Sep 12, 2012 09:10 AM

    I would assume that your problem is priviledges, with being 100% sure.

    The thing is, when you run your script, if you haven't configured it to do otherwise, you run it using local system priviledges, which is the computer accout.
    Try either giving the account rights to the folder, OR specify an account.

    Kind Regards
    Morten Leth



  • 3.  RE: Deploying a script on Alteris

    Posted Sep 12, 2012 10:15 AM

    If you're using DS 6.9 you can just create a Job with a "Distribute software" Task

    Name: \\servername\apps\Dell_bios_set.exe

    And that should be it.



  • 4.  RE: Deploying a script on Alteris

    Posted Sep 12, 2012 10:29 AM

    Thanks mortenleth, that looks to have been it.  I changed the account and It all runs fine now.

    andykn101 - I can't see that on my task list, I'll have to look into it later

     

    Thanks for the help guys.