Remove all unnecessary functionality, such as scripts, drivers, features, subsystems, file systems, and unnecessary web servers.