Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags:

Sponsored Links



dsmove failed

Active Directory


Reply
 
Thread Tools Search this Thread
  #1  
Old 16-01-2009
JC
 
Posts: n/a
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
Reply With Quote
  #2  
Old 16-01-2009
Augusto Alvarez
 
Posts: n/a
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


Reply With Quote
  #3  
Old 16-01-2009
JC
 
Posts: n/a
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

>

Reply With Quote
  #4  
Old 16-01-2009
Paul Bergson [MVP-DS]
 
Posts: n/a
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

>>


Reply With Quote
  #5  
Old 16-01-2009
Marcin
 
Posts: n/a
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

>>



Reply With Quote
  #6  
Old 18-01-2009
JC
 
Posts: n/a
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
> >>

>
>
>

Reply With Quote
  #7  
Old 18-01-2009
JC
 
Posts: n/a
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
> > >>

> >
> >
> >

Reply With Quote
  #8  
Old 19-01-2009
Paul Bergson [MVP-DS]
 
Posts: n/a
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
>> >>

>>
>>
>>


Reply With Quote
  #9  
Old 19-01-2009
Paul Bergson [MVP-DS]
 
Posts: n/a
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
>>> >>
>>>
>>>
>>>

>


Reply With Quote
  #10  
Old 20-01-2009
JC
 
Posts: n/a
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
> >>> >>
> >>>
> >>>
> >>>

> >

>
>

Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory


Thread Tools Search this Thread
Search this Thread:

Advanced Search


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


All times are GMT +5.5. The time now is 10:16 PM.