Deployment Solution

 View Only

Backing Up User Profiles Using a VBScript  

Mar 11, 2009 06:33 PM

In my earlier writings, I wrote a VBScript to copy files/folders to "User Profiles". In case you wanted to take backup of "User Profile" files/folders before you continue, this script will come in handy for you.

If there are more than one profile on the machine and you wanted to copy only certain folders like Desktop, My Documents, Favourites etc..., this script will copy the specified folders from User profile to the specified destination folder.

Scenario:

  1. There are more than one profile on the machine
  2. Wanted to backup three folders Desktop, Favourites and My Documents
  3. Destination folder [D:\Backup]

Following script is written keeping the above points in mind. You can modify the script according to your requirement.

Thanks,
Eshwar

License: AJSL
By clicking the download link below, you agree to the terms and conditions in the Altiris Juice Software License
Support: User-contributed tools on the Juice are not supported by Altiris Technical Support. If you have questions about a tool, please communicate directly with the author by visiting their profile page and clicking the 'contact' tab.

Statistics
0 Favorited
0 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
zip file
Backup_User_Profiles.zip   914 B   1 version
Uploaded - Feb 25, 2020

Tags and Keywords

Comments

Apr 01, 2010 02:32 AM

Dear Sir,
                 Many thanks for this tool

Mar 11, 2010 02:39 PM

Tutorial for Netbackup 6.5

Feb 18, 2010 06:59 AM

CAN U POST SCRIPT

Jun 07, 2009 10:40 AM

I like the script. With some added functionality it is of very good help.

Apr 29, 2009 05:01 AM

Thanks Eshwar,

I see you 3rd point only mentioned the location but nothing that the file must already be created. But thanks for the feedback, will have a look at the above script to restore the user profiles.
 

Apr 24, 2009 07:50 AM

Antonp,
sorry for the delayed response. I was busy with usual packaging stuff.

Yes, you need to create this folder before you run the script. I mentioned this as 3rd point under Scenaio. Otherwise you can also specifiy an existing folder instead of "D:\Backup". 

By the way, if you would like to place the files/folder back to the user profiles, tweak the following script to gtet the job done:

https://www-secure.symantec.com/connect/downloads/script-copy-filesfolders-all-user-profiles-machine

Thanks,
Eshwar

Apr 23, 2009 05:02 AM

Hi eshwar,

I had a look at your script, see that i need to create the destination folder first on my computer before the script runs without the runtime errors.

'===========================================================
'CHANGE SDESTINATION FOLDER PATH HERE
sPath = "D:\Backup"
'===========================================================

This folder seems to be created before the script works, otherwise nice script.

Apr 21, 2009 05:44 PM

Not saying it is a bad script, will come in handy for quick backup jobs of profiles. But what about using Altiris PC Transplant to backup a complete profile and all it's data and settings and restore the data if the pc has been re-imaged or crashed.  Also receive the runtime error and do not think the script would help when restoring the data to the correct folders?

Apr 08, 2009 10:06 AM

Checkout Backup_User_Profiles.zip  file. Unzip it and you will get the vbscript file.

Apr 07, 2009 10:51 PM

Please include runtime.... :)

Related Entries and Links

No Related Resource entered.