Diskpart: support for memory cards, USB sticks or hard drives. Shvidke formatting a flash drive through the command line Preparing the disk to work

Antipyretic remedies for children are prescribed by a pediatrician. But there are situations of indispensable help for fevers, if the child needs to give faces negligently. Then the fathers take on themselves the resuscitation and stop the antipyretic preparations. What can be given to infants? How can you lower the temperature in older children? What are the most safe faces?

It often trapleyaetsya, scho shochasnyh kom'yuterіv can't flop the drive. It is often difficult to call out, especially if it is necessary to install the program from installation disk. Most of the time, the problem is caused by the installation or re-installation of the Windows operating system on such a computer. To get rid of such problems, it is suggested to create zavantazhuvalny usb-storage, which will perform all functions exactly like an installation disk.

To create an exciting usb storage device, or sometimes it is also called an exciting flash drive for the help of the cmd command line, it is necessary to use a simple algorithm for two stages. At the first stage, the choice of the standard utility under the name diskpart.

How to use diskpart

Creation of an exciting flash drive through the console utility diskpartє shvidky i accessible way. Zavdyakov to the fact that this utility works in text mode, skin koristuvach personal computer easily run into such challenges.

With a swedish development of technologies, skin people are accessible on the Internet, you can know no-cost versions different programs for creating an exciting flash drive. However, it’s important to know that access to the Internet is available through any kind of furnishing, it’s important to know the sprat of simple alternative ways the creation of an avant-garde flash nakopichuvach.

One of them is a description method, which zastosovuє command line. Such a manual method will become useful for skin corystuvach PC. This console utility enter before the list standard programs. There is no need to dodatkovo shukati and install whether or not other programs from the installation of an exciting flash drive. For ten minutes, diskpart vikoristanya is ready flash drive with the Windows installation file.

Prepare a flash drive for help diskpart

diskpart- not console system program, scho to enter the Windows warehouse, through the yaku it is possible to zdіysnyuvaty disks, partitions and volumes with a path of direct command entry.

The creation of an avant-garde flash-capacity for the help of the command row will be shown in person. As an example, the Windows 8 operating system will be used. On other versions of the Windows operating system, such as Windows 7 or Windows 10, the process will be identical.

Before the cob it is necessary to work plug in portable drive or flash drive or another znimny nose to the computer. Such an attachment was given a name as a flash-accumulator.

Then press the keys Win + X or right-click the mouse in the lower left corner of the screen. For quiet, who else knows what the Win button is supposed to be:

Select the menu item " Command line (administrator)».

How is it better for you to call out? Vikonati"for help Win + R, then you can work like this, in vіvshi vіknі, scho vіdkrilos" cmd» and pressing OK . Tsі dії cause a similar result.

At the end, type diskpart and press the Enter key.

Obviously, it’s more convenient that the need to create a flash drive is not from the operating system, but from a clean command line for an hour to restart the PC.

Then it is necessary to enter the data in the same way, as shown in the little box below. After the skin command is entered, press the Enter key.

  • list disk– a list of available disks will be displayed;
  • select disk#- zam_st # enter the number of the disk, which is a flash-accumulator, vіn i will be vantazhuvalny (on the butt the disk is numbered 1); retrieving a USB flash drive from other disks is easy;
  • clean- the disk will be cleared, all previous information will be deleted
  • create partition primary– a special division is being created
  • active– split to activate
  • format fs=ntfs quick- the disk will be formatted
  • assign- will be assigned to the disk name and it will be assigned a connection point
  • exit- the operation is completed. Get out of the command line.

The first stage of the creation of an exciting flash drive is completed.

Copy files to flash drive

The next stage will be copying installation files programs on a flash drive. It is necessary to copy all the files according to the existing structure and directories.

It can be done by using standard Windows tools like "Explorer". What do you want because of others possible reasons if you want to help the same command row, then in which you will be helped by the following commands:

  • Fixed copy command " robocopy”, On the view of the old “copy” you can copy the attachments of the folder with the minimum amount. As the first argument of the command, take the path to the files that are being copied, and the other - the path to the folder, in which the copy of the files will be copied. To copy nested folders, you need to add a third argument. /E”, otherwise only the files will be copied. For example, to copy all the files from disk f to a flash drive with g: you need to enter the command: robocopy f:\ g:\ /E
  • The command to copy files " copy”, having scrambled, you can only copy files (folders can be created manually with the “md” command). As the first argument of the command, take the path to the files that are being copied, and the other - the path to the folder, in which the copy of the files will be copied. To give an understanding command that you want to copy not just one file from the father, but all files, enter the *.* code into the file.
  • Change disk command, the format is: DISK: . Tobto. To go to the "D:\" drive, you need to enter the following command: d:
  • To choose a catalog, ordering from the current paps, enter cd <имя директории>for example: cd win10
  • To switch to upper rive file hierarchy enter cd \
  • To go to the father's folder, write cd.
  • To view the list of files in the stream folder, enter dir
  • To create a folder, run the command md <имя папки>

