@mariaaaja27
Thank you for posting on the HP Support Community.
The HP Cloud Recovery Tool allows you to download recovery software to a USB drive. You can use the downloaded recovery image file in order to install the Windows operating system.
Click here: https://support.hp.com/in-en/document/c06162205 to Use the HP Cloud Recovery Tool (Windows 10, 7)
Hope this helps! Keep me posted for further assistance.
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
ECHO_LAKE
I am an HP Employee