Blog Posts tagged with K2000 post-imaging

Ask a question

Capture/Deploy a Mac image from Start to Finish in K2000 version 3.4

Note: If you are new to the K2000 or are new to deploying images to Macs, I strongly suggest you also viewing Corey Serrins article related to imaging for both Windows and Mac systems. There is a 33 minute video session containing both environments. The Mac capture and deploy process described in the below steps are provided on the walk through video, showing you every step of the process which will help set you at ease for the task at hand.  Here is the link to Corey's article:

http://www.itninja.com/blog/view/kace-native-imaging-toolkit-k2000-v-3-4-only

Prior to starting the process of capturing a Mac image from a system, please make sure you are on the latest version of the Mac OS X for the system and also have the latest Macintosh CD. Only version 3.4 on the KBOX supports Lion (Mac OS X 10.7) so if this is the version you plan on capturing, please make sure the K2000 is on version 3.4.

If you plan on using the captured image on different platforms of Mac, then it is also recommended to run a clean up script on the machine you plan on capturing the image from that will remove the cached KEXT files associated to the Mac OS X and its current system. Click Here to view an example of this type of clean up script. When the image is ready, follow these steps:

  1. Log in to the K2000 appliance.
  2. Click Library>Download Manager.
  3. Click Download for Mac OS X.

  4. Install.
  5. Insert the Mac OS X installation CD, but close out the installation pop up window.

Then next process is to build a Netboot environment. To do this, follow these steps:

  1. Log in as admin to the Mac OS X system you plan on capturing the image from. The Mac OS X system must be on the same subnet as the K2000.
  2. Open the Media Manager you just installed.
  3. Click the Create Netboot Image tab.
  4. In the K2000 Host Name field, enter the host name or IP address of the appliance.
  5. Browse to and select the Mac OS X installation disc.
  6. In the NetBoot Password field, enter the VNC-Remote Control Application password.
  7. Confirm password.
  8. Click Start Build.

When this completes, the NetBoot environment can be found on the Source Media and Boot Environments page. To enable and configure the K2000 appliance NetBoot server, follow these steps:

  1. Log in to the K2000 admin console.
  2. Navigate to Settings & Maintenance>Control Panel>Network Settings.
  3. Click Edit.
  4. Click the Enable NetBoot Server (for Mac OS X client) check box.

  5. After making this selection, two BSDP field boxes will appear. Set the BSDP settings. (The settings used in the above screenshot are examples)
  6. Save.

The next step requires working with both Pre/Post install tasks. By default, there are some canned Pre/Post install tasks provided within the K2000 in relation to Macs.  However, custom Pre/Post install tasks can be created if a canned version is not available for the task you need to be performed during the image process. To setup the Pre/Post install tasks, follow these steps:

  1. Log in to the K2000 admin console.
  2. Navigate to Deployments>System Images. Your newly created system image will appear here. Select it. A System Image Detail page will appear.


  3. Drag and drop your Pre and Post installation tasks from the right columns to the left columns in the order of which you want the tasks to take place.  If you are only planning on using the default Preinstallation Tasks given, the order must be:

  4. Save.

(optional) If you plan on creating custom Pre/Post installation tasks, follow these steps prior to adding them to the order on the System Image Detail page:

  1. Log in to the K2000 console.
  2. Navigate to Library and select either the Preinstallation Tasks tab or the Post Installation Tasks tab.
  3. Select Choose Action>Add New Shell Script.
  4. Based on the tab chosen either a Preinstallation or Post Installation Task Detail page will appear.
  5. Glance over to the right side of the page (often overlooked).  Information in creating a custom pre/post installation task is not found in the manual but is found in this section. The right side discusses where to find documentation related to creating a custom task.
  6. By default, your shell script must begin with #!/bin/bash. Build the rest of your custom script based on the tutorial content found from the link provided for Bash Programming.
  7. Whe finished with the shell script, save it. Then switch back over to your System Image Detail page to find your custom task. Below is an example of a Custom Post Installation task for changing the computer name after they system has been imaged.

NOTE:  Custom Pre/Post installation tasks are normally not a supported feature provided by KACE Support. KACE Support will attempt best effort in trying to resolve an issue with a custom designed Pre/Post installation task, however if you want KACE Support to create one for you then this type of service request would be handled by Dell KACE Pro-Services. 

Now you are able to NetBoot and image a Mac system. If you would like to view the image process from start to finish, press CMD and V (verbose mode)on the Mac in question. Click Here to view other articles related to the above information and troubleshooting NetBoot/Imaging issues.

To capture the image, NetBoot the Mac unit you plan on taking the image from.  It will bring you to what would look like a very basic user interface with a very small number of choices on a Dock.

Click on the K2000 Image Utility App in the Dock to launch the application and the utility will appear.

