How tp Disable or Enable USB Write Access via Registry

Although USB removable storage devices can be disabled but there are times when you need to access the files that are stored in pendrive. Here is how to disable write access to USB drives by making them read only.
Raymond
Windows