Forum     

Go Back   Digit Technology Discussion Forum > Community > Tutorials
Register FAQ Calendar Mark Forums Read

Tutorials This section offers tutorials and How to's on just about anything related to computers and IT. Note: All tutorials are courtesy the posters and not verified by Digit

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 13-12-2006, 08:42 AM   #1 (permalink)
Broken In
 
anilmail17's Avatar
 
Join Date: Aug 2004
Location: 127.0.0.1
Posts: 149
Wink Hide and lock any drive(s) using regedit

You can hide any of drive(s) by just adding two keys in windows registry

goto start>run

Type regedit and press enter. This will bring you to the registry editor.To hide any drive you have to follow these 2 steps

STEP1: Hidding Drive
goto HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer now create a new DWORD value NoDrives and set its value as

2^(Alpha Number of Drive Letter-1)
where Alpha number are simple counting of alphabets from A to Z as 1 - 26

for example: to hide C drive
Alpha number of C is 3 so 2^(3-1) = 4 (decimal value)

If you want to hide more than one drive than calculate the value of each drive as explained and then set sum of those numbers as value

Step2: Prevent Access to the drive
Now as we have make our drive invisbble but it is still accesible so to lock the drive we will create another DWORD value at

HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer
create a new DWORD value NoViewOnDrive and set its value same as you have calculated for hidding the drive(s)

Now your drive is locked. If you want to unlock and unhidden the drive then just delete these two keys and your drive is again accessible. You can also create two .reg files one for hidding and locking and another one for unlocking and unhidding
anilmail17 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 16-12-2006, 07:03 PM   #2 (permalink)
Wise Old Owl
 
Tech Geek's Avatar
 
Join Date: Sep 2006
Location: Cyber Hell
Posts: 1,602
Default Re: Hide and lock any drive(s) using regedit

Nice tut
__________________
Behind every good computer... is a jumble of wires 'n stuff
Tech Geek is offline  
Old 17-12-2006, 05:44 PM   #3 (permalink)
Coming back to life ..
 
it_waaznt_me's Avatar
 
Join Date: Nov 2003
Location: A bit closer to heaven
Posts: 1,995
Default Re: Hide and lock any drive(s) using regedit

It willl be still accesible if you type C: {Press Enter} in Run or Address Bar . ..
__________________
Sleight of hand and twist of fate...
On a bed of nails she makes me wait...
And I wait without you ...
With or without you ..
----
Batty = Too Busy Now !!!
it_waaznt_me is offline  
Old 17-12-2006, 08:47 PM   #4 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default Re: Hide and lock any drive(s) using regedit

If u use NoViewOnDrive, then it'll not be accessible
__________________
http://www.AskVG.com/
Vishal Gupta is offline  
Old 18-12-2006, 12:55 PM   #5 (permalink)
The Researcher
 
Join Date: Mar 2006
Location: Mumbai
Posts: 1,122
Default Re: Hide and lock any drive(s) using regedit

I request all the registry gurus to include the "reg' files" so that the uninitiated will not mess up their registry while doing something. Moreover mistakes are less likely to happen
Ramakrishnan is offline  
Old 18-12-2006, 01:33 PM   #6 (permalink)
Human Spambot
 
Kiran.dks's Avatar
 
Join Date: Apr 2006
Location: Pune, India
Posts: 2,501
Default Re: Hide and lock any drive(s) using regedit

^^^Also leave a caution message: BACKUP YOUR REGISTRY BEFORE DOING CHANGES!
__________________
Kiran Kumar R
Kiran.dks is offline  
Old 18-12-2006, 02:03 PM   #7 (permalink)
Broken In
 
anilmail17's Avatar
 
Join Date: Aug 2004
Location: 127.0.0.1
Posts: 149
Default Re: Hide and lock any drive(s) using regedit

we all learn from mistake. Iif something goes wrong by a registry learner then its good, he will learn from that and i cannot create a .reg file for this tutorial because value of DWORD used is diffrent for each drive
__________
Yaa Kiran_tech_mania u r right. I forgot to add the line of Caution and a line of advice
Caution: Playing with registry always is dangerous.
Advice: always backup your registry

Last edited by anilmail17; 19-12-2006 at 01:13 PM. Reason: Automerged Doublepost
anilmail17 is offline  
Old 19-12-2006, 05:31 AM   #8 (permalink)
In The Zone
 
