Make windows use more Ram then Harddrive ?

ultraform

Member
Hi
I search for tips and help to make windows use more ram and use less hardrive.
This settings I use now, do you have any tips or know more settings to make windows use the harddrive less ?

Disable defragmenting
Disable System Restore
Disable Page File Size
Disable Hibernation
Disabling Memory Dumps
Disable Reliability Monitor
Timestamp Off
Windows Event logging Off
8.3 name creation Off
User Trackin Off

* "disable superfetch and prefetch"? - Does prefetech use ram or HDD ?

* "Write Caching" - ?
(Enable write caching on this device and Turn off Windows write-cache buffer flushing on the device )
Shuld i have it "both checked" if I want use windows to use less harddrive ?

* "Disable Indexing"- ?
 

ege914

Active Member
I dont think you can achieve it by making these changes. this changes will result on using less hdd but not more ram.

microsoft has to do correct changes like linux to use more ram instead of hdd. and i think they plan to do it. so you don't need to do anything.
 

Clanger

Well-Known Member
ultraform I disable this lot, pagefile prefetch/readyboot superfetch hibbernation sleep search/indexing(because windows own search is bloody awful). You have got somethings i may not have, will need some info on then so i gotta go digging. It may help to disable Trim, an ssd has its own built in garbage collection routines anyway. I have read itr may be better to format rather than trim but if its on your c: drive you cant format without wiping the os, ssd garbage collection may be better.

how-to-stop-ie-webcache is another one. I have a batch file for it but i think its for 10 and may be different for 8.1. just deleteting the task may be enouygh. need to fiddle with this one.

Firefox used to write a lot(and i mean a lot) of data to a hdd, dont know if later versions do but i have a tweak buried away somewhere that sorts it.

ultraform This is what i have got up to now. All known working on 8.1 Pro Update 3. Run them all from Power Runs UI.

