|
Microsoft Windows 2000 Professional
See the
“Microsoft Knowledge Base Article – 227091”.
For the command line switches and options for:
Microsoft Windows XP Home Edition
Microsoft Windows XP Professional
See the
“Microsoft Knowledge Base Article – 314881”
Another set of useful command line switches are
The undocumented FDISK command line switches
Left undocumented by Microsoft in the original text,
these command line switches can be extremely useful in repairing a hard drive.
The undocumented switches in FDISK can be used to
replace or repair a Master Boot Record that has been corrupted or damaged or
Recreate the Master Boot Record on a specified disk.
CAUTION:Using FDISK to modify or delete
partitions on a hard drive renders all the data associated with that partition
unavailable.(However this is not the case if just replacing the MBR with /MBR
or /xMBR where x it the drive letter)
To run the FDISK utility:
FDISK [/X]
To display a summary of the partition structure on all
hard drives:
FDISK /STATUS
To create partitions without going through the standard
FDISK menus:
FDISK [/X] drive [/PRI:size] [/EXT:size]
[/LOG:size] [/PRMT | /Q]
To rewrite the Master Boot Record (without altering the
partition table information or losing any information!):
FDISK /MBR or FDISK /xMBR
/X Ignores extended disk-access support (LBA).
This switch may be needed if disk access or stack overflow errors occur
/MBR Re-writes the
Master Boot Record based on the current disk structure. This switch can be
used to repair a Master Boot Record that has been corrupted or damaged.
/PRI Creates a Primary Partition.
/EXT Creates an Extended Partition.
/LOG Creates a Logical DOS Volume in the
Extended Partition.
drive
The drive
number.
size
The size of
the partition (in MB or as a percentage of the available space).
/PRMT Prompts for action.
/Q Quiet - no messages displayed during
processing.
/ACTOK Do not check drive integrity - this can
improve the speed of FDISK.
/xMBR Recreate Master Boot Record on specified
disk(where x is the drive letter).
/FPRMT Allows you to use Fat32 on a <520MB Hard
Drive. (OEM & 98 VER. or better only).
The undocumented switches (/PRI, /EXT, and /LOG) can be
used from the command line or in a batch file and could be useful if a number
of new drives are to be prepared similarly.
Our
Staff is made up of all Microsoft®
and/or CompTia A+ Certified Technicians. Our Certifications Include
Microsoft Certified Database Administrator's, A+, Net+, Network
Support Specialists, Networking Systems Specialist, Computer/Network
Support Technician and More!
|