ژوئیه 31، 2018

نحوه بهینه سازی و یکپارچه سازی درایوها در ویندوز 10

Improving your PC’s performance is very important for proper functioning and to help with this Windows 10 performs disk defragmentation once a week for hard drives. By default, disk defragmentation runs automatically on a weekly schedule at a particular time set in automatic maintenance. But this doesn’t mean that you can’t manually optimize or defrag your drives on your PC.

نحوه بهینه سازی و یکپارچه سازی درایوها در ویندوز 10

Now Disk defragmentation re-arranges all the pieces of data that are spread across your hard drive and stored them together again. When the files are written to disk, it is broken into several pieces as there is not enough contiguous space to store the complete file; hence the files become fragmented. Naturally, reading all these pieces of data from different places will take some time, in short, it will make your PC slow, long boot times, random crashes and freeze-ups etc.

Defragmentation reduces file fragmentation, thus improving the speed by which data is read and written to disk, which ultimately increases the performance of your PC. Disk defragmentation also cleans the disk, thus increasing the overall storage capacity. So without wasting any time, let’s see How to Optimize and Defragment Drives in Windows 10 with the help of the below-listed tutorial.

نحوه بهینه سازی و یکپارچه سازی درایوها در ویندوز 10

مطمئن شوید که یک نقطه بازیابی را فقط در صورتی که مشکلی پیش بیاید ایجاد کنید.

Method 1: Optimize and Defragment Drives in Disk Drive Properties

1. Press Windows Key + E to open File Explorer or double-click on This PC.

2. Right-click on any hard drive partition تو می خواهی که run defragmentation for، و انتخاب کنید خواص.

Select Properties for the partition for which you want to run defragmentation

3. تغییر دهید Tool tab سپس بر روی ” کلیک کنیدبهینه سازی” under Optimize and defragment the drive.

Switch to Tool tab then click on Optimize under Optimize & defragment drive

4. را انتخاب کنید راندن for which you want to run تجزیه و سپس کلیک کنید the Analyze button to see if it needs to be optimized.

Select the drive for which you want to run defragmentation for and then click Analyze button

توجه داشته باشید: If the drive is more than 10% fragmented, then it should be optimized.

5. Now, to optimize the drive, click the Optimize button. Defragmentation can take some time depending upon your disk’s size, but you can still use your PC.

To optimize the drive click the Optimize button | How to Optimize and Defragment Drives in Windows 10

6. Close everything, then restart your PC.

این هست How to Optimize and Defragment Drives in Windows 10, but if you are still stuck, then skip this method and follow the next one.

Method 2: How to Optimize and Defragment Drives in Windows 10 Using Command Prompt

1. Command Prompt را باز کنید. کاربر می تواند این مرحله را با جستجو انجام دهد 'cmd' و سپس Enter را فشار دهید.

Command Prompt را باز کنید. کاربر می تواند این مرحله را با جستجوی 'cmd' انجام دهد و سپس Enter را فشار دهد.

2. دستور زیر را در cmd تایپ کنید و Enter را بزنید:

defrag drive_letter: /O

Optimize and Defragment Drives Using Command Prompt

توجه داشته باشید: Replace the drive_letter with the drive letter of the drive you want to run disk defragmentation. For example to optimize the C: drive the command would be: defrag C: /O

3. Now, to optimize and defrag all your drives at once use the following command:

defrag /C /O

4. The defrag command supports the following command-line arguments and options.

نحو:

defrag <volumes> | /C | /E <volumes> [<task(s)>] [/H] [/M [n] | [/U] [/V]] [/I n]
Where <task(s)> is omitted (traditional defrag), or as follows: /A | [/D] [/K] [/L] | /O | /X
Or to track an operation already in progress on a volume: defrag <volume> /T

پارامترهای:

ارزش توضیحات:
/A Perform analysis on the specified volumes.
/B Perform boot optimization to defrags the boot sector of the boot volume. This will not work on an SSD.
/C Operate on all volumes.
/D Perform traditional defrag (this is the default).
/E Operate on all volumes except those specified.
/H Run the operation at normal priority (default is low).
/I n Tier optimization would run for at most n seconds on each volume.
/K Perform slab consolidation on the specified volumes.
/L Perform retrim on the specified volumes, only for an SSD.
/M [n] Run the operation on each volume in parallel in the background. At most n threads optimize the storage tiers in parallel.
/O Perform the proper optimization for each media type.
/T Track an operation already in progress on the specified volume.
/U Print the progress of the operation on the screen.
/V Print verbose output containing the fragmentation statistics.
/X Perform free space consolidation on the specified volumes.

Command prompt parameters for optimize and defrag drives

این هست How to Optimize and Defragment Drives in Windows 10 using Command Prompt, but you can also use PowerShell in place of CMD, follow the next method to see How to Optimize and Defragment Drives using PowerShell.

Method 3: Optimize and Defragment Drives in Windows 10 Using PowerShell

1. نوع PowerShell را در جستجوی ویندوز و سپس بر روی آن راست کلیک کنید PowerShell را from the search results and select اجرا به عنوان مدیر

در جستجوی ویندوز Powershell را تایپ کنید سپس روی Windows PowerShell راست کلیک کنید

2. حالا دستور زیر را در PowerShell تایپ کنید و Enter بزنید:

Optimize-Volume -DriveLetter drive_letter -Verbose

Optimize and Defragment Drives Using PowerShell | How to Optimize and Defragment Drives in Windows 10

توجه داشته باشید: Replace drive_letter with the drive letter of the drive you want to run disk defragmentation.

For example to optimize the F: drive the command would be: defrag Optimize-Volume -DriveLetter F -Verbose

3. If you want first to analyze the drive, then use the following command:

Optimize-Volume -DriveLetter drive_letter -Analyze -Verbose

To Optimize and Defragment Drives Using PowerShell use the following command

توجه داشته باشید: Replace drive_letter with the actual drive letter, ex: Optimize-Volume -DriveLetter F -Analyze -Verbose

4. This command should only be used on an SSD, so only proceed if you’re sure that you are running this command on an SSD drive:

Optimize-Volume -DriveLetter drive_letter -ReTrim -Verbose

To Optimize and defrag an SSD use the following command inside PowerShell

توجه داشته باشید: Replace drive_letter with the actual drive letter, ex: Optimize-Volume -DriveLetter D -ReTrim -Verbose

5. برای ذخیره تغییرات کامپیوتر خود را ریبوت کنید.

توصیه می شود:

این همان چیزی است که شما با موفقیت یاد گرفته اید How to Defer Feature and Quality Updates in Windows 10 اما اگر هنوز سؤالی در مورد این آموزش دارید، در قسمت نظرات از آنها بپرسید.