Maelstorm Posted May 22, 2006 Posted May 22, 2006 (edited) Is there a way to set the workgroup and DNS domain suffix from the command line? Edited May 23, 2006 by Maelstorm
cancerface Posted May 22, 2006 Posted May 22, 2006 Hi, I wrote a small tool that can change the workgroup and the netbios name. The details can be found in this thread. Although my tool provides a GUI you can use a timeout option to make it work unattended.I think you can change the workgoroup using WMI from a command prompt (not tested):wmic ComputerSystem Set Workgroup= "NewWorkGroup"There is also a utility called compname.exe which changes the computer name but I am not sure if it changes the DNS suffix or just the NetBIOS name.Hope this helpsCF
Maelstorm Posted May 23, 2006 Author Posted May 23, 2006 (edited) Thanks for the reply.After I posted, I found some code on Microsoft's website that I can write into an application to do what I want. I'll post it here when I finish it. My final goal with this is to have a system where you have an ini file on a floppy and then have a program read that ini file and make the changes. One DVD for many computers, but each one needs it's own floppy though.I guess it works kinda like your tool, but mine will not be interactive. Edited May 23, 2006 by Maelstorm
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now