Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Moveuser.exe on 300 PCs

Posted on 2004-08-30
7
Medium Priority
?
308 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
[X]
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
  • 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
Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

 

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

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

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

FIPS stands for the Federal Information Processing Standardisation and FIPS 140-2 is a collection of standards that are generically associated with hardware and software cryptography. In most cases, people can refer to this as the method of encrypti…
A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

661 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