Knowing the meaning of commands is enough to successfully copy files to a USB flash drive.

The axis will look like this for copying the installation files, zapping on the disk d:\win10 and flash drives with the name "G:\". Preparation and launch robocopy:

After one hour, these files will be successfully copied:

The most lucrative flash drive is for installing or re-installing the operating system. Depending on the capacity of the drive, you can use a virtual DVD drive and an image file.

When installing the operating system from an advanced flash drive, it is necessary to change the settings in the BIOS so that the computer starts itself through this attachment.

Video on the topic

DiskPart - a tool for working with disks, partitions and volumes in the operating room Windows systems. For the help of DiskPart, you can perform such important operations as changing disk types, creating partitions and volumes, and configuring RAID arrays. Krim tsgogo, DiskPart serve to set up automatic mounting of new disks in file system, for recognition of drive letters and paths connected mesh disks. However, DiskPart has no options for formatting disks. For which wines, the FORMAT command is invoked.

Launching the DISKPART utility

DiskPart works with physical hard disks installed on the computer. CD/DVD drive, remember your nose otherwise, flash memory cards that are connected to USB ports are not supported. The first step is to select the DiskPart commands, it is necessary to override, and then select the disk, split it, or you want to work it out, for transferring it to your focus. If the disk has been split and is known to the focus, be it the Disk-Part commands to pour itself onto the disk, split the volume.

Basic DISKPART Commands

For redistribution of available disks, distributions and volumes, the following commands are recognized:

  • list disk- Pererahovuє all physical hard disks of the computer;
  • list volume- redevelop all disk volumes (including the right hard drive and logical disks);
  • list partition- pererahovu divided on the disk, which is known to the focus.

When choosing list commands, the list is assigned to a disk, a volume or a partition, a slash (*) appears at the focus. You select a disk, volume, or divided by its number or drive letter, for example disk 0, partition 1, volume 2 or volume D.

When you're done with DiskPart, type exit at the DiskPart command line to return to the standard command line.

Use DiskPart Whiskers

To understand how to work with DiskPart, let's look at the next butt, deactivate DiskPart, rediscover available disks, and restore focus to disk 2.

  1. To launch DiskPart, enter diskpart at the command prompt.
  2. Command row in anticipation of an offensive sight: DISKPART>
  3. Don't talk about those running the DiskPart interpreter. To list the available disks, enter list disk at the command line.
  4. List of available disks, their country, size and free space: Disk ##* Status Size Free Dyn GptDisk 0 Online 56 GB OB Disk 1 Online 29 GB OB Disk 2 Online 37 GB 33 GB
  5. Since you are choosing to work with disk 2, you can give it the focus by entering the command select disk
  6. DiskPart alert: Disk 2 is now the selected disk
  7. After completing the work with the disk, enter exit at the command line to exit DiskPart.

Today I want to tell you about such a wonderful program, like. What is so miraculous about New? - Ask V. And those who can help you (data from a flash drive after formatting) or a disk, and more - this program is available to anyone koristuvachevі Windows through the command line, so it does not affect the settings. And don't let you lie to the phrase "command line" - the sound of yogo is richer and simpler, lower at first glance.


Also, after we inserted the USB flash drive into the USB socket, we start the command line. For whom it is pressing Start and in a row we write a joke cmd, and pressing Enter.

We write to the command line, and we ourselves launch the program for managing disks. Onslaught Enter.

At the list of outbuildings, we know our flash drive - you can recognize it by size. My mind is Disc 6. We gave a command to that. Like a flash drive with the number 4, then you need to enter the command . If it’s under the number 2, then it’s obvious. Onslaught Enter.

Let's enter the command clean how to see all files from a flash drive or a disk. Onslaught Enter.

Let's enter the command. In this rank, the choice of indications was divided and moved to a new focus. Onslaught Enter.

Let's win the team. The system indicates the partition as active. Onslaught Enter.

