/build/static/layout/Breadcrumb_cap_w.png

Need to perform multiple deployments with reboot in between

I am trying to upgrade Citrix Receiver 4.5 to 4.7. The problem is we are moving forward with using the Single Sign on option. Per Citrix, going from an instance that did not have that enabled, you have to run the cleanup utility and reboot and then install the new version with Single Sign on enabled. I am trying to figure out a way to make this into a deployment. My first attempt was making the original deployment run the clean up utility, then copy the installation and script for the new version of citrix to a local folder as well as a batch script in the startup folder that would run that script. The problem with this is the script will fail because our users do not have admin rights, so upon logon the script will run but error.

Is there anyway for KACE to run a deployment, reboot the pc, and upon logon (BUT NOT A LOGIN SCRIPT) run the next deployment for install. I found out the "After login" option does not allow the Single Signon to get enabled, the user MUST be already logged in. Any help will be appreciated.

Thank you.

4 Comments   [ + ] Show comments
  • Hmm. Thats a good problem. We could leave a breadcrumb and come back to it...


    1. In your initial script add this(We can clean it up later if it solves your issue):
    Reg add "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce" /v KaceCheckin /d "C:\Programdata\Dell\Checkin.bat" /f
    Echo "C:\Program Files (x86)\Dell\KACE\Runkbot.exe" 4 0 >> C:\Programdata\Dell\Checkin.bat
    Echo More Steps Needed!! > C:\Programdata\Dell\CitrixInstall.txt

    2. Create a custom Software inventory rule to look for the Citrixinstall.txt file
    FileExists(C:\Programdata\Dell\CitrixInstall.txt)

    3. Then create a smart label that looks for the Software entry:
    Software Titles = Whatever you named it in step 2

    4. Attach the smart label to the script you want to run after reboot.

    Also! Make sure you delete C:\Programdata\Dell\CitrixInstall.txt in your second script - Desktop Jockey 3 years ago
  • I did everything you suggested, but it seems the checkin "RunOnce" won't work on non-admin accounts... - lrroan1441 3 years ago
  • Ok please let me know in this chain, where it stops working:
    You have put step 1 into your initial script, Ran it, then verified that the files/Reg entry Exist:
    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce\KaceCheckin
    C:\Programdata\Dell\Checkin.bat
    C:\Programdata\Dell\CitrixInstall.txt

    Does the CMD window pop up upon reboot?

    Does the computer show up in your smart label or under Software inventory item? - Desktop Jockey 3 years ago
  • It only runs the Checkin.bat when logging in as an Admin account. Any other user account it does not run the Checkin.bat. - lrroan1441 3 years ago

Answers (1)

Posted by: lrroan1441 3 years ago
White Belt
0
I finally got it working. I created a scheduled task that got imported during the removal of Citrix and before the reboot. I also dropped the CitrixInstall.txt file like Desktop Jockey suggested and created smart labels to automatically add devices to install Citrix after it finds the CitrixInstall.txt. The scheduled task runs the check in commands locally upon logon. So after the reboot, the user logs in, the scheduled task to check in the device starts, and after it checks in the PC adds itself to the Citrix Install label and pushes the install to the device.

Comments:
  • Sorry for the delayed response. I am glad you were able figure it out! - Desktop Jockey 3 years ago
 
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