fruitlessly

Definition

In a way that produces no useful result; without success.

Example

"He fruitlessly attempted to start the old car for nearly an hour."