DriveSpace: Difference between revisions

From Piszczynski
m (4 revisions imported)
No edit summary
Line 26: Line 26:


This will give you the Bytes/sector as well as other info
This will give you the Bytes/sector as well as other info
== Check for drive issues ==
use the following commands to check for drive issues:<syntaxhighlight lang="powershell">
Get-PSDrive -Provider FileSystem
net use
[System.IO.DriveInfo]::GetDrives()
Get-WmiObject Win32_LogicalDisk
</syntaxhighlight>

Revision as of 17:38, 13 May 2024

Disk Extension

Use partition manager or disk part to extend volumes.

If drive space in partition manager and file explorer do not match after volume extension use the following diskpart command:

  • Diskpart
    • list volume
      • select volume <volume number>
        • extend filesystem

Drive Space Cleanup Windows

Check temp folders

Check if windows update needs to be running and delete software distribution if not

Check for not required windows SxS components using DISM.exe in Powershell:

  • Dism.exe /online /Cleanup-Image /StartComponentCleanup

Check for log files and delete any not required


Disk Info

Find out info about disks - use "system information" - msinfo32

This will give you the Bytes/sector as well as other info

Check for drive issues

use the following commands to check for drive issues:

Get-PSDrive -Provider FileSystem
net use
[System.IO.DriveInfo]::GetDrives()
Get-WmiObject Win32_LogicalDisk