jatt's Avatar
 
Join Date: Dec 2006
Location: (punjab) ਪੰਜਾਬ
Posts: 348
Default Re: Hide and lock any drive(s) using regedit

thanks anilmail17 for good tut to share
jatt is offline  
Old 19-12-2006, 01:26 PM   #9 (permalink)
ax3
Cool as a CUCUMBAR ! ! !
 
ax3's Avatar
 
Join Date: Dec 2003
Posts: 5,002
Default Re: Hide and lock any drive(s) using regedit

fantastic tut .... implemented & its working ....

NOW i can hide my stuff on 1 FULL drive instead of just hidding those folders & hoping no 1 accesses them when i am not present .......

thanx a MILLION TIMES 2 all .........
ax3 is offline  
Old 22-12-2006, 12:46 PM   #10 (permalink)
Broken In
 
kirtan's Avatar
 
Join Date: Sep 2006
Location: Kernel
Posts: 133
Default Re: Hide and lock any drive(s) using regedit

thanks dude for the info!
__________________
Water can flow or it can crash.Be Water my friend.
kirtan is offline  
Old 30-12-2006, 12:28 PM   #11 (permalink)
Ron
||uLtiMaTE WinNER||
 
Ron's Avatar
 
Join Date: Nov 2006
Location: Kathmandu,Nepal
Posts: 698
Default Re: Hide and lock any drive(s) using regedit

Good Tutorial.......
Keep Going...........
Ron is offline  
Old 27-01-2007, 02:26 PM   #12 (permalink)
Right Off the Assembly Line
 
Join Date: Jun 2006
Posts: 25
Default Re: Hide and lock any drive(s) using regedit

thanx m8,its gr8......
vivekrm007 is offline  
Old 02-02-2007, 01:46 PM   #13 (permalink)
Šupər♂ - 超人
 
koolbluez's Avatar
 
Join Date: Oct 2004
Location: Look up... up in da sky... see me yet? Nah... Use a telescope, dumbo!
Posts: 1,621
Default Re: Hide and lock any drive(s) using regedit

nniiiiccccceeeee
__________________
Windows ka tashan... koolbluez ishtyle - http://lin.cr/ss
I almost forgot this - http://www.thinkdigit.com/forum/showthread.php?t=6242

Last edited by koolbluez; 06-02-2007 at 10:55 PM.
koolbluez is offline  
Old 02-02-2007, 04:49 PM   #14 (permalink)
In The Zone
 
Join Date: Sep 2006
Posts: 319
Default Re: Hide and lock any drive(s) using regedit

Gud one
__________________
Visit now
www.indiandevs.com - for great free designs
www.indiandevs.com/technoworld/ for latest technology news and tricks
Siddharth Maheshwari is offline  
Old 02-02-2007, 05:35 PM   #15 (permalink)
Core i7 (nehalem) Owner
 
ashu888ashu888's Avatar
 
Join Date: Jan 2005
Location: Mumbai
Posts: 3,375
Default Re: Hide and lock any drive(s) using regedit

Thanx, nice trice Ace...
__________________
Core i7-920
MSi X58 Pro-E
Corsair 3x1GB
Tagan BZ1100
GTX280 SSC+MSi N580GTX TWIN FROZR II/OC
WD 1TB
22" Samsung 2233SW
APC SUA1500i UPS

Core i7:thinkdigit.com/forum/showthread.php?t=110397
ashu888ashu888 is offline  
Old 06-02-2007, 04:17 PM   #16 (permalink)
Broken In
 
anilmail17's Avatar
 
Join Date: Aug 2004
Location: 127.0.0.1
Posts: 149
Default Re: Hide and lock any drive(s) using regedit

To hide more than one drive find the number for both drive separately and then and them in decimal, use the result value and set them as value for NoDriveOnView and NoDrives
__________________
visit my blog
www.anilsoni.wordpress.com
anilmail17 is offline  
Old 06-02-2007, 10:41 PM   #17 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default Re: Hide and lock any drive(s) using regedit

A small info about restricting drives here:

TUTORIAL: All Kinds of Restrictions for Windows XP/2003
__________________
http://www.AskVG.com/
Vishal Gupta is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 07:53 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2