Carpet cleaning can remove protection from the carpet, including Scotchgard. This can depend on the type of protection and the cleaning method used. It is recommended to check the manufacturer's instructions for the product and consult with a professional if necessary.