Now it's necessary. Vaughn can be shvidky chi povni. Externally formatted by the command format fs=NTFS. If you don’t want to check and wait for an hour, then you need to work on the formatting command format fs=NTFS QUICK. Onslaught Enter.

Check for the completion of formatting.

At once it is necessary to assign a flash letter. Robimo tse for help team assign. Tisnemo Enter.

The flash drive is automatically assigned a letter, and then spratsovou autorun nose.

Now you can complete the work of the program. We enter the command exit that onslaught Enter.

The only thing you need to do is to copy the files of the distribution kit of the operating system (the one for which we made the flash drive) to our flash drive. If so, our flash drive will be zavantazhuvalnoy, and zavantazhuvatemeetsya absolutely skrіz, no matter what the extension. For її help, you can install your operating system de welcome.

I want to respect that behind the help of the program it is possible to carry out anonymous manipulations, both with hard disks (), and with flash drives. A glance today butt is only a small part of all possibilities. Other commands and apply the robots with this program, I will look at the upcoming articles.

For those of you also read:

Formatting a flash drive with NTFS
How to restore data from a flash drive after re-formatting? How to change disk space in Windows 2000/XP/Vista/7/8. No-cost program EaseUS Partition Master Free How to create a captivating UEFI flash drive for Windows installation 8.1 and 10?
How to fix a row in Excel? How to create a disk image help Daemon Tools?

DiskPart is a console utility with a command line interface for working with disks (disk), partitions (partition) and volumes (volume). Developed by Microsoft for Windows OS family. Otzhe, may be a lot less problems, like, for example, with different software from Acronis, or Paragon. May have more possibilities, lower equipped with "Keruvannya disks" with a graphical interface. You can also run DiskPart within an hour of installing Windows Vista / 7/8, which will help you not to create reservations with a size of 100MB, which Windows creates automatically.

Otzhe, the cob is laid. Now more details about this "hidden" part, which is created automatically.

When you expand the disk for the Windows 7 installation time, let's create a partition for the system that we have chosen, the installer will create the main partition with a size of 100MB, in which case there will be advanced files (bootmgr and BCD (Boot Configuration Data)). Tse zrozumіlo, but nav_scho us vіddavati Windows 7 zayviy osnovny razdіl, yakshcho maximum can be 4 (or 3 if you choose extended (extended) razdіlu)? Why do we need a scam with 2 Windows 7 partitions? Hiba sho varto guess, what vin is necessary in the case of squeezing the division of ciphering Windows distribution for help with BitLocker™ . Also, the vins consumed by different NTFS victories with a cluster size >4k. No one has any need for reshti vipadkiv. It means that a great coristuvachev wine is not needed.

What work, not to create this supplementary division?

Everything is simple! It is necessary to install Windows on the already formatted active partition of the priority hard drive. Yakscho hard drive there is only one in the computer, and it will be a priority. As a rule, it is recommended to turn on the download disks for an hour of Windows installation. Or set the priorities correctly in the BIOS (UEFI).

Let's look at 2 situations:
1. The disk is empty. There are no annual tributes, otherwise the tributes are not important.
2. The disk is already allocated. Tobto. vіn revenge partition(s) with important information, which(-i) need to be removed without change, and on the disk itself, partition(s), which(-i) need to be seen.

To launch DiskPart at the first hour of Windows installation, at the first stage, press Shift + F10 and drag it into the cmd shell. Run the disk utility diskpart.


To launch DiskPart from already installed Windows 7/Vista, you need administrator rights, so run cmd with administrator rights.


For quick cleanup in diskpart, use the help command, or to remove the cleanup behind a specific command, type help command_name (for example, help clean).


On the next butts, a 20GB virtual hard drive will be installed on the same VMware virtual machine. DiskPart can be launched from the cmd shell during the installation of Windows 7.
Additional points, which are known to work with already installed operating systems, are marked with "*" and seen in italics.

Situation #1.
The disk is empty. There are no annual tributes, but the tributes are not important. Let's create the main division for the system, and divide the extensions in order to have two logical divisions for these documents.

Consequence diy.
1. Look at the list of disks in the system.

Abo

Abo

4. We can see the information on the disk, resetting the MBR.
or
clean all - zeroing all sectors on the disk
5. Let's create the primary (primary) distribution of the system with X megabytes.

create part primary size=X

6. Zrobimo yogo is active (bewildering).
7. I formatted it in NTFS, on the label (name of the logical disk) "System", it's necessary to format the file.

format fs=ntfs label=System quick

