Jump to content

Recommended Posts

Posted

Hello..

 

We have a number of new machines running Win 7 Pro 64bit. All our old PC's are running Win XP Pro.

 

Our server is the original Windows 2008 32bit server (its not been updated).

 

The Win 7 stations have joined the domain, but after anybody logs on to the new PC's, back on the server their icon changes, and their username becomes "Documents"

 

Not a great problem with the users in the 'staff' area... their folder-name can be identified by properties/sharing. Its going to be a bigger problem for the staff to look at work in their class area and see 30+ "Documents" instead of j.smith j.jones etc etc

 

Simple fix?

 

Thanks

Posted
Short term fix I had right click on the description bar in explorer, select 'More' and choose Filename, that should now show the username as description...
Posted

 

Your best bet going forward is to bite the bullet and redirect their My Document/Documents to \\server\share\username\documents

 

Anybody got ideas on ways to then automatically copy everything from \username into \username\documents

 

Ben

Posted
Your best bet going forward is to bite the bullet and redirect their My Document/Documents to \\server\share\username\documents

 

This is how I did it, took a lot of time but in the end it is worth it.

Posted
This is how I did it, took a lot of time but in the end it is worth it.

 

Really? I scripted the move and left it overnight, done when i woke up.

Posted
Anybody got ideas on ways to then automatically copy everything from \username into \username\documents

 

Ben

 

I suspect RoboCopy is the answer but I am not expert enough to advise how to set it up for the copy :(

 

Any experts out there who can help?

 

Dave

Posted
Really? I scripted the move and left it overnight, done when i woke up.

 

I should of done that but I preferred to do it manually as it is important data. I now use AD Bulk User to do the change.

Posted
I should of done that but I preferred to do it manually as it is important data. I now use AD Bulk User to do the change.

 

That's to modify the ad account properties?

 

Ben

Posted
I should of done that but I preferred to do it manually as it is important data. I now use AD Bulk User to do the change.

 

Even more reason to script it, less likely to make a mistake

Posted
Even more reason to script it, less likely to make a mistake

 

Indeed. Thankfully everyone was completed successfully with no problems. Now that all of the students have been done, it's an easier process now.

Posted (edited)

You'll want something like:

 

(Danger Will Robinson, this is a destructive process if it goes wrong - do it on test directories until you're sure it'll behave and ensure your backup is good.)

 

The /L on the end means it won't actually do anything to the files, but still make sure it's doing what you want it to before feeding it the user_variable.

 

robocopy \\server\share\user_variable\ \\server\share\user_variable\Documents /E /MOVE /XD \\server\share\user_variable\Documents \\server\share\user_variable\other-folders-you-don't-want-to-move /XF \\server\share\user_variable\file-you-don't-want-to-move /LOG:filename.log /L

 

We're moving the userdir contents including empty directories, except for the Documents subfolder (which we'll create if it doesn't exist) and the other-folders-you-don't-want-to-move subfolder and the file-you-don't-want-to-move, logging everything to filename.log (which is local to wherever you kicked robocopy off from) and we're telling it to do a dry-run only.

Edited by pete

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...