/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Post installation scripts on Kace 2000

03/25/2015 1656 views
I came up with a powershell script that would move a computer to a specific OU in Active Directory. I tested that and it worked on my computer. I decided to upload this to Kace 2000 as post installation script. It is supposed to run right after the system get reimaged and completes sysprep. It tells me that it failed to run the post installation script. I read the error that says, "Error description: System cannot find the file specified".  I was able to open command prompt inside Kace 2000 Runtime enivorment and locate the file. I check the XML file via notepad and it has correct path to the file.

I decided to replace this script with another one called join_domain.vbs which exists in Kace 2000 as well. The same error came up again. I could find the vbs file via command prompt and the XML file includes information about that. 

It seems that I can't do any of post installation scripts and I really don't understand why I am experiencing this problem. Can anyone help?
2 Comments   [ + ] Show comments

Comments

  • What is the command you're using?
  • Post Installation Task #1

    Type: Application
    Runtime Environment: Windows
    File: MoveComputer.ps1
    Parameter: PowerShell -ExecutionPolicy RemoteSigned -file "./MoveComputers.ps1"


    Post Installation Task #2

    Type: Application
    Runtime Enviroment: Windows
    File: join_domain.vbs
    Parameter: join_domain.vbs example.domain.com username password "ou=exampleOU,dc=example,dc=domain,dc=com"


    I think I am definitely doing this wrong since I'm treating parameter as the command I use.

Be the first to answer this question

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