Select the Capture Image tab in the utility. Select the appropriate volume to capture (most often Macintosh HD) and select Start Capture in the bottom right corner.  When complete, the image is now ready to deploy.  To deploy the image, NetBoot the Mac unit(s) you would like to deploy to. Access the same utility only select the Deploy Image tab.



NOTE: Not all Mac systems can be upgraded to Lion (10.7.X) if you are in fact trying to image an older Mac computer with Lion. Make sure the Mac system meets the requirements found in this article that Apple has made available on their website. Click Here

View comments (7)

Get Image Date - Post Install

I have a post install task running to get the image date of the machine. I thought I would share in case it benefited anyone else. I know the K2 has reports, but if it has been months since that image it sometimes can be a little challenging.

First create your Powershell script. I saved this one as "image_date.ps1".

$file= "C:\ProgramData\Dell\Cust_Logs\image_date.txt"

$path= "C:\ProgramData\Dell\Cust_Logs"

Function imagedate {get-date |out-file $file
}
if(Test-Path $path)
{imagedate}
else
{mkdir $path|
imagedate}

Get-Content $file |select -Skip 1| Set-Content "$file-temp"

move "$file-temp" $file -Force


Create a post install to run this task.

Create your custom inventory rule.

After the next inventory the image date will show in the custom inventory.

View comments (3)

How to Deploy Flash in k2000

I am able to install Flash Player from k1000 but when I try and install from post installation task on the k2000 it will not install. Any clues as to what might be goin on. Anyone????

View comments (4)

WSNAME download link.

You may download WSNAME version 2.96 at the link below.

 

Download WSNAME Here.

 

Be the first to comment

K2000 Deployment Workbench

K2 Advisor

  • An .html overview of your SDA (version 3.6 and higher) that can identify issues and link to appropriate KB articles.

KBE Manipulator

  • Allows for manipulation of KBE that is uploaded to your K2000, including assigning static IP, adding ADSI, ODBC, DCCTK, Command | Configure, .Net4, Powershell, adding custom DOS commands, or uploading custom .wim/.iso's.

Sysprep Creator Wizard

  • Walks user through creating an unattend file for Windows 7/8/10

Driver Feed Builder

  • Harvest or extract executible drivers and upload to the K2000.

Get/Set ComputerName

  • Allows saving of computername from workstations or apply new names.
Kace Streaming WIM Toolkit
  • Toolkit that allows deployment of K2000 captured wims to be streamed
Default Deploy
  • Script that allows deployment of a default image/scripted install to machines
Export Wi-Fi Profiles
  • Script that will export profiles and .zip them up with a script to deploy them with a K1 or K2
Driver Feed Advisor
  • Script to show the driver feed path of a workstation, via the K1000 or K2000
Upgrading to Windows 10
  • Tasks that provide a solution to upgrading a workstation to Windows 10 using the K2000
USMT 10 loadstate fails when deploying Windows 7
  • A script that will copy the files necessary into USMT so that a Windows 7 deployment is successful with loadstate

Set Autologon Count

  • Change the autologon count in an unattend file of a sysprepped image

Task Timeout Modification Script

  • Modify the task timeout period of each task on version 3.6 or higher.
Using the K2000 UltraVNC during Windows Post Install Tasks - See more at: http://www.itninja.com/blog/view/using-the-k2000-ultravnc-during-windows-post-install-tasks#sthash.ZdF4KBXW.dpuf

Using the K2000 UltraVNC during Windows Post Install Tasks

  • Be able to remote into Windows during Windows PO Tasks
Dismiss Windows 7 Scripted Install Error in WinPE4 and WinPE5
  • Pre Installation task that will dismiss the errors when deploying a Windows 7 SI with WinPE4/5

Disable the DPInst Reboot for Windows 7 or higher Images that use driverfeed

  • disables the reboot for dpinst since it is not needed for Windows 7 or higher
Using the K2000 UltraVNC during Windows Post Install Tasks - See more at: http://www.itninja.com/blog/view/using-the-k2000-ultravnc-during-windows-post-install-tasks#sthash.ZdF4KBXW.dpuf

Kace Appliance Package Export Report

  • Creates an .html report of exported packages.

Linux Deployment Toolkit for 3.5 SP1 and 3.6

  • Allows for the deployment of linux kickstart

Automatically Naming a Macintosh Computer using the K2000

  • A script that behaves similarly to wsname for Windows.

Maintain KUID of a Macintosh System using the K2000.

  • capture the kuid of a Macintosh system and put it back to the workstation as a midlevel task.

Screen Resolution Changer

  • A script to either maintain screen resolution from each workstation, or assign a new one.
View comments (1)
Showing 1 - 5 of 27 results

Top Contributors

Talk About K1000 Service Desk