Question

I am searching for a way to switch between my home's workgroup and my work's Domain.

I am sure that it can be done with some commands in batch/python language but I have no idea how to do it...

I'll be happy to get some help.. I heard good things about this site, will be happy to see those things come true :)

Thanks, Amihay

Was it helpful?

Solution

Microsoft suggests that you use netdom. Note that the machine will have to restart (as it does whenever you change the workgroup).

For example, if you have a computer called mymachine that you want to switch the domain mydomain you would write:

netdom join mymachine /Domain:mydomain /reboot

See Also:

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top