Chat now with support
Chat with Support

KACE Systems Deployment Appliance 4.1 - Administrator Guide

About the KACE Systems Deployment Appliance (K2000) Getting started Using the Dashboard Configuring the K2000 Setting up user accounts and user authentication Configuring security settings Preparing for deployment Managing device inventory Using labels Creating a Windows Boot Environment Managing drivers Capturing images Capturing user states Creating scripted installations Creating a task sequence Automating deployments Performing manual deployments Imaging Mac devices About the Remote Site Appliance Importing and exporting appliance components Managing disk space Troubleshooting appliance issues Updating appliance software About us Legal notices Glossary

Add DiskPart Script

Add DiskPart Script

You can add and run a DiskPart script as a pre-installation task on a Windows device that has booted in to the K2000 Boot Environment (KBE) to erase all the data on a hard drive or partition, create new partitions, and assign drive letters.

For more information, see Common DiskPart command-line options.

1.
On the left navigation pane, click Library to expand the section, then click Pre-installation Tasks to display the Pre-installation Tasks page.
2.
Select Choose Action > Add DISKPART Script to display the Pre-installation Task Detail page.
3.
In Name, enter a name to identify this task. For example, Single NTFS Partition C.
The name is the identifier for the tasks that display on the Scripted Installation Detail and System Image Detail pages.
4.
In DISKPART Script, enter the script according to the partition that you are creating on the device, for example:

clean

create partition primary

select partition 1

active

assign

exit

5.
In Notes, add a note to identify the task.
6.
Click Save.

Common DiskPart command-line options

Common DiskPart command-line options

You can use DiskPart scripts to select objects, remove partitions for a disk, create a partition, make partition active, and to assign drive letters.

Selecting objects

Use the parameter n to specify the number of the object to select. You can also select Volumes by the drive letter, specified as d.

Cleaning a disk

Removes all partitions from a disk. The all parameter specifies that every sector on the disk is zeroed.

Creating partitions

Creates a primary, extended, or logical partition. If size is not specified, the partition consumes the remaining available space. If offset is not specified, the partition is created in the first available space. After the partition is created, it is selected.

Making the Boot partition

Marks the currently selected partition as the active or bootable partition.

Assigning drive letters

Adding post-installation tasks

Adding post-installation tasks

You can add the built-in post-installation tasks and use the Choose Action menu selections to add your own tasks to a script to run as a post-installation task. The appliance runs the task in the runtime environment that you specify. You can also upload a single file or a ZIP archive containing multiple files to run as a post-installation task. You can duplicate and customize the built-in tasks.

Add Application

Add Application

You can upload a single file or a ZIP archive containing multiple files to run as a post-installation task.

1.
On the left navigation pane, click Library to expand the section, then click Post-installation Tasks to display the Post-installation Tasks page.
2.
Select Choose Action > Add Application to display the Post-installation Task Detail page.
3.
In Name, enter a logical name for the task, such as Install Adobe Reader 11.
4.
Select a Runtime Environment. See About runtime environments.
5.
Next to Upload File, click Browse to select the appropriate file.
6.
In Parameter, enter the command-line parameters for the task.
7.
Select the Reboot Required check box to reboot the appliance and run the next task in the sequence.
8.
In Notes, add a note to identify the task.
9.
Click Save.
Related Documents