This article was previously published under Q122857
3.50 3.51 4.00 WINDOWS kbtool
The RDISK utility included with Windows NT version 3.5 or later has twocommand line options:
When you use the RDISK /S option, the program skips the initial CreateRepair Disk? dialog box and goes directly into saving the configuration.
When you use the RDISK /S- option, the program also skips the Create RepairDisk? dialog box, saves configuration, and then the program quits.
WARNING PLEASE READ:
Both of these options also overwrite the saved SAM._ and SECURITY._registry hives created during initial Windows NT Installation. The defaultadministrator account and password used during Setup is all that iscontained in these small files.
If you choose either of the above optional switches - Rdisk copies theentire current SAM and SECURITY database files containing ALL users andgroups into the repair directory. On a domain controller containing manyhundreds or even thousands of users these files can become very large whichwill Inhibit the ability to copy them to the emergency repair diskette(ERD).
Be sure you have enough disk space when using either of these switches on Windows NT Machines and Domain Controllers that have a large number of users and groups defined.
As a precaution - you should make a backup copy of the %systemroot%\repairdirectory to ensure you will still be able to make an emergency repairdiskette after running RDISK while using one of the above switches.