SoftGrid Preload App's

I saw this great piece of information on http://www.virtualapp.net/scripts.html and thought that this was a nice v1 script for loading application into cache. This script will check for and Preload only those SoftGrid applications currently not 100% in cache for the user.

Summary

Application pre-loading script that can be run on client machine in order to have all application packages for the user 100% cached.

This script will run through the list of application available to user and issue Load command against those ones currently not 100% cached. It will also take in the account that multiple applications/shortcuts might exists for one SoftGrid package so that load is not initiated more than once per package. This is done by reading through cached OSD's and identifying unique packages by GUID in <CODEBASE> element.

If script is not able to open cached OSD, this will usually indicate NTFS ACLs set inappropriately and as such error is logged by script if silent-mode is not in effect.

Requirements
  • Visual Basic scripting support enabled
    Download
  • SoftGridPreloadApps 1.1 - As VBS file (might be blocked by more aggressive content-filtering firewalls)
  • SoftGridPreloadApps 1.1 - As ZIP package
    (revision history)
    Usage
    You can execute script using either cscript.exe (runs in console-window) or wscript.exe (does not show console) by issuing command:
    cscript.exe //nologo ..path_to..\SoftGridPreloadApps.vbs
    wscript.exe //nologo ..path_to..\SoftGridPreloadApps.vbs
    This command can then be included in logon-scripts, Run-key in registry etc. to have it run when user logs on.

    Inside script, change variable called Silent to "True" (without quotation marks) to output status and error messages. This might not be wanted behaviour when running with wscript.exe as it will prompt dialog boxes to user for each and every message.

  • The World Simplified is a Virtual World : SoftGrid Preload App's

    Regards,
    Anthony

    Anthony Clendenen | System Engineer | 1E Inc.


    We are considered a premier SMS Solution Provider by Microsoft. See us at http://www.microsoft.com/smserver/partners

     

    "1E's tools add significant value to SMS in particular, around patch management, simplified branch designs and desktop migration. Having been a trusted Microsoft partner for five years, 1E's track record in consultancy and software solutions comes highly recommended."
    - Bill Anderson, Lead Product Manager, Enterprise Management Division, Microsoft

     

    I Recommend These Books!
    SMS 2003 Administrator's Reference: Systems Management Server 2003 -  SMS 2003 Recipes: A Problem-Solution Approach  -  Microsoft SMS Installer (Book/CD-ROM package)  -  Pro SMS 2003  -  Professional MOM 2005, SMS 2003, and WSUS  -  Start to Finish Guide to Distributing Software With Systems Management Server 2003  -  Microsoft Systems Management Server 2003 - Administrator's Companion

    And you can check out more books and gadgets at my Amazon store here.



    Trackbacks

    myITforum Newsletters :

    myITforum Daily Newsletter Daily Newsletter June 20, 2007 The myITforum.com newsletter is delivered Monday

    Link

    Comments

    No Comments