Batch Script Help Pls.............

We are replacing Lenovo hardware with Dell. In the process of upgrading 150 users. I would like to use a script that can backup user profile data to USB stick and then use the script to restore backed up data from USB stick onto Dell machine.

This is what my users will do.

1. Use the script to backup their data to USB stick
2. After they get new Dell machine they will run the script to restore the files from the USB stick

All my users are currently on Lenovo T520 running Windows 7 Entp.

I am seeking help to create a script because, I do not have any scripting skills/knowledlge to complete above task. Appreciate, if any one can help me here.

When user run the script it should prompt for USERID, so that only data pertaining to the USERID are backed up. I don't want any other users data backed up.

Following are the folders/files that the script should backup to USB stick.

Is it possible to help me in creating a script to backup and restore the data.

All my users have 64GB USB stick. They will use USB stick to backup the data using the script and use the script to restore (from the USB stick back to c:\users) after, I give them DELL machine with Windows 7 and all apps installed.

As it seems to be that it's part of your income, means you're providing pro services, you should have the knowledge of How To.......!

That said, I wouldn't teach anybody how is in the service business for to create income. But I would like to give you some hint: Download the free version of MacroToolworks and take the time to teach your self how to create such scripts. It's not to difficult and you should have the technical understanding for to learn fast!

*****************************************************************************************************************************************
MDL is a Public Forum for to help each other.

Any PM send to me asking for private help, will be deleted immediately without prior notice, I'll maybe only answer if the writer send a working e-mail address!
Any inappropriate and/or accusing PM's will be reported to Admin directly!​

Stop hovering to collapse...Click to collapse...Hover to expand...Click to expand...

That said, I wouldn't teach anybody how is in the service business for to create income.

Click to expand...

You won't help someone asking for help only because he is going to create income. Hmm, that's pretty weird.
I have acquired a lot of knowledge here at MDL precisely for my job, which it happens to: create income!
I mean what is MDL forums for? Isn't just to get knowledge about computers independently what you do with that information?
And I'm pretty sure I'm not alone...

You won't help someone asking for help only because he is going to create income. Hmm, that's pretty weird.
I have acquired a lot of knowledge here at MDL precisely for my job, which it happens to: create income!
I mean what is MDL forums for? Isn't just to get knowledge about computers independently what you do with that information?
And I'm pretty sure I'm not alone...

Click to expand...

I do believe that it differs a bit if you like to make a bit money just with an 'hobby' instead of an pro services. For to doing pro services, I should have some knowledge already, a bit more than an average user has. In Reality, many users on this forum like to ask other to do the work for them instead of doing it on their own. Even if you show them 'just' the way how to, they will still expect the whole things done for them, not do on their own! There's some speech like: "Why I should do the work, why other do it for me free?" Easy way, isn't it?!

My company is doing such services and all my employees have that bit knowledge above the average users knowledge. How they get it? From real learning which requires quite a bit of own initiative, for sure more that just others on an Forum to ask for the 'How To....'! That's exactly why i shown a way to start with the 'How To....'!

I had posted many times on this forum what may be works for some problems. And I received many times answers which were everything but appropriate! That even were gone often into personally insulting and abusing. One of my hand it's much enough for to tell how many times I asked for help, on this forum! Same members who were question what I'd done, was send PM' and asked for the software I was talking about and using! Since some time I just delete such PM's and sure didn't answer! Why I should? To get even more insulted etc?! Look at the post in this thread of that member who also has monkey's as his picture and his speech about my post! I all times refrain from to attacking people in any means and try to be polite and objective as possible. "Never do to others, what you didn't like they do to you!"

I don't post much for some time now, but I'll never hide my real thinking and will speak that out all times, liked or not liked. If I just had posted my answer without to show a way of 'How To.....', that would had been unfriendly! And my post were not without to show a way out of his problem.

*****************************************************************************************************************************************
MDL is a Public Forum for to help each other.

Any PM send to me asking for private help, will be deleted immediately without prior notice, I'll maybe only answer if the writer send a working e-mail address!
Any inappropriate and/or accusing PM's will be reported to Admin directly!​

Stop hovering to collapse...Click to collapse...Hover to expand...Click to expand...

I do believe that it differs a bit if you like to make a bit money just with an 'hobby' instead of an pro services. For to doing pro services, I should have some knowledge already, a bit more than an average user has. In Reality, many users on this forum like to ask other to do the work for them instead of doing it on their own. Even if you show them 'just' the way how to, they will still expect the whole things done for them, not do on their own! There's some speech like: "Why I should do the work, why other do it for me free?" Easy way, isn't it?!

