General discussion

Locked

Batch File to Transfer Data - PC Swap

By JH_1 ·
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.

This conversation is currently closed to new comments.

4 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Batch File to Transfer Data - PC Swap

by JackOfAllTech In reply to Batch File to Transfer Da ...

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

Collapse -

Batch File to Transfer Data - PC Swap

by JackOfAllTech In reply to Batch File to Transfer Da ...

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

Collapse -

Batch File to Transfer Data - PC Swap

by JH_1 In reply to Batch File to Transfer Da ...

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.

Collapse -

Batch File to Transfer Data - PC Swap

by camcc591 In reply to Batch File to Transfer Da ...

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.

Back to Web Development Forum
4 total posts (Page 1 of 1)  

Related Discussions

Related Forums