To remove a mapped network drive that doesn't exist, open the command prompt as an administrator. Then run these commands one by one to remove the non-existent mapped drive from your system: net use and then net use X: /delete /force.