|
| |||||||||
| Tags: dsmove |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| dsmove failed
I'm trying to move a user account to a new location however when runing the dsmove command it fails with an error stating that "The operation could not be performed because the object's parent is either uninstantiated or deleted". Can anyone tell me why this might be happaning or how I can set/update the parent object of the user account. Thanks JC |
|
#2
| |||
| |||
| Re: dsmove failed
What is the exact command line you are executing? -- augusto alvarez | it professional MCP - MCTS - MCITP DBA http://blog.augustoalvarez.com.ar/ "JC" <JC@discussions.microsoft.com> escribió en el mensaje de noticias:CE3EB45C-0DD6-4CFA-8D92-A73A9B45E169@microsoft.com... > I'm trying to move a user account to a new location however when runing > the > dsmove command it fails with an error stating that "The operation could > not > be performed because the object's parent is either uninstantiated or > deleted". > > Can anyone tell me why this might be happaning or how I can set/update the > parent object of the user account. > > Thanks > > JC |
|
#3
| |||
| |||
| Re: dsmove failed
I submitted the command as (I have substituted the exact names with examples) dsmove "cn=surname\, firstname,ou=ouname,dc=domain,dc=domain,dc=domain" -newparent ou=ouname,dc=domain,dc=domain,dc=domain the command has worked for nearly all of the users I need to move however there are just 2 left where this error occurs and the users account is not moved. "Augusto Alvarez" wrote: > What is the exact command line you are executing? > > -- > > augusto alvarez | it professional > MCP - MCTS - MCITP DBA > http://blog.augustoalvarez.com.ar/ > > > "JC" <JC@discussions.microsoft.com> escribió en el mensaje de > noticias:CE3EB45C-0DD6-4CFA-8D92-A73A9B45E169@microsoft.com... > > I'm trying to move a user account to a new location however when runing > > the > > dsmove command it fails with an error stating that "The operation could > > not > > be performed because the object's parent is either uninstantiated or > > deleted". > > > > Can anyone tell me why this might be happaning or how I can set/update the > > parent object of the user account. > > > > Thanks > > > > JC > |
|
#4
| |||
| |||
| Re: dsmove failed
I would attempt to just use the Active Directory Users and Computers within the mmc console. This will prevent any keying errors. Is there a reason why you don't just use ADUC? -- Paul Bergson MVP - Directory Services MCTS, MCT, MCSE, MCSA, Security+, BS CSci 2008, 2003, 2000 (Early Achiever), NT4 http://www.pbbergs.com Please no e-mails, any questions should be posted in the NewsGroup This posting is provided "AS IS" with no warranties, and confers no rights. "JC" <JC@discussions.microsoft.com> wrote in message news:3725276F-A7BD-4FE1-8E27-1DB04E63FE7D@microsoft.com... >I submitted the command as (I have substituted the exact names with >examples) > > dsmove "cn=surname\, firstname,ou=ouname,dc=domain,dc=domain,dc=domain" > -newparent ou=ouname,dc=domain,dc=domain,dc=domain > > the command has worked for nearly all of the users I need to move however > there are just 2 left where this error occurs and the users account is not > moved. > > "Augusto Alvarez" wrote: > >> What is the exact command line you are executing? >> >> -- >> >> augusto alvarez | it professional >> MCP - MCTS - MCITP DBA >> http://blog.augustoalvarez.com.ar/ >> >> >> "JC" <JC@discussions.microsoft.com> escribió en el mensaje de >> noticias:CE3EB45C-0DD6-4CFA-8D92-A73A9B45E169@microsoft.com... >> > I'm trying to move a user account to a new location however when runing >> > the >> > dsmove command it fails with an error stating that "The operation could >> > not >> > be performed because the object's parent is either uninstantiated or >> > deleted". >> > >> > Can anyone tell me why this might be happaning or how I can set/update >> > the >> > parent object of the user account. >> > >> > Thanks >> > >> > JC >> |
|
#5
| |||
| |||
| Re: dsmove failed
JC - any chance you have a typo? Have you tried piping output of dsquery (using the -name "surname, firstname" attribute) into dsmove to avoid it? hth Marcin "JC" <JC@discussions.microsoft.com> wrote in message news:3725276F-A7BD-4FE1-8E27-1DB04E63FE7D@microsoft.com... >I submitted the command as (I have substituted the exact names with >examples) > > dsmove "cn=surname\, firstname,ou=ouname,dc=domain,dc=domain,dc=domain" > -newparent ou=ouname,dc=domain,dc=domain,dc=domain > > the command has worked for nearly all of the users I need to move however > there are just 2 left where this error occurs and the users account is not > moved. > > "Augusto Alvarez" wrote: > >> What is the exact command line you are executing? >> >> -- >> >> augusto alvarez | it professional >> MCP - MCTS - MCITP DBA >> http://blog.augustoalvarez.com.ar/ >> >> >> "JC" <JC@discussions.microsoft.com> escribió en el mensaje de >> noticias:CE3EB45C-0DD6-4CFA-8D92-A73A9B45E169@microsoft.com... >> > I'm trying to move a user account to a new location however when runing >> > the >> > dsmove command it fails with an error stating that "The operation could >> > not >> > be performed because the object's parent is either uninstantiated or >> > deleted". >> > >> > Can anyone tell me why this might be happaning or how I can set/update >> > the >> > parent object of the user account. >> > >> > Thanks >> > >> > JC >> |
|
#6
| |||
| |||
| Re: dsmove failed
I don't think it was a typo but i will try piping output from ds query if it happens again. Paul - I'm not using the ADUC console because the users need to move into a new domain and the console only appears to let you move users to new OU's within the same domain. "Marcin" wrote: > JC - any chance you have a typo? Have you tried piping output of dsquery > (using the -name "surname, firstname" attribute) into dsmove to avoid it? > > hth > Marcin > > "JC" <JC@discussions.microsoft.com> wrote in message > news:3725276F-A7BD-4FE1-8E27-1DB04E63FE7D@microsoft.com... > >I submitted the command as (I have substituted the exact names with > >examples) > > > > dsmove "cn=surname\, firstname,ou=ouname,dc=domain,dc=domain,dc=domain" > > -newparent ou=ouname,dc=domain,dc=domain,dc=domain > > > > the command has worked for nearly all of the users I need to move however > > there are just 2 left where this error occurs and the users account is not > > moved. > > > > "Augusto Alvarez" wrote: > > > >> What is the exact command line you are executing? > >> > >> -- > >> > >> augusto alvarez | it professional > >> MCP - MCTS - MCITP DBA > >> http://blog.augustoalvarez.com.ar/ > >> > >> > >> "JC" <JC@discussions.microsoft.com> escribió en el mensaje de > >> noticias:CE3EB45C-0DD6-4CFA-8D92-A73A9B45E169@microsoft.com... > >> > I'm trying to move a user account to a new location however when runing > >> > the > >> > dsmove command it fails with an error stating that "The operation could > >> > not > >> > be performed because the object's parent is either uninstantiated or > >> > deleted". > >> > > >> > Can anyone tell me why this might be happaning or how I can set/update > >> > the > >> > parent object of the user account. > >> > > >> > Thanks > >> > > >> > JC > >> > > > |
|
#7
| |||
| |||
| Re: dsmove failed
getting this error again and have now tried piping a dsquery output to the dsmove command and still get the failure error. Any further suggestions? "JC" wrote: > I don't think it was a typo but i will try piping output from ds query if it > happens again. > Paul - I'm not using the ADUC console because the users need to move into a > new domain and the console only appears to let you move users to new OU's > within the same domain. > > "Marcin" wrote: > > > JC - any chance you have a typo? Have you tried piping output of dsquery > > (using the -name "surname, firstname" attribute) into dsmove to avoid it? > > > > hth > > Marcin > > > > "JC" <JC@discussions.microsoft.com> wrote in message > > news:3725276F-A7BD-4FE1-8E27-1DB04E63FE7D@microsoft.com... > > >I submitted the command as (I have substituted the exact names with > > >examples) > > > > > > dsmove "cn=surname\, firstname,ou=ouname,dc=domain,dc=domain,dc=domain" > > > -newparent ou=ouname,dc=domain,dc=domain,dc=domain > > > > > > the command has worked for nearly all of the users I need to move however > > > there are just 2 left where this error occurs and the users account is not > > > moved. > > > > > > "Augusto Alvarez" wrote: > > > > > >> What is the exact command line you are executing? > > >> > > >> -- > > >> > > >> augusto alvarez | it professional > > >> MCP - MCTS - MCITP DBA > > >> http://blog.augustoalvarez.com.ar/ > > >> > > >> > > >> "JC" <JC@discussions.microsoft.com> escribió en el mensaje de > > >> noticias:CE3EB45C-0DD6-4CFA-8D92-A73A9B45E169@microsoft.com... > > >> > I'm trying to move a user account to a new location however when runing > > >> > the > > >> > dsmove command it fails with an error stating that "The operation could > > >> > not > > >> > be performed because the object's parent is either uninstantiated or > > >> > deleted". > > >> > > > >> > Can anyone tell me why this might be happaning or how I can set/update > > >> > the > > >> > parent object of the user account. > > >> > > > >> > Thanks > > >> > > > >> > JC > > >> > > > > > > |
|
#8
| |||
| |||
| Re: dsmove failed
I am totally unaware of any program that will simply move users from one domain to another, this includes dsmove. I have no experience if this does this. I would be curious to see your command line that does it. Because I went and reread the documentation and there is no mention of domain to domain functionality. From Microsoft: a.. Dsmove.exe This tool moves any object from its current location in the directory to a new location (provided that the move can be accommodated in a single domain controller) and renames an object without moving it in the directory tree. -- Paul Bergson MVP - Directory Services MCTS, MCT, MCSE, MCSA, Security+, BS CSci 2008, 2003, 2000 (Early Achiever), NT4 http://www.pbbergs.com Please no e-mails, any questions should be posted in the NewsGroup This posting is provided "AS IS" with no warranties, and confers no rights. "JC" <JC@discussions.microsoft.com> wrote in message news:1EF5EFE5-CE9F-4C40-A169-1496738C9A72@microsoft.com... >I don't think it was a typo but i will try piping output from ds query if >it > happens again. > Paul - I'm not using the ADUC console because the users need to move into > a > new domain and the console only appears to let you move users to new OU's > within the same domain. > > "Marcin" wrote: > >> JC - any chance you have a typo? Have you tried piping output of dsquery >> (using the -name "surname, firstname" attribute) into dsmove to avoid it? >> >> hth >> Marcin >> >> "JC" <JC@discussions.microsoft.com> wrote in message >> news:3725276F-A7BD-4FE1-8E27-1DB04E63FE7D@microsoft.com... >> >I submitted the command as (I have substituted the exact names with >> >examples) >> > >> > dsmove "cn=surname\, firstname,ou=ouname,dc=domain,dc=domain,dc=domain" >> > -newparent ou=ouname,dc=domain,dc=domain,dc=domain >> > >> > the command has worked for nearly all of the users I need to move >> > however >> > there are just 2 left where this error occurs and the users account is >> > not >> > moved. >> > >> > "Augusto Alvarez" wrote: >> > >> >> What is the exact command line you are executing? >> >> >> >> -- >> >> >> >> augusto alvarez | it professional >> >> MCP - MCTS - MCITP DBA >> >> http://blog.augustoalvarez.com.ar/ >> >> >> >> >> >> "JC" <JC@discussions.microsoft.com> escribió en el mensaje de >> >> noticias:CE3EB45C-0DD6-4CFA-8D92-A73A9B45E169@microsoft.com... >> >> > I'm trying to move a user account to a new location however when >> >> > runing >> >> > the >> >> > dsmove command it fails with an error stating that "The operation >> >> > could >> >> > not >> >> > be performed because the object's parent is either uninstantiated or >> >> > deleted". >> >> > >> >> > Can anyone tell me why this might be happaning or how I can >> >> > set/update >> >> > the >> >> > parent object of the user account. >> >> > >> >> > Thanks >> >> > >> >> > JC >> >> >> >> >> |
|
#9
| |||
| |||
| Re: dsmove failed
Well I have to take this back on the move between domains, what was I thinking. There is a program specifically written for movement (migration). You can use ADMT as part of a migration and that is what you should be using if you are going from domain to domain. -- Paul Bergson MVP - Directory Services MCTS, MCT, MCSE, MCSA, Security+, BS CSci 2008, 2003, 2000 (Early Achiever), NT4 http://www.pbbergs.com Please no e-mails, any questions should be posted in the NewsGroup This posting is provided "AS IS" with no warranties, and confers no rights. "Paul Bergson [MVP-DS]" <pbbergs@nopspam_msn.com> wrote in message news:%23c3hoijeJHA.6012@TK2MSFTNGP02.phx.gbl... >I am totally unaware of any program that will simply move users from one >domain to another, this includes dsmove. I have no experience if this does >this. I would be curious to see your command line that does it. Because I >went and reread the documentation and there is no mention of domain to >domain functionality. > > From Microsoft: > a.. Dsmove.exe > This tool moves any object from its current location in the directory to a > new location (provided that the move can be accommodated in a single > domain controller) and renames an object without moving it in the > directory tree. > > -- > Paul Bergson > MVP - Directory Services > MCTS, MCT, MCSE, MCSA, Security+, BS CSci > 2008, 2003, 2000 (Early Achiever), NT4 > > http://www.pbbergs.com > > Please no e-mails, any questions should be posted in the NewsGroup This > posting is provided "AS IS" with no warranties, and confers no rights. > > > "JC" <JC@discussions.microsoft.com> wrote in message > news:1EF5EFE5-CE9F-4C40-A169-1496738C9A72@microsoft.com... >>I don't think it was a typo but i will try piping output from ds query if >>it >> happens again. >> Paul - I'm not using the ADUC console because the users need to move into >> a >> new domain and the console only appears to let you move users to new OU's >> within the same domain. >> >> "Marcin" wrote: >> >>> JC - any chance you have a typo? Have you tried piping output of dsquery >>> (using the -name "surname, firstname" attribute) into dsmove to avoid >>> it? >>> >>> hth >>> Marcin >>> >>> "JC" <JC@discussions.microsoft.com> wrote in message >>> news:3725276F-A7BD-4FE1-8E27-1DB04E63FE7D@microsoft.com... >>> >I submitted the command as (I have substituted the exact names with >>> >examples) >>> > >>> > dsmove "cn=surname\, >>> > firstname,ou=ouname,dc=domain,dc=domain,dc=domain" >>> > -newparent ou=ouname,dc=domain,dc=domain,dc=domain >>> > >>> > the command has worked for nearly all of the users I need to move >>> > however >>> > there are just 2 left where this error occurs and the users account is >>> > not >>> > moved. >>> > >>> > "Augusto Alvarez" wrote: >>> > >>> >> What is the exact command line you are executing? >>> >> >>> >> -- >>> >> >>> >> augusto alvarez | it professional >>> >> MCP - MCTS - MCITP DBA >>> >> http://blog.augustoalvarez.com.ar/ >>> >> >>> >> >>> >> "JC" <JC@discussions.microsoft.com> escribió en el mensaje de >>> >> noticias:CE3EB45C-0DD6-4CFA-8D92-A73A9B45E169@microsoft.com... >>> >> > I'm trying to move a user account to a new location however when >>> >> > runing >>> >> > the >>> >> > dsmove command it fails with an error stating that "The operation >>> >> > could >>> >> > not >>> >> > be performed because the object's parent is either uninstantiated >>> >> > or >>> >> > deleted". >>> >> > >>> >> > Can anyone tell me why this might be happaning or how I can >>> >> > set/update >>> >> > the >>> >> > parent object of the user account. >>> >> > >>> >> > Thanks >>> >> > >>> >> > JC >>> >> >>> >>> >>> > |
|
#10
| |||
| |||
| Re: dsmove failed
Paul you are quite right dsmove doesn't work with accounts that need to be moved between domains. I had originally been using a vbscript to move the users ad account and mailbox. I got an error from the server when attempting to move certain users so tried using the dsmove tool. I have found today that the user accounts would not move to another domain because they were members of a global group. After removing them from the global group my vbscript works but dsmove still doesn't - as by design. I was not aware of the ADMT tool but will download and have a look. Hopefully I will be able to use that instead of my script. Thanks for the advice. JC "Paul Bergson [MVP-DS]" wrote: > Well I have to take this back on the move between domains, what was I > thinking. There is a program specifically written for movement (migration). > You can use ADMT as part of a migration and that is what you should be using > if you are going from domain to domain. > > -- > Paul Bergson > MVP - Directory Services > MCTS, MCT, MCSE, MCSA, Security+, BS CSci > 2008, 2003, 2000 (Early Achiever), NT4 > > http://www.pbbergs.com > > Please no e-mails, any questions should be posted in the NewsGroup This > posting is provided "AS IS" with no warranties, and confers no rights. > > > "Paul Bergson [MVP-DS]" <pbbergs@nopspam_msn.com> wrote in message > news:%23c3hoijeJHA.6012@TK2MSFTNGP02.phx.gbl... > >I am totally unaware of any program that will simply move users from one > >domain to another, this includes dsmove. I have no experience if this does > >this. I would be curious to see your command line that does it. Because I > >went and reread the documentation and there is no mention of domain to > >domain functionality. > > > > From Microsoft: > > a.. Dsmove.exe > > This tool moves any object from its current location in the directory to a > > new location (provided that the move can be accommodated in a single > > domain controller) and renames an object without moving it in the > > directory tree. > > > > -- > > Paul Bergson > > MVP - Directory Services > > MCTS, MCT, MCSE, MCSA, Security+, BS CSci > > 2008, 2003, 2000 (Early Achiever), NT4 > > > > http://www.pbbergs.com > > > > Please no e-mails, any questions should be posted in the NewsGroup This > > posting is provided "AS IS" with no warranties, and confers no rights. > > > > > > "JC" <JC@discussions.microsoft.com> wrote in message > > news:1EF5EFE5-CE9F-4C40-A169-1496738C9A72@microsoft.com... > >>I don't think it was a typo but i will try piping output from ds query if > >>it > >> happens again. > >> Paul - I'm not using the ADUC console because the users need to move into > >> a > >> new domain and the console only appears to let you move users to new OU's > >> within the same domain. > >> > >> "Marcin" wrote: > >> > >>> JC - any chance you have a typo? Have you tried piping output of dsquery > >>> (using the -name "surname, firstname" attribute) into dsmove to avoid > >>> it? > >>> > >>> hth > >>> Marcin > >>> > >>> "JC" <JC@discussions.microsoft.com> wrote in message > >>> news:3725276F-A7BD-4FE1-8E27-1DB04E63FE7D@microsoft.com... > >>> >I submitted the command as (I have substituted the exact names with > >>> >examples) > >>> > > >>> > dsmove "cn=surname\, > >>> > firstname,ou=ouname,dc=domain,dc=domain,dc=domain" > >>> > -newparent ou=ouname,dc=domain,dc=domain,dc=domain > >>> > > >>> > the command has worked for nearly all of the users I need to move > >>> > however > >>> > there are just 2 left where this error occurs and the users account is > >>> > not > >>> > moved. > >>> > > >>> > "Augusto Alvarez" wrote: > >>> > > >>> >> What is the exact command line you are executing? > >>> >> > >>> >> -- > >>> >> > >>> >> augusto alvarez | it professional > >>> >> MCP - MCTS - MCITP DBA > >>> >> http://blog.augustoalvarez.com.ar/ > >>> >> > >>> >> > >>> >> "JC" <JC@discussions.microsoft.com> escribió en el mensaje de > >>> >> noticias:CE3EB45C-0DD6-4CFA-8D92-A73A9B45E169@microsoft.com... > >>> >> > I'm trying to move a user account to a new location however when > >>> >> > runing > >>> >> > the > >>> >> > dsmove command it fails with an error stating that "The operation > >>> >> > could > >>> >> > not > >>> >> > be performed because the object's parent is either uninstantiated > >>> >> > or > >>> >> > deleted". > >>> >> > > >>> >> > Can anyone tell me why this might be happaning or how I can > >>> >> > set/update > >>> >> > the > >>> >> > parent object of the user account. > >>> >> > > >>> >> > Thanks > >>> >> > > >>> >> > JC > >>> >> > >>> > >>> > >>> > > > > |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "dsmove failed" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DSMove Not Working | ahmad.abbadi | Active Directory | 4 | 24-02-2011 09:12 AM |
| dsquery pipe to dsmove | dpav | Active Directory | 10 | 23-02-2010 11:06 PM |
| Failed to access the metabase, error code is 80080005 (Server execution failed). | ggrin75@gmail.com | Small Business Server | 3 | 22-10-2008 02:37 AM |
| SBS 2003 Update with SP2 failed: "Failed to install catalog files | kglauner | Windows Update | 0 | 28-01-2008 10:55 AM |
| Connection to database failed. Reason=Login failed for user '(null | wadmhi | Server Update Service | 10 | 18-06-2005 01:51 AM |