That would stop Windows 9x from running at all which is not the question he asked was it?

Just modify a few registry entries in the IP section of the registry and they won't log onto any network but can still run.