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 22-02-2008, 02:43 PM   #1 (permalink)
vaibhavtek
Guest
 
Posts: n/a
Talking Write Protected USB


Make a write Protected USB Drive



Today USB drive also known as keychain drive is becoming the most popular removable storage device to move data to different locations. USB drives are available in the market with different features, for example password protected, compatible with all windows versions and extra storage capacity (up to 65 GB).


A common security issue at organizations is how to prevent their workers to write data onto USB drives using their PCs, because a user can easily move confidential data for other location.





If you have windows XP with SP2, then you can disable the writing option to USB drives.

Follow the given steps to disable the USB writing option:-
1. To edit the computer registry, first you should log onto your computer with administrative rights.
First click on Start button and type "Regedit" in Run option.





2. Here locate the location to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l
Here in right side panel, click right to create a key with the name "StorageDevicePolicies".




3. Now in left side panel, select "StorageDevicePolicies" key, again right click to create new DWORD value then label it "WriteProtect".





4. Set its value to "1". But again enable this option set its values "0".





5. Now close the registry editor and restart your computer after any changes to go into effect.

Source

Last edited by vaibhavtek; 22-02-2008 at 09:08 PM.
 
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 22-02-2008, 03:12 PM   #2 (permalink)
Broken In
 
Join Date: Oct 2007
Posts: 140
Default Re: Write Protected USB

Keep it up,Vaibhav.Keep contributing and posting sensible things and you will be highly respected.And thankyou,it was very helpful.
Count Dracula is offline  
Old 22-02-2008, 03:15 PM   #3 (permalink)
vaibhavtek
Guest
 
Posts: n/a
Default Re: Write Protected USB

Thanks buddy for repling and appretiang my share with u.

Waiting for more comments from senior members as well as Fresh Stock members of this forum...!!!
 
Old 22-02-2008, 03:33 PM   #4 (permalink)
Mad and Furious
 
redhat's Avatar
 
Join Date: May 2006
Location: Visual Basic 6.0
Posts: 453
Default Re: Write Protected USB

Hey Vaibhav,
1) Thanks for learning to post the source
2) This info was usefull
3) Your title is wrong, this does not teach write-protecting a USB Drive, it shows how to prevent writing TO a USB Drive
redhat is offline  
Old 22-02-2008, 03:50 PM   #5 (permalink)
The Smaller Bang
 
MetalheadGautham's Avatar
 
Join Date: Sep 2007
Location: Gautham City
Posts: 7,492
Default Re: Write Protected USB

yet another mistaken post. You told how to STOP people from writing to a pendrive ON the Computer. This hardly has any advantage, as the employers can't go and lock every single employee's computer only to realise that the employee can set it back.

A better methord will be to make the pendrive use an encrypted filesystem that needs either a password, or some critical system data thats unique to each system, to read/write data on it.
__________________
http://TheSmallerBang.wordpress.com
eMachines E725 - T4400 2.2GHz, 1GB, 160GB
Nokia 5130XM * T-Sonic 610 2GB
Nokia 2323C * Samsung Galaxy Y
Apple iPad 2 16GB WiFi
MetalheadGautham is offline  
Old 22-02-2008, 03:59 PM   #6 (permalink)
vaibhavtek
Guest
 
Posts: n/a
Default Re: Write Protected USB

Quote:
Originally Posted by redhat View Post
Your title is wrong, this does not teach write-protecting a USB Drive, it shows how to prevent writing TO a USB Drive
Mods plz do the this.

Quote:
Originally Posted by redhat View Post
This info was usefull
Thanks.

Quote:
Originally Posted by MetalheadGautham View Post
yet another mistaken post. You told how to STOP people from writing to a pendrive ON the Computer. This hardly has any advantage, as the employers can't go and lock every single employee's computer only to realise that the employee can set it back.
Correctly said this is the only disadvantage of this process.


Quote:
Originally Posted by MetalheadGautham View Post
A better methord will be to make the pendrive use an encrypted filesystem that needs either a password, or some critical system data thats unique to each system, to read/write data on it.
Can it be possible using any software or registry trick or anything.
If possible.
Plz make a tutorial.
I need that.

Quote:
Originally Posted by redhat View Post
Hey Vaibhav,
Thanks for learning to post the source
correctly said

Waiting for some more comments.

