Depending on whether you need a simple tool for personal use or a forensically sound environment for investigations, there are several options for write blocker software.
A compact utility (under 200 Kb) that locks or unlocks write protection via a simple interface or command line. Write Blocker Software Download
Inside that key, create a new named WriteProtect . Set the value to 1 to enable protection or 0 to disable it. Digital Forensics Software Depending on whether you need a simple tool
A simple, lightweight freeware tool for Windows that toggles write protection with one click. Write Blocker Software Download