dsmove command produces no output
Hello everybody,
i have a problem with the dsmove command an a windows 7 client on our network.
I want to use the program to move the computer to a new OU within our active directory. This already worked with my admin pc which has all the remote administration stuff installed. Now i wanted to run this command on another freshly installed client on
the network.
so i copied the dsmove.exe to the c:\windows\system32 directory, opened a cmd prompt, pasted my command and all that dsmove produces is nothing. no error, nothing, it just writes 1 empty line and then goes back to a blank promt.
Did somebody ever had a similar problem and can tell me why this is happening?
best regards
Martin
June 27th, 2011 5:52am
You must run the dsmove command from an elevated command prompt. To open an elevated command prompt, click
Start, right-click Command Prompt, and then click
Run as administrator.http://www.virmansec.com/blogs/skhairuddin
Free Windows Admin Tool Kit Click here and download it now
June 27th, 2011 9:19am
You should run the dsmove command from the server
To move the user object for Kim Akers from the Sales organization to the Marketing organization, type:
dsmove "CN=Kim Akers,OU=Sales,DC=Contoso,DC=Com" -newparent OU=Marketing,DC=Contoso,DC=Comhttp://www.virmansec.com/blogs/skhairuddin
June 27th, 2011 2:24pm
I need to run it from the client (various reasons, dont want to go into details)
as i said, the command works smoothly from my computer (remote administration tools installed, windows 7)
Free Windows Admin Tool Kit Click here and download it now
June 27th, 2011 3:03pm
still no luck, dsmove simply produces NO output at all, not even an error.
June 28th, 2011 2:06am
Do you have RSAT TOOLS installed on windows 7 if now please install and give a try.
I believe RSAT tools are the prerequisite to run dsmove haven't really never tried from the client but still its just a thought
http://www.virmansec.com/blogs/skhairuddin
Free Windows Admin Tool Kit Click here and download it now
June 28th, 2011 2:27am
That works, after installing the remote administration tools für Windows 7 and activating the Windows Feature "AD DS Snap-Ins and Command Line tools" dsmove seems to work.
Some Details on what i want to do:
we have a mechanism that automatically installs new computers on the net with windows and some other software.
there is a problem that people forget to change the OU of the computer after the domain join, so that our GPOs wont work. To prevent that from happening i want to move the computer to some kind of dummy OU after the installation that has very tight restrictions
on what is available on the computer so that you basically cannot forget to change the OU.
My question: Is there some kind of standalone version of the dsmove tool or an alternative?
June 28th, 2011 2:59am
Hi,
As far as I know, no such standalone version of dsmove tool is available.
Regards,Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
June 29th, 2011 1:48am
Found a solution there is an alternative called admod (http://www.joeware.net/freetools/tools/admod/index.htm) which does the job.
June 29th, 2011 9:35am