If certain folders like Home, Desktop, Applications, or All My Files are missing from your Finder sidebar even after checking them in Finder Preferences, you can try the solution mentioned above to restore the sidebar. Closing all Finder windows and selecting "Show Toolbar" under the "View" menu should bring back the missing folders.