netdom join more ou

背景:主机加域之后,自动加入到指定的ou里,ou是多层级。

报错:

The system cannot find the file specified.
The command failed to complete successfully.

看官方说明:https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/cc788049(v=ws.11)

 或者我理解有问题,正确写法是:/OU:"OU=bb,OU=aa,DC=xxx,DC=xxx" ,ou的写的顺序与组织顺序是反序才能成功。

猜你喜欢

转载自www.cnblogs.com/tengfei520/p/11807133.html