Skip to content

Instantly share code, notes, and snippets.

@Seramis
Last active March 8, 2025 20:46
Show Gist options
  • Select an option

  • Save Seramis/46822b1fee68f0254401ead6c34ec929 to your computer and use it in GitHub Desktop.

Select an option

Save Seramis/46822b1fee68f0254401ead6c34ec929 to your computer and use it in GitHub Desktop.
Windows 98 tweaks
REGEDIT4
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\hdc\0000]
IDEDMADRIVE0=00
IDEDMADRIVE1=00
IDEDMADRIVE2=00
IDEDMADRIVE3=00
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\hdc\0001]
IDEDMADRIVE0=00
IDEDMADRIVE1=00
IDEDMADRIVE2=00
IDEDMADRIVE3=00
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\hdc\0002]
IDEDMADRIVE0=00
IDEDMADRIVE1=00
IDEDMADRIVE2=00
IDEDMADRIVE3=00
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\hdc\0003]
IDEDMADRIVE0=00
IDEDMADRIVE1=00
IDEDMADRIVE2=00
IDEDMADRIVE3=00
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\hdc\0004]
IDEDMADRIVE0=00
IDEDMADRIVE1=00
IDEDMADRIVE2=00
IDEDMADRIVE3=00
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\hdc\0005]
IDEDMADRIVE0=00
IDEDMADRIVE1=00
IDEDMADRIVE2=00
IDEDMADRIVE3=00
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\hdc\0006]
IDEDMADRIVE0=00
IDEDMADRIVE1=00
IDEDMADRIVE2=00
IDEDMADRIVE3=00
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\hdc\0007]
IDEDMADRIVE0=00
IDEDMADRIVE1=00
IDEDMADRIVE2=00
IDEDMADRIVE3=00
REGEDIT4
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\hdc\0000]
IDEDMADRIVE0=01
IDEDMADRIVE1=01
IDEDMADRIVE2=01
IDEDMADRIVE3=01
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\hdc\0001]
IDEDMADRIVE0=01
IDEDMADRIVE1=01
IDEDMADRIVE2=01
IDEDMADRIVE3=01
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\hdc\0002]
IDEDMADRIVE0=01
IDEDMADRIVE1=01
IDEDMADRIVE2=01
IDEDMADRIVE3=01
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\hdc\0003]
IDEDMADRIVE0=01
IDEDMADRIVE1=01
IDEDMADRIVE2=01
IDEDMADRIVE3=01
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\hdc\0004]
IDEDMADRIVE0=01
IDEDMADRIVE1=01
IDEDMADRIVE2=01
IDEDMADRIVE3=01
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\hdc\0005]
IDEDMADRIVE0=01
IDEDMADRIVE1=01
IDEDMADRIVE2=01
IDEDMADRIVE3=01
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\hdc\0006]
IDEDMADRIVE0=01
IDEDMADRIVE1=01
IDEDMADRIVE2=01
IDEDMADRIVE3=01
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\hdc\0007]
IDEDMADRIVE0=01
IDEDMADRIVE1=01
IDEDMADRIVE2=01
IDEDMADRIVE3=01
[Version]
Signature=$CHICAGO$
[DefaultInstall]
SmartReboot=A
AddReg=Install.AddReg,Install.AddReg.Disk
UpdateInis=Install.UpdateInis
CopyFiles=Install.CopyFiles
EndPrompt=Prompt.Reboot
[DefaultUninstall]
SmartReboot=A
Cleanup=1
AddReg=Uninstall.AddReg
DelReg=Uninstall.DelReg,Uninstall.DelReg.Disk
UpdateInis=Uninstall.UpdateInis
EndPrompt=Prompt.Reboot
[Prompt.Reboot]
Prompt="You must reboot your computer for the changes to take effect!"
[Install.CopyFiles]
tune128m.inf
[DestinationDirs]
Install.CopyFiles=17
[SourceDisksNames]
1=,,0
[Install.AddReg]
HKLM,"%UninstallKey%","DisplayName",,"%PackageName%"
HKLM,"%UninstallKey%","UninstallString",,"RunDll32.exe %11%\AdvPack.Dll,LaunchINFSection %17%\tune128m.inf,DefaultUninstall"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Explorer","BrowseNewProcess",,"1"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Explorer","SeparateProcess",65537,01,00,00,00
HKLM,"Software\Microsoft\Windows\CurrentVersion\Explorer","Max Cached Icons",,"2048"
HKLM,"System\CurrentControlSet\Services\VxD\BIOS","CPUPriority",65537,01,00,00,00
HKLM,"System\CurrentControlSet\Services\VxD\BIOS","fastDRAM",65537,01,00,00,00
HKLM,"System\CurrentControlSet\Services\VxD\BIOS","AGPConcur",65537,01,00,00,00
HKLM,"System\CurrentControlSet\Services\VxD\BIOS","PCIConcur",65537,01,00,00,00
HKLM,"Software\Microsoft\Windows\CurrentVersion\FS Templates\Powerful",,,"Powerful PC"
HKLM,"Software\Microsoft\Windows\CurrentVersion\FS Templates\Powerful","NameCache",65537,a0,0f,00,00
HKLM,"Software\Microsoft\Windows\CurrentVersion\FS Templates\Powerful","PathCache",65537,80,00,00,00
HKLM,"Software\Microsoft\Windows\CurrentVersion\FS Templates",,,"Powerful"
[Install.AddReg.Disk]
HKLM,"System\CurrentControlSet\Control\FileSystem","DriveWriteBehind",1,03,ff,ff,ff
HKLM,"System\CurrentControlSet\Control\FileSystem","ReadAheadThreshold",65537,00,00,10,00
HKLM,"System\CurrentControlSet\Control\FileSystem","DisableLowDiskSpaceBroadcast",65537,1d,00,00,00
HKLM,"System\CurrentControlSet\Control\FileSystem","ContigFileAllocSize",65537,00,04,00,00
[Install.UpdateInis]
System.ini,386enh,,"ConservativeSwapfileUsage=1"
System.ini,386enh,,"32BitDiskAccess=on"
System.ini,386enh,,"DMABufferSize=64"
System.ini,386enh,,"PageBuffers=32"
System.ini,386enh,,"MinTimeSlice=40"
System.ini,386enh,,"MinSPs=8"
System.ini,386enh,,"MaxBPs=1500"
System.ini,386enh,,"MaxPagingFileSize=262144"
System.ini,386enh,,"MinPagingFileSize=262144"
System.ini,vcache,,"MinFileCache=16384"
System.ini,vcache,,"MaxFileCache=65536"
System.ini,vcache,,"ChunkSize=512"
[Uninstall.AddReg]
HKLM,"Software\Microsoft\Windows\CurrentVersion\FS Templates",,,"Desktop"
[Uninstall.DelReg]
HKLM,"%UninstallKey%"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Explorer","Max Cached Icons"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Explorer","BrowseNewProcess"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Explorer","SeparateProcess"
HKLM,"System\CurrentControlSet\Services\VxD\BIOS","CPUPriority"
HKLM,"System\CurrentControlSet\Services\VxD\BIOS","fastDRAM"
HKLM,"System\CurrentControlSet\Services\VxD\BIOS","AGPConcur"
HKLM,"System\CurrentControlSet\Services\VxD\BIOS","PCIConcur"
HKLM,"Software\Microsoft\Windows\CurrentVersion\FS Templates\Powerful"
[Uninstall.DelReg.Disk]
HKLM,"System\CurrentControlSet\Control\FileSystem","DriveWriteBehind"
HKLM,"System\CurrentControlSet\Control\FileSystem","ReadAheadThreshold"
HKLM,"System\CurrentControlSet\Control\FileSystem","DisableLowDiskSpaceBroadcast"
HKLM,"System\CurrentControlSet\Control\FileSystem","ContigFileAllocSize"
[Uninstall.UpdateInis]
System.ini,386enh,"ConservativeSwapfileUsage=*"
System.ini,386enh,"32BitDiskAccess=*"
System.ini,386enh,"DMABufferSize=*"
System.ini,386enh,"PageBuffers=*"
System.ini,386enh,"MinTimeSlice=*"
System.ini,386enh,"MinSPs=*"
System.ini,386enh,"MaxBPs=*"
System.ini,386enh,"MinPagingFileSize=*"
System.ini,386enh,"MaxPagingFileSize=*"
System.ini,vcache,"MinFileCache=*"
System.ini,vcache,"MaxFileCache=*"
System.ini,vcache,"ChunkSize=*"
[Strings]
UninstallKey="Software\Microsoft\Windows\CurrentVersion\Uninstall\Windows98TweaksGigAHerZ"
PackageName="Windows 98 Tweaks (by GigAHerZ)"
;
[Version]
Signature=$CHICAGO$
[DefaultInstall]
SmartReboot=A
AddReg=Install.AddReg,Install.AddReg.Disk
UpdateInis=Install.UpdateInis
CopyFiles=Install.CopyFiles
EndPrompt=Prompt.Reboot
[DefaultUninstall]
SmartReboot=A
Cleanup=1
AddReg=Uninstall.AddReg
DelReg=Uninstall.DelReg,Uninstall.DelReg.Disk
UpdateInis=Uninstall.UpdateInis
EndPrompt=Prompt.Reboot
[Prompt.Reboot]
Prompt="You must reboot your computer for the changes to take effect!"
[Install.CopyFiles]
tune16m.inf
[DestinationDirs]
Install.CopyFiles=17
[SourceDisksNames]
1=,,0
[Install.AddReg]
HKLM,"%UninstallKey%","DisplayName",,"%PackageName%"
HKLM,"%UninstallKey%","UninstallString",,"RunDll32.exe %11%\AdvPack.Dll,LaunchINFSection %17%\tune16m.inf,DefaultUninstall"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Explorer","BrowseNewProcess",,"1"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Explorer","SeparateProcess",65537,01,00,00,00
HKLM,"Software\Microsoft\Windows\CurrentVersion\Explorer","Max Cached Icons",,"256"
HKLM,"System\CurrentControlSet\Services\VxD\BIOS","CPUPriority",65537,01,00,00,00
HKLM,"System\CurrentControlSet\Services\VxD\BIOS","fastDRAM",65537,01,00,00,00
HKLM,"System\CurrentControlSet\Services\VxD\BIOS","AGPConcur",65537,01,00,00,00
HKLM,"System\CurrentControlSet\Services\VxD\BIOS","PCIConcur",65537,01,00,00,00
HKLM,"Software\Microsoft\Windows\CurrentVersion\FS Templates\Powerful",,,"Powerful PC"
HKLM,"Software\Microsoft\Windows\CurrentVersion\FS Templates\Powerful","NameCache",65537,a0,0f,00,00
HKLM,"Software\Microsoft\Windows\CurrentVersion\FS Templates\Powerful","PathCache",65537,80,00,00,00
HKLM,"Software\Microsoft\Windows\CurrentVersion\FS Templates",,,"Powerful"
[Install.AddReg.Disk]
HKLM,"System\CurrentControlSet\Control\FileSystem","DriveWriteBehind",1,03,ff,ff,ff
HKLM,"System\CurrentControlSet\Control\FileSystem","ReadAheadThreshold",65537,00,00,10,00
HKLM,"System\CurrentControlSet\Control\FileSystem","DisableLowDiskSpaceBroadcast",65537,1d,00,00,00
HKLM,"System\CurrentControlSet\Control\FileSystem","ContigFileAllocSize",65537,00,04,00,00
[Install.UpdateInis]
System.ini,386enh,,"ConservativeSwapfileUsage=1"
System.ini,386enh,,"32BitDiskAccess=on"
System.ini,386enh,,"DMABufferSize=64"
System.ini,386enh,,"PageBuffers=32"
System.ini,386enh,,"MinTimeSlice=40"
System.ini,386enh,,"MinSPs=8"
System.ini,386enh,,"MaxBPs=512"
System.ini,386enh,,"MaxPagingFileSize=262144"
System.ini,386enh,,"MinPagingFileSize=262144"
System.ini,vcache,,"MinFileCache=1024"
System.ini,vcache,,"MaxFileCache=4096"
System.ini,vcache,,"ChunkSize=512"
[Uninstall.AddReg]
HKLM,"Software\Microsoft\Windows\CurrentVersion\FS Templates",,,"Desktop"
[Uninstall.DelReg]
HKLM,"%UninstallKey%"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Explorer","Max Cached Icons"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Explorer","BrowseNewProcess"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Explorer","SeparateProcess"
HKLM,"System\CurrentControlSet\Services\VxD\BIOS","CPUPriority"
HKLM,"System\CurrentControlSet\Services\VxD\BIOS","fastDRAM"
HKLM,"System\CurrentControlSet\Services\VxD\BIOS","AGPConcur"
HKLM,"System\CurrentControlSet\Services\VxD\BIOS","PCIConcur"
HKLM,"Software\Microsoft\Windows\CurrentVersion\FS Templates\Powerful"
[Uninstall.DelReg.Disk]
HKLM,"System\CurrentControlSet\Control\FileSystem","DriveWriteBehind"
HKLM,"System\CurrentControlSet\Control\FileSystem","ReadAheadThreshold"
HKLM,"System\CurrentControlSet\Control\FileSystem","DisableLowDiskSpaceBroadcast"
HKLM,"System\CurrentControlSet\Control\FileSystem","ContigFileAllocSize"
[Uninstall.UpdateInis]
System.ini,386enh,"ConservativeSwapfileUsage=*"
System.ini,386enh,"32BitDiskAccess=*"
System.ini,386enh,"DMABufferSize=*"
System.ini,386enh,"PageBuffers=*"
System.ini,386enh,"MinTimeSlice=*"
System.ini,386enh,"MinSPs=*"
System.ini,386enh,"MaxBPs=*"
System.ini,386enh,"MinPagingFileSize=*"
System.ini,386enh,"MaxPagingFileSize=*"
System.ini,vcache,"MinFileCache=*"
System.ini,vcache,"MaxFileCache=*"
System.ini,vcache,"ChunkSize=*"
[Strings]
UninstallKey="Software\Microsoft\Windows\CurrentVersion\Uninstall\Windows98TweaksGigAHerZ"
PackageName="Windows 98 Tweaks (by GigAHerZ)"
;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment