Hide backup drives from malware


Active Member
I have implemented a method to 'hide' external USB backup drives from Windows.

The process works as follows:

- use Device Manager to determine the Hardware ID or Parent ID of the USB drive
- label the USB drive appropriately
- create a script to invoke Removedrive (freeware by Uwe Sieber) with disk label
- run this script automatically at Windows startup
The USB backup drive will not be visible via Windows Explorer
- create a script to invoke RestartSrDev (freeware by Uwe Sieber) with the hardware or parent ID of the USB drive
- invoke this script to 'unhide' the backup drive
- run the backup (Iperius free backup is amazing!)
- invoke the 'hide' script after the backup

The 'hide' and 'unhide' scripts can also be made available as Desktop shortcuts to allow viewing of the USB backup drive contents

This is a free and simple method to protect backup data from ransomware and other malware and eliminates the human factor of remembering to un\plug USB drives when the backup drive is not in use.
Last edited: