Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

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 ?

1

Comments

2 comments
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

    1
  • 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.

    1