repair functionality for shareing the desktop