When double-clicking an OSD script, the default action is a standard edit using the OSD script interface. However, there is also an Advanced edit feature available by right-clicking on the script and selecting "Advanced edit"
Why use Advanced edit
When LANDESK creates OSD scripts, they are created with the most common and basic options for each imaging tool. Additionally, the process to prepare the computer is very generic. This is so that the basic scripts can work in the majority of cases and cover the most general and common imaging tasks. However, sometimes additional functionality is needed or a more complex series of actions is desired during the OSD task. In this case Advanced edit allows you to modify the OSD script manually to add any needed functionality or changes.
Using Advanced edit
OSD scripts are written using the LANDESK custom scripting language/tool. Information about using custom scripts can be found here: The specified item was not found.. When Advanced edit is selected, the associated scripts will open in the default text editor. In the case of a capture script a single .ini file will open. In the case of a deploy script, an ini and an inf will open. The ini is the OSD script and contains the commands that will be run on the targeted machine. The inf is the sysprep file that will be deployed. Once any changes to these files is saved the script has been modified and the changes will be reflected in the next execution of the script.
Important Note
If the script is opened in the regular edit OSD script interface and saved, any custom changes will be overwritten in the script with the default values and configuration!
If you would like to prevent changes from being made via the OSD script interface, thus protecting any changes made via Advanced edit, right-click the OSD script and select Disable edit. This will disable the standard edit and require all modifications to be made manually via Advanced edit. This cannot be undone, and edits can still be made manually. If you need to disallow any edits, set the ini file (found in \\core\ldmain\scripts) to read-only.