Quantcast
Channel: Ivanti User Community : All Content - OS Deployment and Provisioning
Viewing all articles
Browse latest Browse all 1803

How to maintain Device Name after Re-Imaging

$
0
0

Scenario:

 

In some environments, computer name should remain the same after the reimaging of the device. This article shows how to configure Provisioning template to achieve it and use one template for existing and brand new devices.

 

Configuration steps:

 

  1. Create a new template or modify existing one
  2. Add "IF" condition to Pre-OS Installation stage of Provisioning job
  3. Add "Compare Variable" to "IF" condition
  4. Set Variable to ldDeviceID and its value to Unassigned

New devices have no DeviceID so Device Name prompter used in next step replaces "LdHostname"  with the value from the Name template or Ask to provide name manually

deviceID.PNG

  1. Add "Device Name Prompter" action
  2. Choose "Name Template" or "LDHostName Variable"

devicename_prompter1.PNG

  1. Add "ELSE" condition to Pre-OS Installation stage of Provisioning job
  2. Add "Device Name Prompter" action
  3. Choose "LDHostName Variable"

Devices already existing in EPM have DeviceID assigned so Device Name prompter replaces "LdHostname" with the value from the database

devicename_prompter2.PNG

 

How to use Conditionals in LANDESK 2016 Provisioning: https://community.ivanti.com/docs/DOC-40464


Viewing all articles
Browse latest Browse all 1803

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>