Discussion Locked

Batch File to Transfer Data - PC Swap

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Can someone point me in the right direction to either find software or to guide me through creating a batch file that will back up registry entries and data from one computer, store it on the network, and then copy those files onto the new computer.I'm looking at doing that on Windows 2000 machines.

4 replies

by jackofalltech

Kixtart (free but sorry, no URL) can save (and reload) entire key structures. But it would take you longer to create the script than it would to just export the keys to .REG files manually. Give me some more details and I might be able to give youa better answer.

Ralph

by jackofalltech

There may be a program out there to backup individual keys but, if you're interested, I could write one to save ALL the keys under HKCU\Software EXCEPT \Microsoft to a .REG file. Let me know.

Ralph

by jh_1

Often, we get shipments in of 50 or more computers. After Ghosting them with a standard configuration, we bring the new machine to the users desk, manually save up all the critical files and settings, remove the old pc, install the new one, and movethe files back and settings onto the new machine. I should have gone into greater depth earlier. Sorry. Registry entries are only a part of what gets transfered out, others are Favorites, Desktop, and so on.

by camcc591

system.dat and user.dat are the actual repository of the registry information. For Win98, these two files are located in c:\windows. They are hidden, so be sure to enable seeing hidden files if you look for then.

If you want to copy hidden files from a batch file, use the xcopy command:
cd c:\windows >>c:\backup.log
xcopy c:system.dat f:System /h >>c:\backup.log
xcopy c:user.dat f:System /h >>c:\backup.log

The /h switch tells xcopy to copy hidden files. A regular DOS copy command will not copy hidden files.

Xcopy will also copy entire directories and their subdirectories - in theory. I use it occationally with Win98SE and have found that it does not catch all the subdirectories.

If batch files do not work for your application, you might try Windows Script files.

This discussion is closed to new replies.