counterproductive
coun‧ter‧pro‧duc‧tive /ˌkaʊntəprəˈdʌktɪv◂ $ -tər-/
adjective
Sending young offenders to prison can be counterproductive.
coun‧ter‧pro‧duc‧tive /ˌkaʊntəprəˈdʌktɪv◂ $ -tər-/
adjective Word Family: noun: produce, producer, product, production, reproduction, productivity; adjective: productive ≠ unproductive, counterproductive, reproductive, reproducible; verb: produce, reproduce; adverb: productively
achieving the opposite result to the one that you want: