how to lock drive

  • rascal
  • Born
  • Born
  • No Avatar
  • Joined: Jan 22, 2008
  • Posts: 1
  • Status: Offline

Post January 22nd, 2008, 2:33 am

run regedit

go: HKEY_CURRENT_USER/SOFTWARES/MICROSOFT/WINDOWS/CURRENTVERSION/POLICIES/EXPLORER/

CREATE
DWORD VALUE NAME:
NoViewOnDrive
VALUE DATA 2^(DRIVE NUMBER -1)
EXAMPLE IF YOU WANT TO LOCK C DRIVE
C DRIVE HAS DECIMAL NUMBER 3
TO LOCK C DRIVE 2^(3-1)=4

[NOTE SELECT DECIMAL VALUE IN DWPRD]

after that RESTART PC

if you want unlock drive
delete registery you created
and restart
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post January 22nd, 2008, 2:33 am

  • deathblade
  • Proficient
  • Proficient
  • User avatar
  • Joined: Mar 08, 2007
  • Posts: 417
  • Loc: u.k
  • Status: Offline

Post January 22nd, 2008, 7:47 am

what do you mean by lock? stop you accessing it ? or stops you writing, editing and deleting things?
This is a block of text that can be added to posts you make. There is a 500 character limit.
  • grinch2171
  • Moderator
  • Genius
  • User avatar
  • Joined: Feb 11, 2004
  • Posts: 6330
  • Loc: Martinsburg, WV
  • Status: Offline

Post January 22nd, 2008, 7:53 am

Quote:
NoViewOnDrive


Looks like it hides it. There is another registry key which will prevent access as well.
  • deathblade
  • Proficient
  • Proficient
  • User avatar
  • Joined: Mar 08, 2007
  • Posts: 417
  • Loc: u.k
  • Status: Offline

Post January 22nd, 2008, 8:10 am

ar okies that makes sense lol i dnt see why you would want to but okies lol
This is a block of text that can be added to posts you make. There is a 500 character limit.
  • grinch2171
  • Moderator
  • Genius
  • User avatar
  • Joined: Feb 11, 2004
  • Posts: 6330
  • Loc: Martinsburg, WV
  • Status: Offline

Post January 22nd, 2008, 8:12 am

Playing jokes is one reason. Where I work we hide the drives so users don't go digging around where they shouldn't be.
  • deathblade
  • Proficient
  • Proficient
  • User avatar
  • Joined: Mar 08, 2007
  • Posts: 417
  • Loc: u.k
  • Status: Offline

Post January 22nd, 2008, 8:39 am

yeh i can understand at work but at home the only reason would be to hide summit you shouldn't have ;) or jokes
This is a block of text that can be added to posts you make. There is a 500 character limit.
  • Softix
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Jan 22, 2008
  • Posts: 10
  • Status: Offline

Post January 22nd, 2008, 10:51 am

lock c:

Lock the C: drive

When typing the above command you will receive the below prompt.

WARNING: The LOCK command enables direct access by programs
that can CORRUPT file names and/or DESTROY disk data, resulting in the
loss of files on your disk.

Are you sure (Y/N)?
  • grinch2171
  • Moderator
  • Genius
  • User avatar
  • Joined: Feb 11, 2004
  • Posts: 6330
  • Loc: Martinsburg, WV
  • Status: Offline

Post January 22nd, 2008, 11:06 am

Where did you get this information? I just tried it on an XP machine and it is not a recognized command.
  • Softix
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Jan 22, 2008
  • Posts: 10
  • Status: Offline

Post January 24th, 2008, 2:12 am

To lock the hard disk drive

lock x:

The x represents the letter of the hard disk drive that you wish to lock. For example, if you needed to lock the C: drive, type c in the place of x.
  • grinch2171
  • Moderator
  • Genius
  • User avatar
  • Joined: Feb 11, 2004
  • Posts: 6330
  • Loc: Martinsburg, WV
  • Status: Offline

Post January 24th, 2008, 2:37 am

You still didn't answer my question

Post Information

  • Total Posts in this topic: 10 posts
  • Users browsing this forum: No registered users and 143 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© Unmelted Enterprises 1998-2009. Driven by phpBB © 2001-2009 phpBB Group.