Development of a .NET Application for Optimizing the System Partition of the Windows 11 operating system

Keywords: Оperating System, System Partition, Optimization, System Registry, Batch File, Powershell, Command-Line Interpreter, .NET Technologies

Abstract

In modern Windows operating systems, the accumulation of temporary files, update backups, paging files, and restore points leads to significant disk space consumption. This is particularly critical for system partitions, where limited storage capacity can negatively impact the performance and stability of the OS. This paper examines the main mechanisms and methods for freeing up space on the system partition during the operation of Windows 11. The study proposes an approach to automated cleaning of the Windows system partition through the development of a .NET application and accompanying scripts. It explores the main sources of system partition bloating, including paging files (pagefile.sys, swapfile.sys), update directories (WinSxS, SoftwareDistribution), shadow copies, browser caches, and log files. Standard Windows tools for managing disk space, such as “Disk Cleanup” (cleanmgr), PowerShell commands, etc., are analyzed. It was determined that none of the existing tools fully provide a safe and flexible method for cleaning the system partition. The scientific novelty of the research lies in a comprehensive approach to the analysis and automation of system partition cleanup in Windows. The proposed solution not only automates the process of removing unnecessary files but also enhances disk resource management efficiency, ultimately contributing to improved performance and stability of the operating system. Expected results include a reduction in occupied space on the system partition, which will contribute to enhanced OS performance and stability. Moreover, automation of this process simplifies the task for both advanced users and those without deep technical knowledge

References

1. Булатецький В. В., Булатецька Л. В., Пруц Г. С. Методи та засоби вивільнення простору системного розділу ОС Microsoft Windows 10. Комп’ютерно-інтегровані технології: освіта, наука, виробництво. 2018. № 32. С. 85–89.
2. Bulatetskyi V., Bulatetska L., Hryshanovych T. ANALYSIS OF OS WINDOWS 10 FILE OBJECTS FOR SYSTEM PARTITION SPACE CLEANING AND OPTIMIZATION. Cybersecurity: Education, Science, Technique. 2022. Vol. 3, no. 15. P. 71–84. URL: https://doi.org/10.28925/2663-4023.2022.15.7184 (date of access: 24.03.2025).
3. Research methods and tools for cleaning the system partition of Windows operating systems / A. P. Stupin, V. V. Bulatetskyi, L. V. Bulatetska, T. O. Hryshanovych, Yu. S. Pavlenko. Computer Science & Software Engineering (CS&SE@SW 2021) : Proceedings of the 4th Workshop for Young Scientists, Kryvyi Rih, 18 December 2021. 2022. P. 135–145. URL: http://ceur-ws.org/Vol-3077/paper17.pdf.
4. DISM Image Management Command-Line Options. Microsoft Learn: Build skills that open doors in your career. URL: https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/dism-image-management-command-line-options-s14?view=windows-11 (date of access: 23.03.2025).
5. DISM Image Management Command-Line Options. Microsoft Learn: Build skills that open doors in your career. URL: https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/dism-image-management-command-line-options-s14?view=windows-11 (date of access: 23.03.2025).

Abstract views: 15
PDF Downloads: 23
Published
2025-06-15
How to Cite
Bulatetska , L., & Bulatetskyi , V. (2025). Development of a .NET Application for Optimizing the System Partition of the Windows 11 operating system. COMPUTER-INTEGRATED TECHNOLOGIES: EDUCATION, SCIENCE, PRODUCTION, (59), 61-67. Retrieved from https://cit.lntu.edu.ua/index.php/cit/article/view/711
Section
Computer science and computer engineering