Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Moveuser.exe on 300 PCs

Posted on 2004-08-30
7
304 Views
Last Modified: 2010-10-20
I am trying to incorporate Moveuser.exe into a script that will work for over 300 PCs on our network.  I tried using the variable %username% but that did not work, because it goes will use the username that is logged in.  Since you have to be logged into the PC with an account other than the one you are trying to copy, that will not work.  

Is there a way to use this command to move this many PCs, without having to type in each username into the command?

Or is there another command that will move user profiles?

Thanks,
Shane
0
Comment
Question by:SCP028
  • 4
  • 2
7 Comments
 
LVL 23

Expert Comment

by:rhandels
ID: 11934166
Hi,

If you need to move them from one domain into the other, you could use the ADMT (active Directory Migration Tool).
0
 

Author Comment

by:SCP028
ID: 11934366
Can you use ADMT on the local machine?
0
 
LVL 23

Expert Comment

by:rhandels
ID: 11934404
Not quite sure. I do beleive it is a "support" program of Server 2003. So i would say you could only use it on Server 2003
0
Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

 

Author Comment

by:SCP028
ID: 11934532
Yeah, I am looking for something that will allow me to move the user's local machine profile.
0
 
LVL 9

Accepted Solution

by:
jdeclue earned 250 total points
ID: 11944558
I will answer in this question as well. ;)

If you put this line in the current login script it will create a file with there username in it on the c:\ drive.

"echo %username% > name.txt"

And then before movuser.exe runs, put this in. It will read the name and set an environment variable called strname. So instead of calling %username%, you would use %strname%. This will give you the users account no matter who is logged in.


for /F " eol= tokens=*" %%S in (c:\name.txt) do (set strname=%%S&goto:forend)
:forend
echo strname=%strname%


J
0
 

Author Comment

by:SCP028
ID: 11948077
Now clue, if this doesnt work, you may get two knocks....  LOL :)

Hopefully this script does work.
0
 

Author Comment

by:SCP028
ID: 11954532
Clue,

The script worked like a charm.  I will be posting the script with the moveuser command incorporated into it, in a few hours.

Thanks again

Where did u learn how to script like that??
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
AD health monitoring 2 83
Error 0X800704C8 - Plex App 2 42
Vpn Server 2012 not working Draytek Vigor 2830 2 53
Need network only 1 user? 10 67
We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question