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 开发者_JS百科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
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:
- Netdom Overview at Microsoft TechNet for more information about
netdom
精彩评论