1. Go to Start Menu and type "gpedit.msc".
2. Click on "User configuration" and then on "Administrative templates" after that on "windows components" and at last on "windows explorer"
3. Now on the right search for Hide these specified drives in my computer and double click on it (a new window will appear)
4. In that new window click on "Enable" and choose any of the hiding options as per your requirement.
To un-hide the drive just click on disable