My company is doing such services and all my employees have that bit knowledge above the average users knowledge. How they get it? From real learning which requires quite a bit of own initiative, for sure more that just others on an Forum to ask for the 'How To....'! That's exactly why i shown a way to start with the 'How To....'!

I had posted many times on this forum what may be works for some problems. And I received many times answers which were everything but appropriate! That even were gone often into personally insulting and abusing. One of my hand it's much enough for to tell how many times I asked for help, on this forum! Same members who were question what I'd done, was send PM' and asked for the software I was talking about and using! Since some time I just delete such PM's and sure didn't answer! Why I should? To get even more insulted etc?! Look at the post in this thread of that member who also has monkey's as his picture and his speech about my post! I all times refrain from to attacking people in any means and try to be polite and objective as possible. "Never do to others, what you didn't like they do to you!"

I don't post much for some time now, but I'll never hide my real thinking and will speak that out all times, liked or not liked. If I just had posted my answer without to show a way of 'How To.....', that would had been unfriendly! And my post were not without to show a way out of his problem.

This is in response to pisthai. I am not offering pro service or a consultant or going to make money out of this project. I am helping the company where, I just performed iPhone 6 rollout and they were happy with my performance. Hence the I T Support Manager approached me and asked, if, I can help them with a script that would help them with the rollout.

By the way, I am in I T for some time and, I try to get all the help from Google before, I post any request anywhere on the NET. Please note nobody has absolute knwoledge on everything in I.T. It is a procees of learning and moving forward.

in fact after posting above request, I was able to get a sample PS script from TechNet forum and, I am working on it on how to get the script work the way, I want.

I want to thank others who have posted positive response and, I will definitely look into and get the script ready. I will be more than happy to share the script here for anybody to use later.

This is in response to pisthai. I am not offering pro service or a consultant or going to make money out of this project. I am helping the company where, I just performed iPhone 6 rollout and they were happy with my performance. Hence the I T Support Manager approached me and asked, if, I can help them with a script that would help them with the rollout.

By the way, I am in I T for some time and, I try to get all the help from Google before, I post any request anywhere on the NET. Please note nobody has absolute knwoledge on everything in I.T. It is a procees of learning and moving forward.

in fact after posting above request, I was able to get a sample PS script from TechNet forum and, I am working on it on how to get the script work the way, I want.

I want to thank others who have posted positive response and, I will definitely look into and get the script ready. I will be more than happy to share the script here for anybody to use later.

Click to expand...

I'll not set your answer in question, just tell, that your initial post were looking as I posted. Anyway, true or not, it's simply impossible to prove on the internet.

Sure, everything, from the day of birth till the day we pass the way, is a never ending cycle of learning. I classify my self as imperfect and like to be just that!

As there many ways to get to your destination, it's a fact an normal human intention to find the most easy way to go! That's maybe OK often but all times. In fact, many times the easy one isn't the best way! Special if it comes to the financial foundation of our lives, we should work out the 'How To ....' and not relay on the experiences and knowledge of others. OK, maybe I'm to old and the time I was going to school were completely different form this generation, so I didn't understand or have problems to understand the way the humans of this generation go. But the basics of life are not changed, or just very little.

Never mind, I always try to solve my problems myself without to use others. I would not take something as it's presented to me, without to check WHY I should use that and crosscheck those information in sight of several aspects. As I've to teach my stuff, I try to push them all times to take the way of learning and not just of taking from others. If I look how long my stuff is now working for my company and therefore for me, which is the youngest 7 years and the oldest 23 years, I do believe that I'm going just the right way.

Unfortunately, in the Cyber World of Internet, may things differs from the normal and daily life. A lot has an bad impact on the people. Even the information highway simplifies many things and there 99.9% of all needed infos are available, just need to be found, the same Internet isn't the best for the users at all! Many people may wouldn't understand what I'm meaning and such discussion is most time totally useless, here maybe too!

Anyway, anything what I wrote wasn't mean personally or an insult etc.!

*****************************************************************************************************************************************
MDL is a Public Forum for to help each other.

Any PM send to me asking for private help, will be deleted immediately without prior notice, I'll maybe only answer if the writer send a working e-mail address!
Any inappropriate and/or accusing PM's will be reported to Admin directly!​

Stop hovering to collapse...Click to collapse...Hover to expand...Click to expand...