Fixed error handling for the enabling of PS Remoting