Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Less free space each time the cleanup script has been run #12

Closed
Glitchi85 opened this issue Jan 3, 2023 · 4 comments
Closed
Assignees
Labels
bug Something isn't working started work Work has started on this issue

Comments

@Glitchi85
Copy link

Describe the bug
When running the script several times on a machines it keeps getting less and less free space. Where does the space go.

Normally the script should be run once, thats where I found that I had less free space then before running the script.

To Reproduce
Steps to reproduce the behavior:

  1. Install a blank windows 10 21H2
  2. Run the script several times and watch free space going down everytime

Expected behavior
The free space should be consistant

Desktop (please complete the following information):

  • OS: Windows 10
@Glitchi85 Glitchi85 added the bug Something isn't working label Jan 3, 2023
@Glitchi85 Glitchi85 changed the title [BUG] [BUG] Less free space each time the cleanup script has been run Jan 3, 2023
@Glitchi85
Copy link
Author

PS C:> .\cleanup.ps1
DriveLetter Size Remaining Reclaimed


      C 78,90 GB 57,01 GB  529,36 MB

PS C:> .\cleanup.ps1

DriveLetter Size Remaining Reclaimed


      C 78,90 GB 56,49 GB  526,20 MB

PS C:> .\cleanup.ps1

DriveLetter Size Remaining Reclaimed


      C 78,90 GB 55,93 GB  466,39 MB

PS C:> .\cleanup.ps1

DriveLetter Size Remaining Reclaimed


      C 78,90 GB 55,47 GB  522,25 MB

@Ioan-Popovici
Copy link
Member

Which script is this?

@Glitchi85
Copy link
Author

@Ioan-Popovici Ioan-Popovici added the started work Work has started on this issue label Feb 2, 2023
@Ioan-Popovici Ioan-Popovici reopened this Jul 13, 2023
Ioan-Popovici added a commit that referenced this issue Jul 13, 2023
# Start-WindowsCleanup release history

## 4.0.0 - 2023-07-13

* Renamed `Remaining` to `FreeSpace`
* Renamed `Reclaimed` to `ReclaimedSpace`
* Fixed `FreeSpace` computation
* Fixed `FreeSpace` formatting for negative numbers
* Fixed `Format-Bytes` function
* Added Some code improvements
* Added reboot warning for SxS proccesing for addressing [Less free space each time the cleanup script has been run](#12) @Glitchi85

>Note
>Renaming output headers is a breaking change, bumping major version.
@Ioan-Popovici
Copy link
Member

Addressed, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working started work Work has started on this issue
Projects
None yet
Development

No branches or pull requests

2 participants