Re: DSmove command line
From: Al Mulnick (amulnick_No_SPAM_at_ncDOTrr.com)
Date: 05/26/04
- Next message: Eric Fleischman [MSFT]: "Re: ADAM proxy authentication + Old password still working after resetPassword"
- Previous message: Dmitri Gavrilov [MSFT]: "Re: ADAM proxy authentication + Old password still working after resetPassword"
- In reply to: Paul: "Re: DSmove command line"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 26 May 2004 17:08:39 -0400
Could be a lot of things I suppose. What about using the vb movehere
command?
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adsi/adsi/iadscontainer_movehere.asp
Or there's the super-simple vbscript here:
http://www.microsoft.com/technet/community/scriptcenter/compmgmt/scrcm33.mspx
Not sure if it will get around your limits though. Curious to hear if it
does.
Al
"Paul" <paul@dontemail.com> wrote in message
news:OO3WBzoQEHA.1620@TK2MSFTNGP12.phx.gbl...
> Al,
>
> Yes, that is the direction that I would like to go. That is, when the pc
is
> initially joined to the domain, it is put in the "orphaned" container.
I'd
> like to run a batch file from the affected pc that performs a "dsmove" and
> puts the computer account where it belongs. Since I can successfully
> perform this operation from a different pc (Computer Account located in
the
> proper OU, supplied with IDENTICAL credentials), I'm thinking that the
> problem isn't a permissions issue?
>
> Perhaps I'm asking for too much convenience?
>
>
> "Al Mulnick" <amulnick_No_SPAM@ncDOTrr.com> wrote in message
> news:%23uuoireQEHA.556@tk2msftngp13.phx.gbl...
> > Is it important to your solution that dsmove works from the machine
you're
> > moving? Wouldn't that be neat though? I mean, a machine that gets
moved
> > and can be the one to move itself at the same time?
> >
> > Seriously, have you checked permissions, GPO's etc? If this is just an
OU
> > you created, maybe you also created a permission set or GPO that doesn't
> > allow the move and you're just getting a crappy error message in return.
> >
> > Al
> >
> >
> > "Paul" <paul@dontemail.com> wrote in message
> > news:ug5Nu6bQEHA.2248@TK2MSFTNGP12.phx.gbl...
> > > I'm trying to move a computer acct in Windows 2003 AD using a command
> > line.
> > > The syntax used is:
> > >
> > > dsmove "cn=pcname,OU=Computers -
> > > Orphaned,DC=corp,DC=acompany,DC=net" -newparent "OU=Computers -
> > > Default,OU=LOC - City,DC=corp,DC=acompany,DC=net" -u username -p *
> > >
> > > While issuing using this command from a pc that is ALREADY a member of
> the
> > > domain, the dsmove command completes successfully. However, while
> issuing
> > > the SAME COMMAND from the pc that winds up in the "orphaned" container
> > > (already joined to the domain, has valid IP address, can ping the DC),
> the
> > > command errors out CONSISTENTLY with the following error message:
> > >
> > > "The specified domain either does not exist or could not be contacted.
> > > type dsmove /? for help."
> > >
> > > Any ideas why the same command has two different results? As always,
> any
> > > assistance would be greatly appreciated.
> > >
> > >
> >
> >
>
>
- Next message: Eric Fleischman [MSFT]: "Re: ADAM proxy authentication + Old password still working after resetPassword"
- Previous message: Dmitri Gavrilov [MSFT]: "Re: ADAM proxy authentication + Old password still working after resetPassword"
- In reply to: Paul: "Re: DSmove command line"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|