How To Use Diskpart, CHKDSK, Defrag and Other Disk-Related Commands - Digital Citizen
How To Use Diskpart, CHKDSK, Defrag and Other Disk-Related Commands - Digital Citizen
related commands
What are drivers? What does a
driver do?
TUTORIAL by Codrut Neagu published on 12/04/2018 Share:
MISC Codrut Neagu 02.04.2021
One of the easiest and most straightforward ways to manage If you have used a computer, then you have probably
your disks is to use the Disk Management tool from Windows. heard about drivers However, do you know what a driver is
But hey, Disk Management is a visual tool and some of us like Moreover, what does it do that makes it so crucial to a
f
command-based interfaces a whole lot more. That is why we
thought it would be a great idea to see how several disk Best free file recovery software:
management actions can be done from the Command Prompt or PowerShell, using diskpart, chkdsk, Recuva vs. the competition
defrag, and other command-line tools. In this article we show you how to create, format, delete,
MISC Codrut Neagu 02.02.2021
THIS SITE USES COOKIES
hide and unhide, defragment and check your partitions for errors, directly from the Command In this
This site, like many others, uses small files called cookies to help us improve and customize your experience. Learn moreday andcookie
in our age, you can find many apps that promise
policy.
Prompt. Let’s get started: to help you recover deleted files It is great to have lots of
Choose cookies: Functional Analytics Marketing OK
options, but the question is, which programs are good at
Important aspects to consider before moving forward
To be able to perform any actions presented in this article, you need to have administrative rights
How to delete a page in Word (6
and run the Command Prompt or PowerShell as administrator. Read one of the following articles,
ways)
depending on what you want to use:
TUTORIAL Codrut Neagu 02.01.2021
10 ways to launch the Command Prompt in Windows
Microsoft Word is one of the best and most popular tools
9 ways to launch PowerShell in Windows (including as admin)
for writing and editing documents It’s also designed to be
It is also important for you to acknowledge the fact that, if you misuse the commands listed in this easy to use and offer an intuitive interface Be that as it
article, you risk losing your data. Be careful and make a backup of your data before going ahead. If
anything bad should happen, we did warn you!
POPULAR REVIEWS
1. How to use diskpart to create a partition from the Command Prompt
Security for everyone – Review
or PowerShell ESET Smart Security Premium
In Command Prompt or PowerShell, type diskpart to access the Windows tool called Diskpart.
REVIEW Codrut Neagu 01.26.2021
ESET develops many security products, both for consumers
and businesses, from one of the friendliest antiviruses for
home users, to large corporate security products designed
to use for creating a new partition. You can select the drive with the select command. To view the TP-Link Archer AX10 or TP-Link Archer AX1500 has a
different name depending on the country and the shop
available disks on your system, run the command list disk.
you buy it from However, it is the same router, with the
f
SEARCH
SUBSCRIBE
CATEGORIES OTHER
PRODUCTIVITY SUBSCRIPTION OPTIONS
Using diskpart to list the drives from a PC
SMARTHOME COOKIES
HEALTH CONTACT US
Using diskpart to select the disk on which the following commands are applied to
To create a new partition, you need to use the create partition command followed by the partition
type and size. Note that the list command used previously also displays the available free space on
each hard disk. Your partition must be of a size equal or less to the amount of available free space.
For instance, to make a new primary partition with the size of 10240 MB (10 GB), you must type
“create partition primary size=10240”. Use the same command and change the size according to
your needs and the available free space on your hard disk.
Please remember that before assigning a drive letter, you need to start Diskpart and select the disk
for which you want to assign the letter.
This command should be used after you start diskpart and select the disk that you want to format.
When you are done working with diskpart, type the exit command to close the program.
6. How to use chkdsk to check a drive for errors from the Command
Prompt or PowerShell
To check a disk for errors you have to use the chkdsk command. Type chkdsk followed by the
drive’s letter. We recommend that you always use this command in combination with the /f
parameter. This enables the tool to automatically fix any errors it finds.
As an example, we are scanning the R: drive for errors by typing chkdsk /f r: and pressing Enter. The
scan process starts immediately.
After the scan is finished you see a report similar to the one from the picture below.
This summarizes how much disk space the partition has, how many files are in use by the system,
how much free space is available on the disk, how many bad sectors were identified and so on.
The report includes information prior to the optimization process and after it was completed, like
the volume size, free space, total fragmented space, and the largest free space size.
Receive our daily newsletter. You may unsubscribe at any time. For details read the Privacy policy.
SUBSCRIBE!
Related articles
2 ways to resize a Two ways of deleting a 3 reasons to create How to change the
partition in Windows partition, in Windows, more than one partition letter of any drive or
(all versions) without third-party on your PC partition, in Windows
apps