Currently I have the unattend naming the computer randomly and also joining it to the domain. As a postinstall taskI am using WSName to change the name in the domain to the systems Service Tag (or Serial Number). 

I am having an issue with this process. Most of the time it works great. However, with a small number of machines it fails to rename the machine in the domain, and when you attempt to rename it manually it throws an error that the machine doesn't actually exist in the domain.

The workaround so far has been to manually unjoin and rejoin the offending machines. I would like to figure out an alternative way of doing this and hopefully avoid whatever issue is currently bugging up this process.

Is it possible to name the system by its service tag during one of the unattend passes? Google searches have revealed that this is readily possible when deploying with MDT, but I am using the K2000. 

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

3
Answered 10/11/2012 by: SMal.tmcc
Red Belt

Please log in to comment

Answers

2

Have you seen this? http://www.kace.com/support/resources/kb/article/How-to-rename-a-computer-and-join-it-to-a-Windows-domain-Image-Deployment

What switches are you currently using with WSname?

Answered 10/11/2012 by: dugullett
Red Belt

Please log in to comment
1

Alternatively you can use sql queries to do the same thing with this script.

http://www.itninja.com/question/name-machines-via-k1-with-k2-post-install-script

We've been doing it for ages now. We have different actions using this method, from naming the machine with the location and serial to naming with the owner username or aid tag. This makes your scripts very robust.

Answered 10/16/2012 by: Roonerspism
Second Degree Brown Belt

Please log in to comment
0

You can use wsname (as mentioned above) however there are many options to use. If you are having issues with domain joined PC's you could use /RCID for a pc that is joined to the domain in conjuntion with /deleteexisting to remove old computernames prior to renaming a pc to the same name.

Wsname also has a switch to add the computername  to an unattend if you have a sysprepped image using /unattend switch

Answered 10/15/2012 by: JonathonV
Blue Belt

Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share