How to Hide Local and Network Windows Drives [Tutorial]

Ask, publish your queries, articles, problems etc related with any programming, scripting, language.
Forum rules
Read : Boardwide Rules and Regulation. Note: All views/post within are the opinions/work of the respective posters only.

How to Hide Local and Network Windows Drives [Tutorial]

Postby solitaryyonker » May 5th, 2008, 3:02 am



Warning

This tutorial involve tampering with windows registry, you should be extremely careful while playing with these stuffs.

This tip is very useful for home users, particularly for those who wants to hide/secure there important data from other users. You can hide any specific local drive or all drives (physical and removable) of the system and network drives also. By disabling the display of drives, you can safe your personal data with a liitle edit.


To open regisrtry editor follow the given steps.

* To use this feature, you will need to be logged into your computer with administrative rights.

* Click Start button and type regedit in run option then press Enter for next.

Here is the actual tweaking process.

* In registry editor locate :

Code: Select all
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer


* Here in right side panel, check if already a DWORD with name NoDrives (Case Sensitive) is present if not then create one.

* Now if you want to hide system drives {Use with Care} then modify value data for the drives below to the one which is on front of them.

* Drive Number to hide

A: 1
B: 2
C: 4
D: 8
E: 16
F: 32
G: 64
H: 128
I: 256
J: 512
K: 1024
L: 2048
M: 4096
N: 8192
O: 16384
P: 32768
Q: 65536
R: 131072
S: 262144
T: 524288
U: 1048576
V: 2097152
W: 4194304
X: 8388608
Y: 16777216
Z: 33554432


All drives 67108863

* If you want to hide more than one drive, you simply add the drive amounts together for a combined total.

* For example, to hide the D:/ and T:/ drives, add the decimal value for the D:/ drive to the decimal value to the T:/ drive.

8 (D) + 524288 (T) = 524296

* To disable all of your visible drives, set the value to 67108863.

* Now close the registry editor and restart your computer to see the changes changes.

If you want to unhide drives then simply change the value of data box to "0" or delete the DWORD item.

To also restrict the access to the drive completely please refer This

Close the registry editor and restart your computer to see the changes.
Last edited by Admin on January 19th, 2009, 9:33 pm, edited 5 times in total.
Reason: Updated the article on request.
solitaryyonker
Poor Struggling Peasant
Poor Struggling Peasant
 
Posts: 1
Joined: May 5th, 2008, 2:46 am
Location: Cochin, India
Online: 0s
Operating System: Windows VISTA

Re: How to Hide Local and Network Windows Drives [Tutorial]

Postby Admin » May 5th, 2008, 11:45 am



Member "solitaryyonker",
Welcome On GYAN PITARA Forums.

Thanks for a nice tutorial dude keep it up. :D ;)
User avatar
Admin
Gyan Pitara Founder
Gyan Pitara Founder
 
Posts: 196
Joined: December 22nd, 2007, 11:55 pm
Location: Gurgaon, India
Online: 11d 3h 55m 25s
Operating System: Windows XP
Browser: Google Chrome
Gender: Male
MCA: Alumni

Re: How to Hide Local and Network Windows Drives [Tutorial]

Postby Piyush » May 22nd, 2008, 5:16 pm



Thanks for this, but how can i hide two or more drives.
Piyush
Poor Struggling Peasant
Poor Struggling Peasant
 
Posts: 1
Joined: April 17th, 2008, 8:23 pm
Online: 0s
Operating System: Windows VISTA

Re: How to Hide Local and Network Windows Drives [Tutorial]

Postby Admin » May 23rd, 2008, 10:56 am



Member "Piyush",
Welcome On GYAN PITARA Forums.

Thanks for the request. I have updated the article with the information to how to hide more than one drives by editing windows registry. Take a look at the first post by member "solitaryyonker" and enjoy.

If you encounter any other problem then do not hesitate to post it here. ;)
Follow The Rules. Be Yourself. Trust Yourself. :D
User avatar
Admin
Gyan Pitara Founder
Gyan Pitara Founder
 
Posts: 196
Joined: December 22nd, 2007, 11:55 pm
Location: Gurgaon, India
Online: 11d 3h 55m 25s
Operating System: Windows XP
Browser: Google Chrome
Gender: Male
MCA: Alumni

Re: How to Hide Local and Network Windows Drives [Tutorial]

Postby gauravg » January 19th, 2009, 6:35 pm



That's a good trick my dear, but i think it only hides (u can go inside through run), what if u also want to restrict drive ;) ?
gauravg
Poor Struggling Peasant
Poor Struggling Peasant
 
Posts: 1
Joined: January 19th, 2009, 6:28 pm
Online: 0s
Operating System: Linux SUSE
Browser: Internet Explorer

Re: How to Hide Local and Network Windows Drives [Tutorial]

Postby Admin » January 19th, 2009, 9:28 pm



Hello "gauravg"

Welcome on Gyan Pitara Forums.

Now,
gauravg wrote:That's a good trick my dear, but i think it only hides (u can go inside through run), what if u also want to restrict drive ;) ?


Yes that is true that it can only hide the details of the drive but you can still access the drive by "RUN". To also restrict the drive you have to follow the following steps.

==>> Go to following in registry editor.
Code: Select all
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer


==>> Here in right side panel, check if already a DWORD with name NoViewOnDrive (Case Sensitive) is present if not then create one.
==>> Rest follow the same steps as described in the first post.

If still you have problem then please let me know.
Enjoy :D !!
Follow The Rules. Be Yourself. Trust Yourself. :D
User avatar
Admin
Gyan Pitara Founder
Gyan Pitara Founder
 
Posts: 196
Joined: December 22nd, 2007, 11:55 pm
Location: Gurgaon, India
Online: 11d 3h 55m 25s
Operating System: Windows XP
Browser: Google Chrome
Gender: Male
MCA: Alumni


Return to Programming & Tutorials

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 2 guests