How can I change
the name of workgroup
the machine IP adress
the DNS adress
the gateway adress
the subnet mask
on standalone machine using VBS script or Batch file?
1/2 hour of googling did not help.
Page 1 of 1
Workgroup name change... How can I change it via script?
#3
Posted 21 March 2004 - 05:09 AM
the netsh command line tool can change ip / subnet / dns / wins settings
Nigel
Nigel
#4
Posted 21 March 2004 - 05:37 AM
XP pro
I suppose it should be irrelevant anyway, whether pro or home.
Thanks for netsh...
And changing workgroup?
C'mon, not a single vbs guru here?
I suppose it should be irrelevant anyway, whether pro or home.
Thanks for netsh...
And changing workgroup?
C'mon, not a single vbs guru here?
#5
Posted 21 March 2004 - 07:19 AM
You can change all the values with Registry settings.
I did that at work with W2K it works perfectly.
I am at work again at 28th of march, i got holidays unfortunately
i can post the settings then.
I did that at work with W2K it works perfectly.
I am at work again at 28th of march, i got holidays unfortunately
i can post the settings then.
#6
Posted 21 March 2004 - 07:35 AM
I got this one too...sometimes, to resolve a problem, all you need is a good sleep
I downloaded a tool called NETDOM.EXE, but not the newest one, you need specifically the version 1.8 that is a part of Microsoft Windows NT4 resource kit. You can download it here This version is the last one, that supports workgroup name change.
In Microsoft, they don't care about workgroup much more these days, only AD, those little sneaks....
it took me one hour to find out...
I put it into c:\windows\system32 folder
and used a following syntax in commandline
netdom member \\computername /joinworkgroup newworkgroupname
THANX ballsup for netsh..it works perfectly.
As I said in other thread before, I hope somebody will find this usefull...
I downloaded a tool called NETDOM.EXE, but not the newest one, you need specifically the version 1.8 that is a part of Microsoft Windows NT4 resource kit. You can download it here This version is the last one, that supports workgroup name change.
In Microsoft, they don't care about workgroup much more these days, only AD, those little sneaks....
I put it into c:\windows\system32 folder
and used a following syntax in commandline
netdom member \\computername /joinworkgroup newworkgroupname
THANX ballsup for netsh..it works perfectly.
As I said in other thread before, I hope somebody will find this usefull...
#7
Posted 21 March 2004 - 08:01 AM
That is a nice find, but my question is why not do it when you istall your OS?
#8
Posted 21 March 2004 - 12:44 PM
Because this one is a specialized installation that requires to be installed and partly configured in network #1, and than, it is physically moved to various another locations - network #2 to #7 as a cloning master. And since it is not possible for me to travel to these locations, for each of these locations there is a preconfigured script, that contains literally hundreds of settings and reg changes and configs, in a form of a "magic button" (it really is one button - a shortcut to a that script).
They just run the appropriate button and everything will be done for them incl. that workgroup.
They just run the appropriate button and everything will be done for them incl. that workgroup.
Share this topic:
Page 1 of 1



Help
Back to top








