Asher Posted May 16, 2013 Report post Posted May 16, 2013 Hi Guys, Under task sequence computers join domain however, they are not shifted to the correct OU. I am trying to do this: LDAP://OU=Win,OU=Corporate,OU=Workstations,DC=ngco,DC=com Any idea? thanks. Quote Share this post Link to post Share on other sites More sharing options...
0 anyweb Posted May 16, 2013 Report post Posted May 16, 2013 what does the netsetup.log file tell you it's in c:\windows\debug Quote Share this post Link to post Share on other sites More sharing options...
0 Jorgen Nilsson Posted May 17, 2013 Report post Posted May 17, 2013 Hi, " not shifted to the correct OU." does that mean that the computer account already existed? The domain join phase will not move any existing computer objects, you need to script that yourself, with something like this: http://ccmexec.com/2010/12/move-computer-to-the-correct-ou-during-deployment/ Regards,Jörgen 1 Quote Share this post Link to post Share on other sites More sharing options...
0 Asher Posted June 7, 2013 Report post Posted June 7, 2013 Hi, Took the script: This is what is happening now. I am trying to run this on task sequence as: cscript.exe “%deployroot%\scripts\moveou.vbs” “LDAP path with mentioning the LDAP:\\xx” Command comes as this: smswd.exe /run:lcc00123 cscript.exe “%deployroot%\scripts\moveou.vbs” “OU=xxxxxx” all good however, I am getting following error: exit code 80004005, running a command line under a user account is not supported in winpe I run the above with the package for the scripts which is replicated to DP: LCC00123 refers to the package folder. Under the task sequence I run it like this: run command: cscript.exe “%deployroot%\scripts\moveou.vbs” “LDAP path with mentioning the LDAP:\\xx” Brousing to package to run it from mentioned package where the moveou.vbs exists. run as user that has move rights on within ad. ._________________________________________________ I runned it like this on top of the computer running windows xp. cscript.exe “scripts\moveou.vbs” “LDAP path with mentioning the LDAP:\\xx” it worked fine. However task sequence is giving me: exit code 80004005, running a command line under a user account is not supported in winpe any idea? Quote Share this post Link to post Share on other sites More sharing options...
0 Asher Posted June 7, 2013 Report post Posted June 7, 2013 Sorry the path for LDAP is mentioned fine... my explaintion makes it confusion. script is runned like this: cscript.exe "%deployroot%\scripts\MoveOU.vbs" "OU=Win7,OU=Corporate,DC=xxx,DC=com" thanks for quick response. Asher Quote Share this post Link to post Share on other sites More sharing options...
0 Jorgen Nilsson Posted June 7, 2013 Report post Posted June 7, 2013 Hi, Where do you run it in the task sequence? it has to be run in the full Windows OS that would be after the "Setup windows and Configuration manager" step. Regards,Jörgen Quote Share this post Link to post Share on other sites More sharing options...
Hi Guys,
Under task sequence computers join domain however, they are not shifted to the correct OU.
I am trying to do this:
LDAP://OU=Win,OU=Corporate,OU=Workstations,DC=ngco,DC=com
Any idea?
thanks.
Share this post
Link to post
Share on other sites