Single server queues with repeated attempts are useful inthe modeling of computer and telecommunication systems. In addition, weconsider in this paper the possibility of disasters. When a disasteroccurs, all the customers present in the system are destroyedimmediately. Using a regenerative approach, we derive a numericallystable recursion scheme for the state probabilities. This model can beemployed to analyze the behaviour of a buffer in computers with virusinfections.