How do I add a "Y" at the end of step ?

As per my other posts, I managed to detect a registry key that occurs in some of the PCs (mainly Win10, a few Win11).

But I tested a command and it still asked to press Y. 

REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Endpoint Backup" /v "RecoveryMediaUpdateRequired" /f

Else if I run the step, the error log will appear with many lines "press Y to continue...:

So is there a way to make a step to press Y ?



Date Votes
  • Adrian,

    That is weird, the /f switch should force the deletion without prompt. You can try this:

    echo Y | REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Endpoint Backup" /v "RecoveryMediaUpdateRequired" /f

  • I did asked a lot of people but they think it might be due to that I am removing a string and not the value.

    That command works.


Please sign in to leave a comment.

Didn't find what you were looking for?

New post