/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Script that don't execute logoff...

01/30/2015 1926 views
Hello,

I'm playing with the script suggest in "Imaging Windows Tablets and Other UEFI Systems over the Network with Dell KACE". The script works very well as someone is log on the computer but nthing append while logg off.

All logs show that everything was done rigth.

here is the xml of the script :

Would I play with
execute disconnected="false" logged_off="true
?

Thanks.




Edit : remove invisible xml (2015-02-02)
2 Comments   [ + ] Show comments

Comments

  • Your XML code is not displaying.
    • True, but somehow there are line end's :S
  • Sorry for the inreadable xml.

    I finally succeed with this way :

    <?xml version="1.0" encoding="utf-8" ?>
    <kbots xmlns="http://kace.com/Kbots.xsd">
    <kbot>

    <config name="GILLES_RebootEtInstall" type="policy" id="148" version="1422632178" description="">

    <dependencies>
    <dependency name="/packages/kbots/148/WINRE.WIM" checksum="acc4c3209bd4629e283425f2cc3af5da" />
    <dependency name="/packages/kbots/148/kace4051.bat" checksum="a86d79fd7305aa31df18c2ed53f56c51" />
    </dependencies>

    <execute disconnected="false" logged_off="true">
    </execute>

    </config>

    <compliance>

    <verify on_failure="break" attempts="1">


    <on_verify_success>
    <launch_program path="$(KACE_DEPENDENCY_DIR)" program="kace4051.bat" wait="true" parms="" />
    <launch_program path="C:\Windows\System32" program="ReAgentC.exe" wait="false" parms="/disable" />
    <launch_program path="C:\Windows\System32" program="ReAgentC.exe" wait="false" parms="/SetReImage /Path C:\KACE\Recovery /Target c:\windows" />
    <launch_program path="C:\Windows\System32" program="ReAgentC.exe" wait="false" parms="/enable" />
    <launch_program path="C:\Windows\System32" program="ReAgentC.exe" wait="false" parms="/boottoRE" />
    <launch_program path="C:\Windows\System32" program="shutdown.exe" wait="false" parms="-r -t 60 -c &quot;reboot pour reintallation&quot;" />
    </on_verify_success>

    <on_verify_failure>

    <on_remediation_success>
    </on_remediation_success>

    <on_remediation_failure>
    </on_remediation_failure>

    </on_verify_failure>

    </verify>

    </compliance>

    </kbot>
    </kbots>



    Hope this help.

    Gilles
    • Please apply the CODE style to the code. It's illegible as it is.
      • Oh wait...that can't be done in a 'Comment', only an 'Answer'...pfffttt

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