Last edited by vaibhavtek; 22-02-2008 at 03:59 PM. Reason: Automerged Doublepost
 
Old 22-02-2008, 04:09 PM   #7 (permalink)
Atarangi Keeda
 
viruss's Avatar
 
Join Date: Feb 2008
Location: Mumbai
Posts: 25
Default Re: Write Protected USB

you made registry hack. but it will prevent PC from writing on USB...
but is it possible to make USB write protected as floppy?
As there are virus problems coming via USB
__________________
My Latest Purchase :-- SE W810i & Phillips MP3 Player.........
viruss is offline  
Old 22-02-2008, 04:11 PM   #8 (permalink)
ico
.
 
ico's Avatar
 
Join Date: Jun 2007
Location: New Delhi
Posts: 8,936
Default Re: Write Protected USB

Quote:
Originally Posted by vaibhavtek View Post
Mods plz do the this.
Thanks.
You'll have to PM to get it done......aise hi nahi hota

Anyways, Topgear had also posted a tutorial similar to this discovered on his own:

Disable Access to USB Mass Storage Drive
__________________
.
ico is offline  
Old 22-02-2008, 04:16 PM   #9 (permalink)
The Smaller Bang
 
MetalheadGautham's Avatar
 
Join Date: Sep 2007
Location: Gautham City
Posts: 7,492
Default Re: Write Protected USB

if you need to prevent access, try NTFS Encrypted partition. I am not sure how it works, but apparently only the OS install that creates this partition has ability to access this partition. Even a reinstall will make the drive unreadable.
__________________
http://TheSmallerBang.wordpress.com
eMachines E725 - T4400 2.2GHz, 1GB, 160GB
Nokia 5130XM * T-Sonic 610 2GB
Nokia 2323C * Samsung Galaxy Y
Apple iPad 2 16GB WiFi
MetalheadGautham is offline  
Old 22-02-2008, 04:18 PM   #10 (permalink)
ico
.
 
ico's Avatar
 
Join Date: Jun 2007
Location: New Delhi
Posts: 8,936
Default Re: Write Protected USB

Quote:
Originally Posted by viruss View Post
you made registry hack. but it will prevent PC from writing on USB...
but is it possible to make USB write protected as floppy?
As there are virus problems coming via USB
Dude he has hasn't made this registry trick.

Anyways, there are pen drives which cannot be accessed until we enter a password. If you get those then it will be well and good. And also when you insert a pendrive, don't open it through the dialog box. I mean to say cancel that dialog box. Then have a scan. Open the drive after the scan.

---------------
Quote:
Originally Posted by MetalheadGautham View Post
if you need to prevent access, try NTFS Encrypted partition. I am not sure how it works, but apparently only the OS install that creates this partition has ability to access this partition. Even a reinstall will make the drive unreadable.
NTFS is not good for Flash drives as it is a journaling file system. It will wear out the flash chip and decrease its life. FAT and FAT32 are the best for them.
__________________
.

Last edited by ico; 22-02-2008 at 04:20 PM. Reason: Automerged Doublepost
ico is offline  
Old 22-02-2008, 04:31 PM   #11 (permalink)
The Smaller Bang
 
MetalheadGautham's Avatar
 
Join Date: Sep 2007
Location: Gautham City
Posts: 7,492
Default Re: Write Protected USB

Quote:
Originally Posted by gagandeep View Post
Dude he has hasn't made this registry trick.

Anyways, there are pen drives which cannot be accessed until we enter a password. If you get those then it will be well and good. And also when you insert a pendrive, don't open it through the dialog box. I mean to say cancel that dialog box. Then have a scan. Open the drive after the scan.

---------------

NTFS is not good for Flash drives as it is a journaling file system. It will wear out the flash chip and decrease its life. FAT and FAT32 are the best for them.
if you think FAT or FAT32 is the only solution for you, you must be from the '80s. Try the follosing pro setup if you need max security:

1. YAFFS2 file system as base

the world's best flash file system, and increases the life span of your pen drive a lot


2. eCryptFS file system running overhead

a cryptographic file system that can encrypt data on the fly while adding files.
this baby can offer maximum levels of reliable security for your data
__________________
http://TheSmallerBang.wordpress.com
eMachines E725 - T4400 2.2GHz, 1GB, 160GB
Nokia 5130XM * T-Sonic 610 2GB
Nokia 2323C * Samsung Galaxy Y
Apple iPad 2 16GB WiFi
MetalheadGautham is offline  
Old 22-02-2008, 04:34 PM   #12 (permalink)
-----ATi-----
 
nvidia's Avatar
 
Join Date: May 2007
Location: Bangalore
Posts: 2,322
Default Re: Write Protected USB

OMG!! Vaibav has put the source!!!!
__________________
http://twitter.com/akshayms
nvidia is offline  
Old 22-02-2008, 04:38 PM   #13 (permalink)
ico
.
 
ico's Avatar
 
Join Date: Jun 2007
Location: New Delhi
Posts: 8,936
Default Re: Write Protected USB

Quote:
Originally Posted by MetalheadGautham View Post
if you think FAT or FAT32 is the only solution for you, you must be from the '80s. Try the follosing pro setup if you need max security:

1. YAFFS2 file system as base

the world's best flash file system, and increases the life span of your pen drive a lot


2. eCryptFS file system running overhead

a cryptographic file system that can encrypt data on the fly while adding files.
this baby can offer maximum levels of reliable security for your data
Who says that I think that FAT & FAT32 are the only solutions..... I had meant if he wants full accessibility wherever he goes....

If he has to take his pen drive to his office, then he'll have to install 3rd party utilities for accessing his YAFFS2 file system.

I've just opposed you because you said him to use NTFS. NTFS is a journaling file system. So, it is going to write very frequently to the pen drive and thus will wear out flash.
__________________
.
ico is offline  
Old 22-02-2008, 05:18 PM   #14 (permalink)
vaibhavtek
Guest
 
Posts: n/a
Cool Re: Write Protected USB

Quote:
Originally Posted by nvidia View Post
OMG!! Vaibav has put the source!!!!

Nividia stop pulling my leg.

U are in my messenger list as friend then why are u always against me in this forum...!!

Anyways did u like this tutorial....???

Quote:
Originally Posted by viruss View Post
you made registry hack. but it will prevent PC from writing on USB...
but is it possible to make USB write protected as floppy?
As there are virus problems coming via USB
A floppy disk can be maked write-protected when the plastic tab at the top has been moved to reveal a "hole" in the disk.

But it can be still access if user do move the hole opposite.

I think is not possible using Registry Hack.

But still wait for VG > Vishal Gupta > Vis(hal Gup)ta > Mr. Regisrty
^^
He is very good in registry.

P.S. No one use floopy disk these day all use either a CD or USB drive..

Last edited by vaibhavtek; 22-02-2008 at 05:18 PM. Reason: Automerged Doublepost
 
Old 22-02-2008, 06:56 PM   #15 (permalink)
Dreamweaver
 
Gigacore's Avatar
 
Join Date: Aug 2006
Location: Bangalore
Posts: 3,904
Default Re: Write Protected USB

good. i think he always wants to leave out something funny in his posts. the pink title is
__________________
Today's noobs are tomorrow's geeks. Don't make fun of them.. encourage them. - Gigacore

Follow me on twitter.com/gigacore
Gigacore is offline  
Old 22-02-2008, 07:24 PM   #16 (permalink)
Wire muncher!
 
infra_red_dude's Avatar
 
Join Date: Nov 2003
Posts: 6,164
Default Re: Write Protected USB

Quote:
Originally Posted by vaibhavtek View Post
Can it be possible using any software or registry trick or anything.
If possible.
Plz make a tutorial.
I need that.
Truecrypt is the answer to all your needs!
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good."

http://phoenix-ani.blogspot.com
infra_red_dude is offline  
Old 22-02-2008, 08:07 PM   #17 (permalink)
Alpha Geek
 
Join Date: Nov 2004
Location: | Earth |
Posts: 735
Default Re: Write Protected USB

@infra_red_dude

Can anyone please post how to do in Truecrypt ?

I have USB & want people just to read the data.. Dont have hardware lock switch.. Please share..
PraKs is offline  
Old 22-02-2008, 08:13 PM   #18 (permalink)
-----ATi-----
 
nvidia's Avatar
 
Join Date: May 2007
Location: Bangalore
Posts: 2,322
Default Re: Write Protected USB

@Vaibav: I have just one doubt... Why have you used the "" thread icon instead of "" icon?
__________________
http://twitter.com/akshayms
nvidia is offline  
Old 22-02-2008, 08:30 PM   #19 (permalink)
Wire muncher!
 
infra_red_dude's Avatar
 
Join Date: Nov 2003
Posts: 6,164
Default Re: Write Protected USB

Quote:
Originally Posted by PraKs View Post
@infra_red_dude

Can anyone please post how to do in Truecrypt ?

I have USB & want people just to read the data.. Dont have hardware lock switch.. Please share..
Not enuf time to post the whole thing first hand but I'm sure these will help:

1) Guide on official site: http://www.truecrypt.org/docs/?s=tutorial
2) Guide for use on Linux: http://www.howtoforge.com/truecrypt_data_encryption
3) Another good step by step guide: http://www.juand.ca/how-to-secure-your-usb-thumbdrive/
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good."

http://phoenix-ani.blogspot.com
infra_red_dude is offline  
Old 22-02-2008, 08:36 PM   #20 (permalink)
-----ATi-----
 
nvidia's Avatar
 
Join Date: May 2007
Location: Bangalore
Posts: 2,322
Default Re: Write Protected USB

Quote:
Originally Posted by vaibhavtek View Post
Nividia stop pulling my leg.
U are in my messenger list as friend then why are u always against me in this forum...!!
There is no such thing that if someone is there in your messenger list, then they have to be your friend. Btw, it was you who added me into your messenger list not me.

Btw, stop posting the same lines in other threads where I've posted something against you
__________________
http://twitter.com/akshayms
nvidia is offline  
Old 22-02-2008, 09:06 PM   #21 (permalink)
In The Zone
 
pushkaraj's Avatar
 
Join Date: Oct 2006
Location: Mumbai
Posts: 430
Default Re: Write Protected USB

Quote:
Originally Posted by MetalheadGautham View Post
1. YAFFS2 file system as base

the world's best flash file system, and increases the life span of your pen drive a lot

Check this out:

Quote:
In practice, flash file systems are only used for "Memory Technology Devices" ("MTD"), which are embedded flash memories that do not have a controller. Removable flash memory cards and USB flash drives have built-in controllers to perform wear-levelling and error correction so use of a specific flash file system does not add any benefit.
Source : http://en.wikipedia.org/wiki/Flash_memory

I dont know how true this is....
__________________
The statistics on sanity are that 1 out of every 4 humans is suffering from some form of mental illness:shock:
Think of your 3 best friends. If they are OK, then it's YOU:grin::grin::grin:

Last edited by pushkaraj; 22-02-2008 at 09:13 PM.
pushkaraj is offline  
Old 22-02-2008, 09:09 PM   #22 (permalink)
vaibhavtek
Guest
 
Posts: n/a
Default Re: Write Protected USB

Quote:
Originally Posted by Gigacore View Post
good. i think he always wants to leave out something funny in his posts. the pink title is
thanks.
edited

Quote:
Originally Posted by nvidia View Post
@Vaibav: I have just one doubt... Why have you used the "" thread icon instead of "" icon?
stop plz.

Last edited by vaibhavtek; 22-02-2008 at 09:09 PM. Reason: Automerged Doublepost
 
Old 22-02-2008, 09:29 PM   #23 (permalink)
Wise Old Owl
 
a_k_s_h_a_y's Avatar
 
Join Date: May 2007
Location: bangalore
Posts: 1,923
Default Re: Write Protected USB

misleading topic name

i was happy that i could write protect my usb flash driver ! that's what it means

i mean no body can write into my USB Drive From any computer in the world when lock is on ! got it ?? when lock is open people can write

this can help viruses to stop entering from my pen drive !!

btw thanks for the tutorial .. i knew it ! now just a revision !!
__________________
Sony Ericsson Flashing, Modding, Patching, Hacking And More !
http://www.akshayy.com/sonyericsson/
a_k_s_h_a_y is offline  
Old 22-02-2008, 09:40 PM   #24 (permalink)
ico
.
 
ico's Avatar
 
Join Date: Jun 2007
Location: New Delhi
Posts: 8,936
Default Re: Write Protected USB

^^^ I guess this doesn't make the Flash Drive write protected......
It just restricts the computer and makes it unable to write to USB drives....... Drives can be written from other computers.......

