Some will easily, some really never will. Depends on how old and how set in their ways they are. Can try:

Feeding a small live prey item, immediately offer a f/t prey item right after they're done the first one.

Entice the snake with the f/t and then leave it in the cage with it, turn the lights off and just leave it alone. Hopefully in the morning, it will be gone.

Or, sometimes they just have to be really hungry before they'll stop being so snobby and take what you have to give them. This method requires a lot of patience and paying attention to how their weight is. Obviously, you don't want to starve or neglect the snake. Feeding live sucks though, so whatever it takes is worth it. (Without ever jeopardizing the snake's health, of course.)