*. It’s necessary (for example, if it’s split up for an hour of normal work in the OS, for a little more overdue data from the OS), it’s necessary to switch it up to the system (supplement the letter of the log. disk in the streaming OS).

8. Let's create extensions (extended) distributed data for the entire disk space, which is left out.

create part extended

9. Use the middle of the expanded partition. We create a logical distribution for data, the size of X megabytes.

create part logical size=X

10. I formatted it in NTFS, put the "Data" label on it, and it's necessary to format it.

format fs=ntfs label=Data quick


11. Let's repeat paragraphs 9 and 10 for documents. In the middle of the expanded partition, we create a logical (logical) partition for documents, for the entire space that is left.

create part logical

12. Formatted in NTFS, over the "Documents" label, it should be formatted in a secure format.

format fs=ntfs label=Documents quick

*. As it is necessary, it is connected to the system.

13. We wonder what happened.

14. If everything is correct, you must be in diskpart.
15. So, just as the command line is no longer needed, then it’s possible to see it.
*. Installing the system on a formatted primary partition with the "System" label, Windows will not create an additional 100MB primary partition. The axis is the result after installing Windows 7 with our divisions.

Situation number 2.
The disk is built up with the created configuration. 1 main section, 1 extensions. The extensions of the division are made up of 2 logical divisions. It is necessary to see the partition from the system, which was expanded on the main partition, and one of the logical partitions in the middle of the extended partition, let it be divided from the "Data" sign. On space 1 of the main partition, create 2 main partitions, and assign the labels "Win7" and "WinXP" to them. On the space of the logical division, create 2 logical divisions with labels "Data1" and "Data2".

Consequence diy.
So like on the disk important information, raju, especially, tweak the "detail disk" and "list part" commands to control your activities. Well, as a rule, the author does not carry any evidence for vikonannі you diї.
1. First 3 paragraphs without change. We look at the list of disks in the system.
2. Let's set the focus to the priority (first in BIOS) disk for further work.

Abo
sel disk N - select disk іz number N
3. Verify that the desired disk is selected.

Abo

4. We wondered how they distributed it on the disk in that order of numbering.
5. One by one number of numbers with their names and dimensions (in the mind, or on a piece of paper), focusing on the results of the offensive team.

6. It is reasonable that the disk was distributed as a basis under the number 1 and size 17GB, it can be labeled "System" and you can see it yourself. For which we set the focus on danish split.
*. You can revise, which, having chosen the same one, you chose the one you wanted to choose.

detail disk

7. You can see the vibrations were divided.
8. Verify that everything went right.

9. Let's create the primary (primary) partitioned the Win7 system with a size of X megabytes.

create part primary size=X

10. Zrobimo yogo is active (zavantazhuvalnym).
11. Reformatted in NTFS, on the label (name of the logical disk) "Win7", it is necessary to format the firmware.

format fs=ntfs label=Win7 quick

12. Let's create the primary (primary) distribution of the "WinXP" system, for all the space that is left.

create part primary

13. I formatted it with NTFS, I added the label (name of the logical disk) "WinXP", it's necessary to format the file.

format fs=ntfs label=WinXP quick

14. Verify what happened right.

One of the ways to format a flash drive is to use the command line. Sound up to the new vdayutsya at times, if standard procedures tse robiti is impossible, for example, through a pardon. How to look at the format for the help of the command row, we look far away.

Let's take a look at two approaches:

  • through command format;
  • through the utility diskpart.

This is the case for those who go to another option in folding windows, if the flash drive does not want to be formatted.

Method 1: "format" command

Formally, you can use the same ones that use standard formatting, but only using the command line.

The instruction in this case looks like this:


When you win a pardon, you can try the same ones yourself, but in « safe mode» - then no way to start the process does not start the formatting.

Option 2: "diskpart" utility

Diskpart is a special utility for managing disk space. Її wide functionality of transferring the formatting of wear.

To speed up this utility, build the axis of what:



In this way, you can set all the necessary parameters for formatting a flash drive. In this case, it is important not to confuse the letter or the disk number, so as not to see data from the other wear. At any vipadku vikonati put the task awkwardly. The advantage of the command row is that this tool is available for all Windows corystuvacs without blame. How do you have the ability to speed up special programs for the distance, hurry alone with the silence that is indicated in our lesson.

Support the project - share your efforts, darling!
Read also
How to install avast free antivirus How to install avast free antivirus How to clean the computer'ютер від вірусів самостійно How to clean your computer from viruses on your own How to clean up the computer again'ютер від вірусів How to clear the computer again from viruses