Vaibhavtek, get your title changed to: Blocking write access to USB drive

This kind of Tutorial (but different) was already posted by Topgear sometime ago..... Here: Disable Access to USB Mass Storage Drive
__________________
.
ico is offline  
Old 22-02-2008, 09:45 PM   #25 (permalink)
vaibhavtek
Guest
 
Posts: n/a
Default Re: Write Protected USB

Quote:
Originally Posted by gagandeep View Post
^^^ I guess this doesn't make the Flash Drive write protected......
It just restricts the computer and makes it unable to write to USB drives....... Drives can be written from other computers.......

Vaibhavtek, get your title changed to: Blocking write access to USB drive

This kind of Tutorial (but different) was already posted by Topgear sometime ago..... Here: Disable Access to USB Mass Storage Drive
Mods plz change the title as suggested by gagandeep.

I searched the forum but was not able to got tutorial similar to it.
 
Old 22-02-2008, 09:56 PM   #26 (permalink)
ico
.
 
ico's Avatar
 
Join Date: Jun 2007
Location: New Delhi
Posts: 8,936
Default Re: Write Protected USB

^^ Arrey yaar......
Also EDIT your 1st post.......

Quote:
Originally Posted by vaibhavtek View Post
I searched the forum but was not able to got tutorial similar to it.
How is this possible vaibhavtek??????

http://www.thinkdigit.com/forum/show...d=1#post728165

You had yourself thanked him in the above post.....

This means that you never go through any Tutorial and blindly post "Thanx a lot"
__________________
.

Last edited by ico; 22-02-2008 at 10:04 PM. Reason: Automerged Doublepost
ico is offline  
Old 22-02-2008, 10:15 PM   #27 (permalink)
Alpha Geek
 
adi007's Avatar
 
Join Date: Sep 2007
Location: hassan
Posts: 717
Default Re: Write Protected USB

^^rofl...rofl..nice detective work gagandeep...
and vaibhavtek please post the thread after searching the forum..and BTW you have replied to that old thread and you are saying that you searched the whole forum..

either you are just replying "Thanx a lot" to every tut thread to increase your post count or you are just creating a new tut from the old thread to increase your post count..

In either way you just want to increase the post count..that's all..

Now i must say that post count doesn't make one famous and respectable in the forum..i have seen some members who joined at 2005 and still in their 200-300 posts...it is important to note that they will check the forum daily..so please don't post to just increase your post count..i know it's tempting to increase one's post count but doing such things is not good....
__________________
doiteasily.com ►easy way(s) to do certain things
Tech Word of the day : ADSL
Aditech Blog ► There is something for everyone
Terminal Command of the day
regtweak.info ► Windows Registry hacks and tricks
adi007 is offline  
Old 22-02-2008, 10:25 PM   #28 (permalink)
ico
.
 
ico's Avatar
 
Join Date: Jun 2007
Location: New Delhi
Posts: 8,936
Default Re: Write Protected USB

^^ I keep on reminding him that Quantity never beats Quality........
__________________
.
ico is offline  
Old 22-02-2008, 10:30 PM   #29 (permalink)
In Pursuit of "Happyness"
 
kalpik's Avatar
 
Join Date: May 2005
Location: New Delhi
Posts: 3,432
Default Re: Write Protected USB

@all: Please report the thread if you think its inappropriate. Do not resort to personal attacks.

@vaibhavtek: Relax dude. Don't be in a hurry to post everything you come across! Just sit back for a while and surf this forum. You will gradually get to know how things work here

Locking this thread. Please continue discussion here: Disable Access to USB Mass Storage Drive
__________________
Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain
kalpik 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
usb write protected smslca Hardware Q&A 4 07-12-2007 06:37 PM
mmc write protected shidhin4ever Mobiles and Tablets 5 26-11-2006 09:45 AM
Drive is write protected Ablenwill Mobiles and Tablets 4 11-12-2005 05:53 PM
how to make a CD write protected????? dittualex QnA (read only) 9 15-11-2005 05:48 PM
how to create write protected vcd gaju6696 QnA (read only) 1 29-10-2005 04:56 PM

 
Latest Threads
- by chris
- by icebags
- by Tenida

Advertisement




All times are GMT +5.5. The time now is 01:32 AM.


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

Search Engine Optimization by vBSEO 3.3.2