/build/static/layout/Breadcrumb_cap_w.png

Script that don't execute logoff...

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
  • Your XML code is not displaying. - EdT 9 years ago
    • True, but somehow there are line end's :S - dedenker 9 years ago
  • 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 - gwir 9 years ago
    • Please apply the CODE style to the code. It's illegible as it is. - anonymous_9363 9 years ago
      • Oh wait...that can't be done in a 'Comment', only an 'Answer'...pfffttt - anonymous_9363 9 years ago

Answers (0)

Be the first to answer this question

 
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