Guest sucahyo Posted November 20, 2009 Share Posted November 20, 2009 (edited) This is a wonderfull section for Windows 98 lover like me.One great advantage of Windows 9x is the ability to compress/defrag the registry. There are several application that offer this. We can also do it manually. Windows also has standard application for registry compress/defrag, scanreg. This process can be very slow, we can do it much faster with the help of ramdrive.sys.Step 1, backup the registry:To compress Windows 9x registry you need to back the registry first. The fastest thing to do this is from inside Windows GUI. You can do this at boot command prompt to but it will be a lot slower.I usually use date as registry file name to make it easier for me to remember it from command prompt. command:regedit /e c:\20091120.txtStep 2, enabling ramdrive:We use ramdrive to allow faster processing of registry. We can also skip this step but it will make registry import process a lot slower.Put more line config.sys:device=c:\windows\setver.exedevice=c:\windows\himem.sysdevice=c:\windows\ramdrive.sys 30000 512 /ERemember the resulting ramdrive drive. For this example I use h: Step 3, importing backup:If you skip ramdrive then the command at boot command prompt is:regedit /c c:\20091120.txtIf you use ramdrive then the command at boot command prompt is:cd windowsattrib -r -h -scopy system.dat h:\copy user.dat h:\copy system.dat system.savcopy user.dat user.savregedit /l:h:\system.dat /r:h:\user.dat /c c:\20091120.txt.............copy h:\*.dat c:\windowsAfter this use "edit" to change the config.sys to remove the ramdrive line.edit c:\config.sysIf something wrong happen during registry import, copy back the file backup to original at boot command prompt:c:\cd windowsattrib -r -h -scopy system.sav system.datcopy user.sav user.datIf your registry never been compressed before you will notice a significant application response time.PS. I write this from my memory. Please mention any wrong syntax. Edited November 20, 2009 by sucahyo Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now