/build/static/layout/Breadcrumb_cap_w.png

KCleanup after deployment of Sysprep Image

Hi there,

 

I noticed after deployment of a sysprep image and using the official Kace post install task for rename & join ( http://www.kace.com/support/resources/kb/article/How-to-rename-a-computer-and-join-it-to-a-Windows-domain-Image-Deployment?action=artikel&cat=54&id=763&artlang=en ) that the Kace folder is left behind and the Kcleanup process never happens.

Kace support team confirmed to me that this is a known issue that they are working on and plan to fix in the next software release.

 

Meanwhile I found this way of dealing with the situation:

In the 2_JoinDomain_x64.bat file inside the Souce folder add the following line before the shutdown command:

  C:\KACE\bin\cmdhide.exe hide && cd C:\ && rd /s /q C:\KACE && C:\kcleanup.exe && del /f /q C:\kcleanup.exe

You can add any optional REM lines...

The updated 2_JoinDomain_x64 would then look like this:

 

If you do not use any post install tasks, then you could just create a manual one with a batch file with only the cleanup line mentioned above.

This only applies to sysprep image deployments, non-sysprep works fine as Kace handels differently the kcleanup process there.

 

Good luck!

Nick.


Comments

  • Nick,

    Support should have also pointed you to this KB article to resolve the issue (in case you don't want to combine tasks).

    http://www.kace.com/support/resources/kb/article/KCleanup-does-not-run-in-a-3-4-sysprepped-image

    Corey - cserrins 11 years ago
  • Hi Corey,

    Thanks for pointing this out.
    Suport did not mentioned this. However when I try to get the files ( and any files on the new site) our logon does not work anymore...Any ideea why?

    Thanks,
    Nick. - nchirtes 11 years ago
  • Nick, there was a glitch after the help desk upgrade, try again. - cserrins 11 years ago
This post is locked

Don't be a Stranger!

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

Sign up! or login

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