Jump to content


Recommended Posts



what does the netsetup.log file tell you it's in c:\windows\debug

Share this post


Link to post
Share on other sites

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

  • Like 1

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...