Do yourself a *big* favor and leave that registry patching path you're on. Your machine deployment was wrong from the very beginning, and you need to correct this as soon as possible. That will clear out the business with your antivirus software as well.
After ghosting a machine for deployment, you *have* to run Sysprep, if you don't want to run into further problems like you're experiencing now. In your case, go to each machine, remove it from the domain, run sysprep, reboot, finish the mini setup wizard (or provide an answer file).
How to Use Sysprep: An Introduction
http://www.microsoft.com/w
Windows XP Service Pack 1 Deployment Tools
http://www.microsoft.com/d
Main Topics
Browse All Topics





by: jzanettePosted on 2004-04-16 at 12:44:53ID: 10845482
You can do this using ONLY native commands using NTCmdLib.cmd, the Expert NT/2K/XP/K3 Command Library from TheSystemGuard.com.
\NTCmdLib. cmd /Init /Quiet INE\Softwa re\YourKey "
e\" with a commonly available share point for all the subject machines. re\YourKey " with the complete registry path to the key you want to delete.
This library provides three commands for Registry Keys.
.RegReadKey
.RegWriteKey
.RegDeleteKey
The syntax, in a shell script, would be
CALL \\Server\ReadOnlyShareName
SET "DeleteKey=HKEY_LOCAL_MACH
%.RegDeleteKey%
%.Call% /Unload
*******
Replace "\\Server\ReadOnlyShareNam
Replace "HKEY_LOCAL_MACHINE\Softwa
NOTE:
This is a VERY DANGEROUS command! Be careful and
MAKE SURE that you have set the DeleteKey variable to
the correct key. The subject key, including any subkeys
and all data will be immediately and irrevocably deleted.
*******
The Expert Library provides over 400 such commands using ONLY what is available in a default installation of Windows NT4SP6a, 2000, XP and Server 2003.
More info at (http://NTCmdLib.com)