DS 6.8 - Script to change computer names?

adamjamesdrake's picture

Hey guys, very new to Altiris, however I am learning slowly.

I am the CTX admin and therefore I own the hardware it runs on (HP Blades) anyways I am changing the naming scheme of all of my servers, is there a way I can implement Altiris to automate this process for me? If so can you help me on the actual process?

Thanks so much in advance, thanks guys!

barbrooks's picture

Me Too!

I am wondering the same thing. Any advice?
B. Brooks

B. Brooks

songs's picture

Name Change via Configuration Task

I'm not sure how large your server farm is but assuming a relatively small one, you can create and schedule a configuration task for each server from the Console; much easier than going to each Server and renaming manually; this also assumes you have the agent process running on the servers...

From the console:

1. Right-click on the target server and choose Configure.
2. Change the Computer name to the desired one and click OK.
3. Choose the job schedule that fits your needs and let it run.

Obviously a reboot will be in order but the configuration task will handle that for you.

HTH

p.s. you can also script this for larger numbers or additional automation but how often are you going to rename your servers; that is, is the extra time in scripting / testing better spent just repeating the steps above...I have a script for doing this...just need to find it...let me know...

asif01's picture

name change via Altiris script

we are having here +4000 clients (CE, XPE, WXP) all machines are already in DS, only have to generate a task\batch file to rename to the company standard and also how to rename the existing PCs DSname (the name which shows in allcomputers in DS)
does anyone has done it before? any script available?
Thanx in advance.

allywilson's picture

Will your naming scheme be

Will your naming scheme be based upon anything that will hinder sequential renaming? (e.g. custom barcodes?).

In the console, right-click on the folder containing your PCs (e.g. All Computers), click Configure...
Go to Microsoft Networking and then select Define Range...

Fixed Text: CompanyInitials
Range start: 1
Append:y
Result: CompanyInitials1, CompanyInitials2, etc, etc.