Checking Return Status in Desktop