1)press windows key + r it will open run

2)in run type cmd and press enter now u r in command prompt,

type “diskpart” (without quotes)

now you will enter into diskpart prompt ( like this DISKPART:> )

3) type list volume

it will display all the drives (hard disc ,DVD ,REMOVABLE DISKS)1

4) select one drive EXPECT THE DRIVE in which OPERATING SYSTEM IS INSTALLED .

for example

i have selected drive G and its volume number is 7

to do it

type select volume 7

now the feedback volume 7 is selected will be displayed after that command execution

5) to remove or hide the drive

do this

type remove letter G

as G is the label for volume 7

6) to reassign or unhide the HIDDEN DRIVE

type assign letter G
thats it drive will reappear ..

ALL the above steps in one example

run
type cmd
c:>DISKPART
DISKPART:>list volumes

DISKPART:>select volume 7
DISKPART:>remove letter G

the above is to remove or hide drive

to unhide the drive ,instead of last step do this one
DISKPART:>assign letter G