Disable Defragmenting
net stop defragsvc
Reg.exe add "HKLM\SYSTEM\ControlSet001\services\defragsvc" /v "Start" /t REG_DWORD /d "4" /f
Reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\Maintenance" /v "MaintenanceDisabled" /t REG_DWORD /d "1" /f
schtasks /Change /TN "Microsoft\Windows\Defrag\ScheduledDefrag" /Disable
schtasks /Delete /F /TN "Microsoft\Windows\Defrag\ScheduledDefrag"
Reg.exe delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\Defrag" /f
takeown /f "C:\Windows\System32\Tasks\Microsoft\Windows\Defrag" /r /d y
icacls "C:\Windows\System32\Tasks\Microsoft\Windows\Defrag" /grant Administrators:F /t /q
rd /s /q "C:\Windows\System32\Tasks\Microsoft\Windows\Defrag"
============================================
Disable Disable Reliability Monitor
schtasks /Change /TN "Microsoft\Windows\RAC\RacTask" /Disable
schtasks /Delete /F /TN "Microsoft\Windows\RAC\RacTask"
Reg.exe delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\RAC" /f
takeown /f "C:\Windows\System32\Tasks\Microsoft\Windows\RAC" /r /d y
icacls "C:\Windows\System32\Tasks\Microsoft\Windows\RAC" /grant Administrators:F /t /q
rd /s /q "C:\Windows\System32\Tasks\Microsoft\Windows\RAC"
takeown /f "C:\ProgramData\Microsoft\RAC" /r /d y
icacls "C:\ProgramData\Microsoft\RAC" /grant Administrators:F /t /q
rd /s /q "C:\ProgramData\Microsoft\RAC"
============================
Disable Indexing Search
net stop WSearch
Reg.exe add "HKLM\SYSTEM\ControlSet001\services\WSearch" /v "Start" /t REG_DWORD /d "4" /f
Reg.exe add "HKLM\SYSTEM\ControlSet001\services\WSearchIdxPi" /v "Start" /t REG_DWORD /d "4" /f
takeown /f "C:\ProgramData\Microsoft\Search" /r /d y
icacls "C:\ProgramData\Microsoft\Search" /grant Administrators:F /t /q
rd /s /q "C:\ProgramData\Microsoft\Search"
=============================
Disable Memory Dumps
Reg.exe add "HKLM\SYSTEM\ControlSet001\Control\CrashControl" /v "CrashDumpEnabled" /t REG_DWORD /d "0" /f
Reg.exe add "HKLM\SYSTEM\ControlSet001\Control\CrashControl\StorageTelemetry" /v "DeviceDumpEnabled" /t REG_DWORD /d "0" /f
===========================================================================================
Disable PageFile
Reg.exe add "HKLM\SYSTEM\ControlSet001\Control\Session Manager\Memory Management" /v "PagingFiles" /t REG_MULTI_SZ /d "" /f
PAUSE
===========
Disable ReadyBoot Prefetch Superfetch
Reg.exe add "HKLM\SYSTEM\ControlSet001\Control\WMI\Autologger\ReadyBoot" /v "Start" /t REG_DWORD /d "0" /f
Reg.exe add "HKLM\SYSTEM\ControlSet001\Control\Session Manager\Memory Management\PrefetchParameters" /v "EnablePrefetcher" /t REG_DWORD /d "0" /f
takeown /f "C:\Windows\Prefetch\ReadyBoot" /r /d y
icacls "C:\Windows\Prefetch\ReadyBoot" /grant Administrators:F /t /q
rd /s /q "C:\Windows\Prefetch\ReadyBoot"
takeown /f "C:\Windows\Prefetch" /r /d y
icacls "C:\Windows\Prefetch" /grant Administrators:F /t /q
rd /s /q "C:\Windows\Prefetch"
Reg.exe add "HKLM\SYSTEM\ControlSet001\Control\Session Manager\Memory Management\PrefetchParameters" /v "EnableSuperfetch" /t REG_DWORD /d "0" /f
net stop SysMain
Reg.exe add "HKLM\SYSTEM\ControlSet001\services\SysMain" /v "Start" /t REG_DWORD /d "4" /f
schtasks /Change /TN "Microsoft\Windows\Sysmain\HybridDriveCachePrepopulate" /Disable
schtasks /Change /TN "Microsoft\Windows\Sysmain\HybridDriveCacheRebalance" /Disable
schtasks /Change /TN "Microsoft\Windows\Sysmain\WsSwapAssessmentTask" /Disable
schtasks /Delete /F /TN "Microsoft\Windows\Sysmain\HybridDriveCachePrepopulate"
schtasks /Delete /F /TN "Microsoft\Windows\Sysmain\HybridDriveCacheRebalance"
schtasks /Delete /F /TN "Microsoft\Windows\Sysmain\WsSwapAssessmentTask"
Reg.exe delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\Sysmain" /f
takeown /f "C:\Windows\System32\Tasks\Microsoft\Windows\Sysmain" /r /d y
icacls "C:\Windows\System32\Tasks\Microsoft\Windows\Sysmain" /grant Administrators:F /t /q
rd /s /q "C:\Windows\System32\Tasks\Microsoft\Windows\Sysmain"
=============================================
Disable System Restore
Reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore" /v "DisableConfig" /t REG_DWORD /d "1" /f
Reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore" /v "DisableSR" /t REG_DWORD /d "1" /f
schtasks /Change /TN "Microsoft\Windows\SystemRestore\SR" /Disable
schtasks /Delete /F /TN "Microsoft\Windows\SystemRestore\SR"
Reg.exe delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\SystemRestore" /f
takeown /f "C:\Windows\System32\Tasks\Microsoft\Windows\SystemRestore" /r /d y
icacls "C:\Windows\System32\Tasks\Microsoft\Windows\SystemRestore" /grant Administrators:F /t /q
rd /s /q "C:\Windows\System32\Tasks\Microsoft\Windows\SystemRestore"
=================================================
Disable Hibernation
powercfg /hibernate off
or
Reg.exe add "HKLM\SYSTEM\ControlSet001\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d "0" /f
I did try to disable hibbernation with the reg tweak once but it didnt apply during setup.
Nuhi uses the command and that always works. :)
==================================
Disable 8.3 Name Creation
Reg.exe add "HKLM\SYSTEM\ControlSet001\Control\FileSystem" /v "NtfsDisable8dot3NameCreation" /t REG_DWORD /d "1" /f
====================================================================================
Disable User Tracking
Reg.exe add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoInstrumentation" /t REG_DWORD /d "1" /f
=========================================================================================
Disable Windows Event Logging
Reg.exe add "HKLM\SOFTWARE\Microsoft\WBEM\CIMOM" /v "EnableEvents" /t REG_DWORD /d "0" /f

Seems to be mixed onions on this, link. Some say yes some no. BlackViper(services guy) says no apparently. I never disabled this service even on xp, couldnt if i remember correctly
====================================================================

Moved Wininet task and WebCache folder.

Im gonna look into the following.
Timestamp Off, link, looks like its integral to the ntfs file system. If it only tracks changes to files and folders when they are made i cant see it being a big issue, will leave this one to more knowledgable users. Will leave alone for now. nuhi We had this in nLite i think, what do you say?

* "syncing" - ? -Sync Centre/Offline Files maybe,,,
(Enable write caching on this device and Turn off Windows write-cache buffer flushing on the device )
Shuld i have it "both checked" if I want use windows to use less harddrive ?

Disabling any sort of data and diagnostic collection should help. abbodi86 may have that in his w10 block file, see what he says.
 

Attachments

Last edited:

Kasual

Well-Known Member
I search for tips and help to make windows use more ram and use less hardrive.
This settings I use now, do you have any tips or know more settings to make windows use the harddrive less ?
You can use a RAM drive, change paths to there and when Windows shuts down save all the contents to an image, it can load the image on start.
Probably ImDisk is the way to go if you have lots of RAM.

Firefox used to write a lot(and i mean a lot) of data to a hdd, dont know if later versions do but i have a tweak buried away somewhere that sorts it.
You can always "go to know":
 

ultraform

