"Control Panel >> Programs >> Click Turn on or off Windows features >> Select IIS components, that you wish to un-install and proceed to do so.
If you have any web instance/virtual directory - pointing to a UNC path, you might have to change that to a local path, for IIS to un-install (MS acknowledged a bug with such scenarios) see link"