I have an iis 6 server that someone else used before and there are a few applications in the defaultAppPool. I would like to be able to only keep the default application.
How can I remove an application from an application pool?
If you want to move them, and not just delete the applications, you'll need to create another application pool if you don't have one: Open IIS Manager, right click application pools, New, Application Pool.
Then go the application you want to move out of the default app pool, right click properties, go the the Home Directory Tab, and select the new/different application pool.
Simple as that.
FYI, it'll kill any sessions in that application when you move it.
Simply add the folders back to the drive with the same paths and names. They can be empty. Then refresh IIS and the applications should show there again. Delete the applications in IIS, then you can delete the folders again. Refresh IIS and they should be gone.