Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法编写一个批处理文件,允许我在 Windows 7 机器上从域切换到工作组,然后在不使用 netdom 的情况下再次返回?我似乎无法在任何地方找到答案。
这是我的谷歌搜索发现的。
wmic.exe /interactive:off ComputerSystem Where name="%computername%" call JoinDomainOrWorkgroup FJoinOptions=3 Name="myDom.local" UserName="myDom\UsrName" Password="@passwrd!@" AccountOU="OU=MyClients;OU=MyOrg;DC=myDom;DC=local"