Solved

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

Posted on 2014-04-15
19
242 Views
Last Modified: 2014-04-23
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
Comment
Question by:tkgj11
  • 9
  • 9
19 Comments
 
LVL 11

Expert Comment

by:Manjunath Sullad
ID: 40001330
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
 
LVL 17

Expert Comment

by:Sikhumbuzo Ntsada
ID: 40001332
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
 

Author Comment

by:tkgj11
ID: 40001387
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
 
LVL 17

Expert Comment

by:Sikhumbuzo Ntsada
ID: 40001414
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
 

Author Comment

by:tkgj11
ID: 40003228
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
 
LVL 17

Expert Comment

by:Sikhumbuzo Ntsada
ID: 40003239
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
 

Author Comment

by:tkgj11
ID: 40003256
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
 
LVL 17

Expert Comment

by:Sikhumbuzo Ntsada
ID: 40003274
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
 

Author Comment

by:tkgj11
ID: 40003295
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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 17

Expert Comment

by:Sikhumbuzo Ntsada
ID: 40003302
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
 

Author Comment

by:tkgj11
ID: 40003391
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
 
LVL 17

Expert Comment

by:Sikhumbuzo Ntsada
ID: 40003552
That looks correct

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

Open in new window

0
 

Author Comment

by:tkgj11
ID: 40003580
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
 
LVL 17

Expert Comment

by:Sikhumbuzo Ntsada
ID: 40003591
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
 

Author Comment

by:tkgj11
ID: 40003635
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
 
LVL 17

Expert Comment

by:Sikhumbuzo Ntsada
ID: 40003963
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
 

Accepted Solution

by:
tkgj11 earned 0 total points
ID: 40005776
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
 
LVL 17

Expert Comment

by:Sikhumbuzo Ntsada
ID: 40005944
It will try and preserve security with those switches.
0
 

Author Closing Comment

by:tkgj11
ID: 40017022
These guys helped me out alot and i learned about robocopy and to find out it does work.

thanks team
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

In a previous article published here at Experts Exchange, Signature Image with Transparent Background (http://www.experts-exchange.com/Web_Development/Document_Imaging/A_12380-Signature-Image-with-Transparent-Background.html), I explained how to cre…
Online collaboration can help businesses be more efficient, help employees grow their skills and foster a team environment.
This video is the first in a two-part series that discusses PaperPort's "Send To Bar" feature . This first video tutorial explains the purpose of the Send To Bar, how to use it, and how to hide unwanted items that are automatically created on it whe…
This video is the second in a two-part series that discusses PaperPort's "Send To Bar" feature . The first video tutorial (http://www.experts-exchange.com/VP_207.html) explains the purpose of the Send To Bar, how to use it, and how to hide unwanted …

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now