Would like to hide a nvme storage drive,trying to do it in the register editor. I can do it by hand but a bat file would be faster. Something like this with two different files on desktop.
Hide with this HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
“NoDrives”=dword:33554432
Show with this HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
“NoDrives”=dword:0
Thinking I might have to do a restart for it to take affect, is there a way to not do a restart and run these two bat files?
Hide with this HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
“NoDrives”=dword:33554432
Show with this HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
“NoDrives”=dword:0
Thinking I might have to do a restart for it to take affect, is there a way to not do a restart and run these two bat files?
My Computer
System One
-
- OS
- Windows 11
- Computer type
- PC/Desktop
- Manufacturer/Model
- Self made
- CPU
- I& 13700k
- Motherboard
- ASrock Z790 Steel Legend
- Memory
- 32 gig DDR5
- Graphics Card(s)
- 3060
- PSU
- CORSAIR RMx Series 850 watt
- Browser
- Edge
- Antivirus
- Bitdefender