Re: DSmove command line

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Al Mulnick (amulnick_No_SPAM_at_ncDOTrr.com)
Date: 05/26/04


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.
> > >
> > >
> >
> >
>
>



Relevant Pages

  • Re: ubuntu-users Digest, Vol 47, Issue 208
    ... Superuser confusion or maybe critically confused ... "Permissions" appears nowhere in Nautilus, so far as I can tell. ... I am attempting to learn to use command line. ...
    (Ubuntu)
  • Re: Isolate home directory shares
    ... I believe the command for one subfolder would be similar to: ... removes the inheritance flag but leaves existing permissions for the ... home directories are done with ADUC using profile tab: ...
    (microsoft.public.windows.server.general)
  • Re: File permissions?
    ... have to do it with root permissions, unless you want to change the ... This will open gedit with MyFile and the terminal isn't locked to it ... This redirects the output of the free -m command to the file MyFile. ... Personally I created my own alias ...
    (Ubuntu)
  • Re: File permissions?
    ... have to do it with root permissions, unless you want to change the ... This will open gedit with MyFile and the terminal isn't locked to it ... This redirects the output of the free -m command to the file MyFile. ... Personally I created my own alias ...
    (Ubuntu)
  • Re: Windows XP boots to background only, no start button, no icons
    ... I tried the cacls command for explorer.exe and it showed that users & power ... about not having the right permissions. ... but I can access my task manager. ... use your system CD to do a repair installation. ...
    (microsoft.public.windowsxp.general)