DOWNLOAD THE CODE:
Download the Code 93463.zip

 

Backing up the profiles on a remote computer is a simple two-step process:

  1. Open SavePC.bat (Listing 1) in a text editor such as Notepad. In the code at callout B, customize the BackupFolder variable's value. Make sure that your UNC path doesn't include unnecessary spaces before or after the UNC path. If desired, customize the /d: parameter's value (i.e., the maximum number of days a user profile can remain inactive before getting deleted) in the code at callout A. You don't have to change any other script settings.
  2. Open cmd.exe and navigate to the ProfileBackup solution's Backup folder. Type SavePC.bat followed by the name of the remote PC that contains the profiles you want to back up. For example, if you unzipped Profile-Backup on your E drive and you want to back up a computer named COMPUTER_OF_SIMON, the command would look like
    E:\ProfileBackup\Backup> 
      SavePC.bat 
      COMPUTER_OF_SIMON
    (Although this command appears on several lines here, you would enter it on one line in the command-shell window. The same holds true for the other multiline command in this article.)

Restoring profiles is also a two-step process:

  1. Open CopyPC.bat (Listing 2) in a text editor. Customize the Backup-Folder variable's value in the code at callout A. This is the only setting you need to customize in any of the restore scripts.
  2. Open cmd.exe and navigate to the ProfileBackup solution's Restore folder. Type CopyPC.bat followed by the name of the remote PC that contains the profiles you want to backup. For example, to restore the profiles on COMPUTER_OF_SIMON, the command would look like
    E:\ProfileBackup\Restore>
     CopyPC.bat
     COMPUTER_OF_SIMON

When you use the ProfileBackup solution, keep in mind the following:

  • To back up the profiles on a remote PC, you must be an administrator for that PC.
  • Administrative shares (e.g., C$, D$, ADMIN$) must be enabled on the remote PC.
  • The scripts assume that the remote PC's profile path is the default C:\Documents and Settings. If they're stored in another location, you can still use the solution if you customize the paths in SavePC.bat, DelTempFiles.vbs, and CopyPC.bat.
  • A profile shouldn't be in use when you're backing up and restoring profiles on the remote PC. Note that even though a computer might be at the logon prompt, a user's profile can still be in use by the OS. I recommend that you reboot the remote PC before starting the backup and restore operations, then leave the computer showing the logon prompt.
  • Like USMT, the ProfileBackup solution copies printer mappings, application shortcuts, and Outlook settings, but it doesn't copy printer drivers, applications, and Outlook .pst and .ost files that aren't stored in the user's profile folder. So, you must reinstall printer drivers and applications. You must also back up any .pst and .ost files outside profile's folder separately. Alternatively, you can move any misplaced .pst and .ost files to the profile folder on the remote PC before using the ProfileBackup solution. For example, if user named Simon has a .pst file stored in C:\mypst.pst, you can move that file to Simon's profile folder (or a subfolder), such as C:\Documents and Settings\Simon\mypst.pst.

A Time-Saving Solution
I used the ProfileBackup solution to successfully migrate the profiles on all 1500 PCs. I found that it works much faster than any Microsoft-provided tools. More important, you can run the solution remotely, so you don't have to physically visit each PC.

End of Article

Prev. page     1 2 [3]     next page -->



You must log on before posting a comment.

If you don't have a username & password, please register now.

Reader Comments

1. We seem to be missing three of the "supporting scripts", SaveProfile.bat, DelTemFiles.vbs, and SavePC.kix.

2. Does this work only work when the domain is the same?

3. Give us a break with the image text, you're presenting characters that aren't on the keyboard, do we ignore them, use what's close?

Jeff

lospinoj

Article Rating 2 out of 5

Where are the supporting scripts??

netdirtech

Article Rating 3 out of 5

Hi Jeff and netdirtech! I'm Simon, the author of the article. I see that there was some problem with publication of support scripts. I've contacted already Windows Scripting Solutions stuff to replace current zip file with the correct one, but for now, you can contact me freely by mail, simonz@extreme.co.il, and I'll provide you all the scripts needed for the solution.

As for the questions: I didn't test migrating solution across many domains, but I think it will work with the following conditions are true: if there is a dual trust between participating domains(so you can access each participating computer from another); user, running the scripts is administrator of both computers participating in the migration. As for the image text, I am sorry, but I don't understand what do you mean. Please, contact me by mail and I'll try to solve the problem.

Best wishes, Simon Zeltser.

simon130

Article Rating 4 out of 5

very nice

nickjo67

Article Rating 5 out of 5

Hi Simon,

I already send you an e-mail to ask if you could send me the zip file with the files needed for the solution. Could you please do do.

Thanks in advance Martin

mvanhautte

Article Rating 4 out of 5

Great setup Simon. Have you had any response from the website re: uploading the proper script package?

jeremyschubert

Article Rating 4 out of 5

Due to a production error, all of the downloadable files for this article weren't originally available. This problem has been corrected. Sorry for any inconvenience this might have caused.

chumphries@penton.com

Article Rating 5 out of 5

Article was getting useful but then it stops ( Because I needed to migrate the profiles on remote machines, using the wizard wasn't an option. . . .). Where is the rest of the article ?

tbkc3

Article Rating 3 out of 5

Good!

spneo

Article Rating 4 out of 5

Like the soution, very easy to understand what happens in each phase.

perezjonestsisah@yahoo.com

Article Rating 4 out of 5

the Listenings and the download code links are not working

TauberC

Article Rating 4 out of 5

ditto on the download code links. They aren't working.

tstam69

Article Rating 4 out of 5

What happened to the rest of this article? Is this a teaser or trailer? Can someone please repost this along with the scripts?

fengandy@yahoo.com

Article Rating 1 out of 5

 
 

ADS BY GOOGLE