I seem to remember the trick with the W98 built in defrag tool was to ensure there eas nothing else running that could write to the disk. So, disconnect from the internet, disable the auto dialer and stop all processes that may access the disk.
Cannot think of all the likely candidates right now, as I haven't used W9x for a while.