Question: I have an application in one of my application pools that has a virtual path of `/Site/login.aspx`. I want to remove it but it no longer exists on my computer and it's causing me issues setting up AppFabric.

I understand that you can remove these phantom applications by recreating the application in IIS and then hitting Remove. That will get rid of the application from the pool but in this case I can't recreate the application due to the `/login.aspx` in the virtual path

Any ideas how I remove this erroneous entry?

Answer: 
This is probably safer and simpler than editing applicationHost.config. 

```
Powershell  
PS C:\Windows\system32> import-module WebAdministration
PS C:\Windows\system32> iis:
PS IIS:\> cd .\AppPools
PS IIS:\AppPools> ls
PS IIS:\AppPools> del [name of phantom AppPool]  

```
Much more simple:

1. View stale application X and remember the (old) path Y
2. Create the (old) path / folder Y with Explorer
3. Refresh IIS Management Console
4. You will find the just created folder Y and assigned application X
5. Right click on (old) application X and choose "Remove"
6. Remove path Y with Explorer
7. Refresh IIS Management Console again
8. Hurray