![]() This can drastically slow your PC down, Hamper your machine’s performance and in the rare case maybe even cause an irreversible problem with the Operating System itself. Swapfile.sys is managed along with Pagefile.sys by Windows.ĭisabling the use of Paging file for a partition will also disable Swapfile.sys.ĭisabling your Paging File is NOT recommended at all. Note: If you are attempting this in order to f ree up space on a Tablet, it probably won’t be that large and is probably making your gadget run smoother and snappier. The normal size for Swapfile.sys on a system running Windows 11 or Windows 10 is around 256 MB, at its Maximum. To start off, Swapfile.sys is not that big. How do you disable Paging file for a particular drive?.\Windows\System32\dxdiagn.dll > is listed for deletion, comment it to avoid deletion because dxdiag.exe (directx dignostic) that is not listed for deletion, will be present in our build, and will not work without dxdiagn. \Windows\ServiceProfiles\LocalService\AppData\Local\FontCache-*.dat > all re-created. \Windows\Installer\SourceHash* > was re-created. So far I haven't noticed any issue, and all seems to work fine.Īlso I suggest to disable following services in MinWin:īy the way I noticed some files that were deleted during MinWin installtion, were re-created after first boot: \Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft\Windows\WebCache \Windows\ServiceProfiles\NetworkService\AppData\Local\Microsoft\Windows\WebCache \Windows\ServiceProfiles\LocalService\AppData\Roaming\Microsoft\Windows\Recent \Windows\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\Windows\Recent MKLINK /J C:\Windows\System32\Logfiles F:\VHD\Logfiles > DO NOT replace it by a 0 bytes folder.ĭuring boot the OS writes info into \Windows\System32\LogFiles\WMI\RtBackup > Criticall for bootingīut, I found an unexpected result, following additional 0 bytes files were created (after first boot) too: During first boot now they only use 48.4 MB, not more than 100 MB as before, I deleted all the remaing from SwiftSearch TI, and also made from booted MinWin the following directory junction: Now since the very first boot avoided the creation of a lot of LOG and ETL files. Then manually deleted the folder and created the two 0 bytes files in both locations. H:\Users\Default\AppData\Local\Microsoft\Windows\WebCache > the folder didn't exists yet and the file also was not created. H:\Users\Default\AppData\Roaming\Microsoft\Windows\Recent > the folder was still present. Following files will be created only if there in not a folder or file with same nameįsutil file createnew "H:\ProgramData\Microsoft\Windows\wfp" 0įsutil file createnew "H:\ProgramData\USOShared\Logs" 0įsutil file createnew "H:\Windows\Logs" 0įsutil file createnew "H:\Windows\SoftwareDistribution" 0įsutil file createnew "H:\Windows\System32\SleepStudy" 0įsutil file createnew "H:\Windows\System32\WDI" 0įsutil file createnew "H:\ProgramData\Microsoft\Network\Downloader" 0įsutil file createnew "H:\Users\Default\AppData\Roaming\Microsoft\Windows\Recent" 0įsutil file createnew "H:\Users\Default\AppData\Local\Microsoft\Windows\WebCache" 0Īll was successful except the two last lines in both sections. Rmdir "H:\Users\Default\AppData\Local\Microsoft\Windows\WebCache" /s /q Rmdir "H:\Users\Default\AppData\Roaming\Microsoft\Windows\Recent" /s /q Rmdir "H:\ProgramData\Microsoft\Network\Downloader" /s /q Rmdir "H:\Windows\System32\SleepStudy" /s /q Rmdir "H:\Windows\SoftwareDistribution" /s /q Rmdir "H:\ProgramData\USOShared\Logs" /s /q Rmdir "H:\ProgramData\Microsoft\Windows\wfp" /s /q to avoid the potential re-creation of the folder and this way send new ETL/LOG files to limbo, Following will delete some folders, to latter create a 0 bytes file with same name, The trick worked fine, and I made an script to do this, latter Wonko sugessted a more elegant version of the script, and wimb added it to his Win_Reduce_Trusted program.Īnyway I made a new updated version of my CMD file, and tested running it as TI by means of PowerRun, just after making a MinWin istallation in a VHD still mounted in drive H, for more detailed info please see this post. In MinWin the LOG and ELT files created after first boot are 100+ MB, and even more acumulate every boot, for more detailed info and files list please see this post.īack in I experimented replacing some of this folders, containing the unwanted files, with 0 bytes files to mitigate the creation of so many LOG and ELT files. Usually majority of ETL files in standard OS are located into \Windows\System32\winevt\Logs, this folder doesn't exits in MinWin, so we don't have to worry for it, but many LOG and ETL files are also created in several other locations. ![]() Some comments that I think may be usefull: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |