Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 260
  • Last Modified:

is there a way to have users profile get stored on the file share automatically?

I would like to have about 10 users profile backed up and stored on my file share just in case the user computer crashes.

I noticed that I can use a group policy and folder direct to have a user profile go to a network drive, but I do not want to use a group policy...I just want to be able to backup users profile and have them automatically stored on a file share.
0
tkgj11
Asked:
tkgj11
  • 9
  • 9
1 Solution
 
Manjunath SulladTechnical ConsultantCommented:
If you configure Roaminf profile for these users, Profile will automatically saved to file server.

Below links will help you to configure roaming profile for users.

http://technet.microsoft.com/en-us/library/cc738596(WS.10).aspx

http://technet.microsoft.com/en-us/library/jj649079.aspx
0
 
Sikhumbuzo NtsadaSenior IT TechnicianCommented:
If all you want is a backup to a share drive, try Robocopy.

You would create a dedicated folder for each user and give full control, then copy the needed folders across.

Below is command I use to back up a certain folder to a share drive, you will then list all the folders you want and back them up.

Robocopy "C:\Program Files (x86)\Aastra" \\HP_NAS03\SAUOAS /e /r:2 /w:5

Open in new window

0
 
tkgj11Author Commented:
Sorry but im a lil throwed off a little. Ok I have 5 users and I want to copy their profile over to a network drive automatically. I have bill,sandy,john,terrance users account and I want each one of their profiles to copy over to my file share...So I could use a command to copy there profile automatically . my server name is mastermind mind...so I would do

Robocopy "C:\John\mastermind" ?
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
Sikhumbuzo NtsadaSenior IT TechnicianCommented:
Beware though that this is not a profile backup as per se, rather the contents or your profile.

If the user's PC were to crush you would still need to copy files across - whereas a roaming profile is automatic as suggest by the expert.

Unless you do not mind the manual work, then you would use it like:

Robocopy "C:\Users\Santasi" \\HP_NAS03\Santasi /e /r:2 /w:5 

Open in new window


This will work if the user is not logged on else it will fail to copy "NTUSER.DAT", "ntuser.dat.LOG1" files.
0
 
tkgj11Author Commented:
I am still lost guys. I was able to use group policy to map the drive, but i want to use the script. can someone please use my server name and users to show me an example
0
 
Sikhumbuzo NtsadaSenior IT TechnicianCommented:
C:\Users\Santasi >> this part is the user profile for "Santasi"
\\HP_NAS03\Santasi >> this part is the server hosting the backup, Santasi is the folder

Substitute the username "Santasi" with your user and change \\HP_NAS03 to your server and create a folder to keep the backup.
0
 
tkgj11Author Commented:
NTsada,

Do I need to create this on my win 8 client or on my server itself?

so far from your example this is what im coming up with:

C:\Users\John

\\mastermind\john

Where do I put this at?
0
 
Sikhumbuzo NtsadaSenior IT TechnicianCommented:
I am running the script from my computer.

Robocopy C:\Users\John \\mastermind\john

Open in new window


If you want to run it from the server, do the following:

Robocopy \\SA-CL01\C$\Users\Santasi \\HP_NAS03\Santasi

Open in new window


Save the file as script.bat and create a scheduled task to run it daily.
0
 
tkgj11Author Commented:
When I try to use the script on my computer it says the process cannot access the file because it is being used by another process?


error msg  32 0x00000020

smh, im always having problems.
0
 
Sikhumbuzo NtsadaSenior IT TechnicianCommented:
I mentioned that already "This will work if the user is not logged on else it will fail to copy "NTUSER.DAT", "ntuser.dat.LOG1" files"

Try it from the server and specify a user that is not logged on at the moment.

The idea is that the script will run after hours, you will get the user to log off first.
0
 
tkgj11Author Commented:
so how did you copy the profile from the computer then?

im going to try it from my server now, this is what im going to use:

Robocopy \\mastermind\C$\Users\john \\mastermind\john

Mastermind is the name of my server
Kenansville is the name of the computer
and john is the user, john has his account on the kenansville computer
0
 
Sikhumbuzo NtsadaSenior IT TechnicianCommented:
That looks correct

Robocopy \\Kenansville\C$\Users\John \\Mastermind\John

Open in new window

0
 
tkgj11Author Commented:
still didnt work for me, i think I am doing messing up something really simple here.. ok this is what i have here. im going to use my actual ppl and please tell me where I messed up. I created a folder on my server which is called Company , so then I open a new notepad and I type in  and make it a batch file.

Robocopy \\Kenansville\C$\Users\John \\mastermind\Company

Please tell me what I did wrong. I put company after mastermind because that is the folder I want it to go into on my server. Company is a network drive folder
0
 
Sikhumbuzo NtsadaSenior IT TechnicianCommented:
Specify the folder on the server side.

Robocopy \\Kenansville\C$\Users\John \\Mastermind\Company\John

Open in new window


Also the server must be logged on with an administrator account, else it will not be able to access the client computer.
0
 
tkgj11Author Commented:
Hey It worked!!!!

the only thing is now tho, it doesn't save the profile documents for john...like the things i store on the desktop for john and other documents. All it shows is his profile , but nothing inside, or none of his documents that was inside his profile. How do I fix that? .
0
 
Sikhumbuzo NtsadaSenior IT TechnicianCommented:
Hi I made little adjustment to the script, see below:

Robocopy \\Kenansville\c$\Users\John\ D:\Mastermind\Company\John\ /e /r:2 /w:5 

Open in new window


 I went ahead and tested it with a few errors because it cannot copy system Temp folder, not a train smash, it succeeded.
0
 
tkgj11Author Commented:
Hello,

That didnt work...this is what i did

Robocopy \\Kenansville\c$\Users\John\ E:\Mastermind\Company\John\ /e /r:2 /w:5

I Think I did it wrong, the script kept running non stop.

my E drive is for company so I put E in front of mastermind.

Can you tell me where you get /e /r:2 /w:5 from so I can make sure I am using the correct letter.
0
 
Sikhumbuzo NtsadaSenior IT TechnicianCommented:
It will try and preserve security with those switches.
0
 
tkgj11Author Commented:
These guys helped me out alot and i learned about robocopy and to find out it does work.

thanks team
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 9
  • 9
Tackle projects and never again get stuck behind a technical roadblock.
Join Now