Client Management Suite

 View Only

Migrating Workstations Using Script via Deployment Server or Task Server 

Jun 15, 2010 02:50 PM

I had a request recently to migrate workstations at a client, but all that was needed was to add a prefix to the existing name.  I tried to do this via NS7, and Deployment Server 6.9, however neither of these utilities allowed the use of tokens I.E Prefix-%COMPNAME% or Prefix-%Name%.

In this case I have used the Microsoft Utility NETDOM.exe,which you can get from a Windows XP CD, to do the migration.  The script which I have attached is fully customisable to allow you to migrate the workstation names using NS, or DS.   You can extract the NETDOM.exe utility from any Windows XP CD \Support\Tools\Support.CAB.  Place it in a share which has accessible to all users (Read Only).  For more information on NETDOM.exe go to the link "http://support.microsoft.com/kb/298593"

The variables which can be set are as below.

Prefix=Prefix - This is the prefix you would like your computer to have, please bear in mind that a workstation name can not be longer than 15 characters, and Windows will automatically truncate the name should it be too long
AdminUser=Administrator@domain.com - This is an account which has access on both the workstation and domain to change the name of the workstation
AdminPwd=password - This is the password for the above administrative account
Share = Server\ShareName - This is the share where you have placed the NETDOM.EXE


Statistics
0 Favorited
0 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
doc file
changename_0.doc   767 B   1 version
Uploaded - Feb 25, 2020

Tags and Keywords

Related Entries and Links

No Related Resource entered.