The appliance includes two scripts to obtain or assign computer names: getcomputername and setcomputername. Each script has a 32- and 64-bit version. For more information about these scripts, visit https://www.itninja.com/blog/view/get-set-computername.
By default, the /log switch is added to the script command line, allowing the appliance to create a log file each time the script runs. You can also use the /debug switch if you want to see messages from the script at runtime.
These tasks work with sysprepped images (where an unattend file is specified) and with scripted Windows installations.
a. |
On the left navigation pane, click Library to expand the section, then click Pre-installation Tasks to display the Pre-installation Tasks page. |
b. |
On the left navigation pane, click Library to expand the section, then click Mid-level Tasks to display the Mid-Level Tasks page. |
c. |
On the left navigation pane, click Library to expand the section, then click Post-installation Tasks to display the Post-installation Tasks page. |
2. |
3. |
4. |
Under Select Architecture, choose the architecture of the device OS to which the naming rule applies: x64 (64-bit) or x86 (32-bit). |
a. |
6. |
Assigning computer name in mid-level or post-installation tasks only. The options provided in each task type are identical with the exception of the \in_windows switch, that only appears in post-installation tasks. |
a. |
▪ |
Set computer name to the current computer name: Leaves the computer name unchanged. |
▪ |
Prompt for the computer name: The /dialog switch is added to the contents of the Full Command Line, causing a dialog box to appear, prompting the user to specify the computer name. |
▪ |
Rename using variable replacement: The /name switch is added to the contents of the Full Command Line. Replace <TEXT_AND_VARIABLES> as needed, using a combination of text and the following variables, as required: |
▪ |
$Serial: The serial number of the client device. |
▪ |
$Make: The manufacturer of the client device or motherboard. |
▪ |
$Model: The model of the client device or motherboard. |
▪ |
$Chassis: The chassis type of the client device. |
▪ |
▪ |
$Asset: The asset tag of the client device. |
▪ |
$OS: The OS version of the client device (such as W7, WXP, W2K8, and so on). |
▪ |
$Arch: The OS architecture of the client device. |
▪ |
$Mac: The MAC address of the active NIC. |
▪ |
Rename using a data file: Uses a data file to rename devices. |
2. |
Attach the file to the task. Click Select file and specify the file, or drag and drop the file in the Drop file here area. |
3. |
Configure the contents of the Full Command Line field: |
▪ |
/rdf: The name of the newly created file. This switch automatically displays the name of the attached file. |
▪ |
▪ |
Rename using the SMA/K1 database: Uses the KACE Systems Management Appliance database to retrieve the contents of the host_name field for each device. This is indicated by the /k1mysql switch in the Full Command Line field. Additional identifiers are required. |
1. |
Verify that the access to the KACE Systems Management Appliance database is enabled. On the KACE Systems Management Appliance, go to Settings > Control Panel > Security Settings, and ensure Enable database access is selected. If the option is disabled and you enable it, you must reboot the KACE Systems Management Appliance before this change can take effect. For more information, see the KACE Systems Management Appliance Administrator Guide. |
2. |
In the Full Command Line field, supply information to the following switches: |
▪ |
/k1ipaddress: The IP address of the machine on which the KACE Systems Management Appliance is running. |
▪ |
/k1dbname: The name of the organization on the appliance. The default is ORG1. |
▪ |
/k1dbuser: The name of the user account on the appliance. The default is R1. |
▪ |
/k1dbpass: The user password. The default is box747. |
▪ |
Rename using the SDA/K2 database: Uses the KACE Systems Deployment Appliance database to retrieve device names. This is indicated by the /k2mysql switch in the Full Command Line field. |
▪ |
Verify that the access to the KACE Systems Deployment Appliance database is enabled. On the KACE Deployment Appliance, go to Settings > Security , and ensure Enable database access is selected. |
7. |
Post-installation tasks only. Select the Reboot Required check box to reboot the appliance and run the next task in the sequence. |
8. |
In Expected Return Code, enter a code that the task should return, if applicable. Otherwise, leave the default value of zero '0'. |
9. |
a. |
On the left navigation pane, click Library to expand the section, then click Pre-installation Tasks to display the Pre-installation Tasks page. |
b. |
On the left navigation pane, click Library to expand the section, then click Mid-level Tasks to display the Mid-Level Tasks page. |
c. |
On the left navigation pane, click Library to expand the section, then click Post-installation Tasks to display the Post-installation Tasks page. |
2. |
3. |
4. |
5. |
6. |
In Expected Return Code, enter a code that the task should return, if applicable. Otherwise, leave the default value of zero '0'. |
7. |
8. |
10. |
On the task detail page that appears, review the contents of the Full Command Line field, and make any changes, as required. |
11. |
If you made any changes to the command line, click Save, or click Cancel to return to the list page. |
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. |
On the list page that appears, select Choose Action > Add Provisioning Package to display the Post-installation Task Detail page. |
3. |
On the page that appears, in Name, enter a logical name for the task, such as My Provisioning Package. |
4. |
5. |
In Expected Return Code, enter a code that the task should return, if applicable. Otherwise, leave the default value of zero '0'. |
6. |
7. |
9. |
On the task detail page that appears, review the contents of the Full Command Line field, and make any changes, as required. |
10. |
If you made any changes to the command line, click Save, or click Cancel to return to the list page. |
The Service pack task runs in the Windows environment after booting in to the operating system.
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. |
3. |
◦ |
From the Service Pack drop-down list, select the service pack, and click Download Service Pack automatically. |
The Command Line field is automatically populated with the recommended parameters based on the service pack selection. If you modify this line, include the service pack filename.
◦ |
Select Upload Service Pack manually, and click Browse to upload the file. For more information, see About uploading files. |
NOTE: When you upload the service pack manually, in Parameters, enter the command-line parameters to run the service pack. |
5. |
6. |
7. |
In Expected Return Code, enter a code that the task should return, if applicable. Otherwise, leave the default value of zero '0'. |
8. |
9. |
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. 利用規約 プライバシー Cookie Preference Center