How to retain current computer name before reimaging
I have been struggling with this isssue for weeks. I'm currently want to reimage a whole lab of 30 computers with Altiris 7.1.
All I want to achieve is retaining current computer names before reimaging and renaming all computers with these names after reimaging. For example, I got Lab1-01, then I deploy the image on it. After that, use Altiris to rename it back to Lab1-01.
I created a client job which contains:
1. Reboot to PXE
2. Deploy Image
3. Reboot to Production
4. Apply configuration (Rename computers and join them to the domian)
I selected "Generate sysprep file using inventory data" in the deploy task, and I selected "Restore system configuration using inventory data" in the Apply Configuration task. It didn't work. The computers got the same name as the image instead of their previous names.
I also tried to select" Use a predefined system configuration" in the Apply Configuration task, and put the token"%compname%"in the computer name field. It didn't work as well.
All the jobs failed on the Apply Configuration task.
Anyone had the same problem or got any idea about this problem? I would appreciate it if anyone can share your experience and help me figure this out.