Forum Discussion
Mark_Konschak
Nov 05, 2020Copper Contributor
C drive in windows 10 shows full!
I have cleaned the hard drive, Temp files and hidden files, turned off the protection and I still show the hard drive is full. Does anyone have any other suggestions short of wiping and reimaging.
3 Replies
- Reza_Ameri-ArchivedBronze Contributor
You may try run Disk Cleanup , it will scan your PC and show you temporary files where you could remove them.
Hi Mark_Konschak,
You can find folders which use many disk spaces on drive via powershell.
For example:
$targetfolder='C:\' $dataColl = @() gci -force $targetfolder -ErrorAction SilentlyContinue | ? { $_ -is [io.directoryinfo] } | % { $len = 0 gci -recurse -force $_.fullname -ErrorAction SilentlyContinue | % { $len += $_.length } $foldername = $_.fullname $foldersize= '{0:N2}' -f ($len / 1Gb) $dataObject = New-Object PSObject Add-Member -inputObject $dataObject -memberType NoteProperty -name “foldername” -value $foldername Add-Member -inputObject $dataObject -memberType NoteProperty -name “foldersizeGb” -value $foldersize $dataColl += $dataObject } $dataColl | Out-GridView -Title “Size of subdirectories”Reference : http://woshub.com/powershell-get-folder-sizes/
Hello Mark_Konschak,
If you recently or earlier upgraded to newer version from older version of Windows 10, you might want to remove files in Windows.old folder to gain more space on drive.
Regards.