SysChat is a free online computer support community. Ask questions, share resources, contribute knowledge and discuss technology. Join our growing community to access all features. Register Now!

CD/DVD Hard Drives and Memory

Support and discuss ram, hard drives, usb drives, cd/dvd burners and drives

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 05-30-2008, 07:58 AM
neumantimmy neumantimmy is offline
Junior Member
 
About:
Join Date: Apr 2008
Posts: 2
neumantimmy is on a distinguished road

Default Lock Drive


please is there a way i can lock a drive e.g flask disk etc in the registry?



Reply With Quote
  #2 (permalink)  
Old 05-30-2008, 01:54 PM
lurkswithin's Avatar
lurkswithin lurkswithin is offline
Senior Member
 
About:
Join Date: Jan 2008
Location: Texas
Posts: 1,233
lurkswithin has a spectacular aura aboutlurkswithin has a spectacular aura aboutlurkswithin has a spectacular aura about

Default


by lock...do you mean make it unaccessible? or hide it...as can't see it to open it or use it?

You can hide any of drive with registry editing. But then you would need to re-edit the registry each time that you needed to use the drive!

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.



Reply With Quote
Reply




Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Boot XP and Vista with XP already installed with XP drive missing after install kilmako Operating Systems 0 12-05-2007 02:38 PM
Guide to Buying Hard Drives Sami Hardware 0 05-04-2006 01:54 PM
How to create a mirror image of your hard drive Sami Articles 0 03-07-2006 11:48 PM
How to install a Hard Drive Sami Hardware 0 02-17-2006 08:28 PM
Strategies to Maximize the Life of Your Hard Drive Sami Articles 0 02-08-2006 03:57 AM

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 Off
Pingbacks are Off
Refbacks are on



» Ads



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54