Member
I have been using this tweak some days now, it seems to be some advanced reg files :p not only disable does them remove them too:O ? But it seems to works fine =)
 

Clanger

Well-Known Member
I can only go so far with reggies so rather than do reggies and bats i would rather have bats after 1st logon to do it all.
I dont use defender or restore so i disable them and their tasks and remove defender from the control panel, effectively hiding it from the user. I gonna look and see if there are entries in the start menu, if so i will remoive them and update the post. :)
 
Last edited:

Clanger

Well-Known Member
I use everyone that you make a zip file of
Ahh nice one, glad you like em :) I dont remove their files because thats too close to liting and out of respect for nuhi i wouldnt post here even if i went that far, just the scheduled tasks. Disable them first then lite'em out later. :)
 
Last edited:

ultraform

Member

Attachments

Clanger

Well-Known Member
LTSB These work on 7 and 8.1 with the default Balanced power scheme active.

Reg file
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Power\PowerSettings\abfc2519-3608-4c2a-94ea-171b0ed546ab]
"ACSettingIndex"=dword:00000000
"DCSettingIndex"=dword:00000000


bat or cmd file
Reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Power\PowerSettings\abfc2519-3608-4c2a-94ea-171b0ed546ab" /v "ACSettingIndex" /t REG_DWORD /d "0" /f
Reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Power\PowerSettings\abfc2519-3608-4c2a-94ea-171b0ed546ab" /v "DCSettingIndex" /t REG_DWORD /d "0" /f
 

ultraform

Member
Thanx you so much Clanger =)
I search for all Tweaks or settings so windows dont Write/use harddrive automatic in the bakground and so on.
Like write logs / backups, defrag or put files on hardrive instead of ram :p
If you understand me =)
All tweaks are welcome thx you again =)

Edit:
Clanger Clanger
If I wanna use this files in NTLite when make iso where to put them :O ?

 
Last edited:

Clanger

Well-Known Member
I think i have got all the space hoggers sorted with that lot above(inc defender), i doubt there is much left that we can do anything about.
What we need todo is find out how much logs n stuff windows writes in a set period, so i can create a standard install then compare it with ccleaner with a tweaked install, everything in my arsenal so far. If ido liting, vm's and my audio and videeo work i could easily be looking at upto 40+ gb's a day to a drive, wayy more than windows 8.1 prolly ever will but thats my stuff and i can accept that.

Got a lot of my own stuff needs doing so gimme a few weeks see what i can find, doubt it will be much though.

If I wanna use this files in NTLite when make iso where to put them :O ?
I would say put them on the Post Install page but some of them will need elevated permissions and my personal preference is to manually run them post setup after 1st logon with the Administrator account on a clean untouched iso install., thats what i normally do. I dont know if they would apply correctly if i added them to ntlites Post Setup page. Perhaps nuhi could give an opinion.

Ive glanced at the ssd guide, i think i already got most of the windows tweaks. Check the pro audio/daw sites for windows tweaks, they are a good source. I wouls suggest that if you want to use an ssd then get a samsung pro, they are more expensive but have longer durability compared to the evo series. Ive got more ram upgrades coming this week so i should be able to speed things up a bit.
 
Last edited:

Clanger

Well-Known Member
Looking at Crucial ssd's, doubling the capacity doubles(or nearly doubles) the endurance but not always double the price, only the 1TB is double. For £17 extra over the 250gb you are getting better endurance.

Crucial BX500 120GB, Max. Endurance Rating - 40 TBW, £22(my current c: drive)
Crucial MX500 250GB, Max. Endurance Rating - 100 TBW, £48
Crucial MX500 500GB, Max. Endurance Rating - 180 TBW, £65
Crucial MX500 1TB, Max. Endurance Rating - 360 TBW, £131
 
Last edited:

ege914

Active Member
can someone explain to me how exactly windows will use more ram when someone does these changes?

they simply disable and close the services that uses harddisk to operate because some of them are about using indexing and has to use harddisk.

so you disable them? and ram usage remains the same? plus you lose some features.
 

Clanger

Well-Known Member
A standard install with no programs and no scheduled tasks running doesnt use that much more ram than an install with 151 services disabled, prolly 100mb difference. If youve only got 4gb ram or less and dont want to/cant spend extra then every little helps and i always ran with 4gb and no pagefile prefetch etc. Now im upgrading everything to 8gb then bareboned services isnt going to be needed although i will still doit.

Most of those tweaks were for speed when we used hdd's with aroung 8.5ns seek times, the head takes time to get from A to Z. Solid state storage has a seek time of around 2ns so we are less likely to notice the speed gains and more so on nvme drives than sata ssd's. Now its about helping to maximise drive life and do we really need those space hoggers? I dont so I disable the above because i dont need them, you dont disable what you need.
 
Last edited:

ege914

Active Member
anyways i wouldn't use this because it will end up with "some settings are managed by your organization error in 2 places"
  1. personalize-->startup
  2. privacy

Disable User Tracking
Reg.exe add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoInstrumentation" /t REG_DWORD /d "1" /f
 
Top