Go Back   AnandTech Forums > Hardware and Technology > Memory and Storage

Forums
· Hardware and Technology
· CPUs and Overclocking
· Motherboards
· Video Cards and Graphics
· Memory and Storage
· Power Supplies
· Cases & Cooling
· SFF, Notebooks, Pre-Built/Barebones PCs
· Networking
· Peripherals
· General Hardware
· Highly Technical
· Computer Help
· Home Theater PCs
· Consumer Electronics
· Digital and Video Cameras
· Mobile Devices & Gadgets
· Audio/Video & Home Theater
· Software
· Software for Windows
· All Things Apple
· *nix Software
· Operating Systems
· Programming
· PC Gaming
· Console Gaming
· Distributed Computing
· Security
· Social
· Off Topic
· Politics and News
· Discussion Club
· Love and Relationships
· The Garage
· Health and Fitness
· Home and Garden
· Merchandise and Shopping
· For Sale/Trade
· Hot Deals with Free Stuff/Contests
· Black Friday 2014
· Forum Issues
· Technical Forum Issues
· Personal Forum Issues
· Suggestion Box
· Moderator Resources
· Moderator Discussions
   

Reply
 
Thread Tools
Old 01-24-2013, 10:36 AM   #1
jenslost
Junior Member
 
Join Date: Jan 2013
Posts: 6
Default Make USB flash drive Read Only

Hi guys, I have a unique situation that I could use some help with. I want to be able to save files and folders on a USB flash drive that can not be erased. The tricky part is, this is to be read by several different models of sewing machines for embroidery use. Some sewing machines have to write something, i don't know what, to the flash drive in order to format the drive to work with the machine. The only solution I have heard of that may work is to partition the drive and then flip the removable bit to secure the files on one partition. None of which I know how to do. I can purchase a flash drive and have my data pre-loaded and then locked from several online USB sellers, but none can guarantee it will work, and the start up costs are something I can not afford to gamble with, and none of the companies I have contacted are willing to sell me a prototype. Help Please!
jenslost is offline   Reply With Quote
Old 01-24-2013, 11:38 AM   #2
cnjmorris
Member
 
Join Date: Sep 2004
Posts: 184
Default

Something like this what you are talking about?

http://www.premiumusb.com/usb-datalock.aspx
__________________
i5-3570K Quad-Core Processor 3.4 GHz 4 Core LGA 1155 - BX80637I53570K
16GB SAMSUNG (4 x 4GB) 240-Pin DDR3 SDRAM DDR3 1600 (PC3 12800) MV-3V4G3D/US
SanDisk Extreme SSD 240 GB SATA 6.0 Gb-s 2.5-Inch SDSSDX-240G-G25
ASRock LGA1155 DDR3 SATA3 USB3.0 Quad CrossFireX and Quad SLI A GbE ATX Motherboard Z77 EXTREME4
Antec P280
cnjmorris is offline   Reply With Quote
Old 01-24-2013, 12:04 PM   #3
Harvey
Administrator
Elite Member
 
Harvey's Avatar
 
Join Date: Oct 1999
Location: Sherman Oaks, Ca.
Posts: 34,431
Default

You may be able to accomplish what you want from the commmand line. Start by ascertaining the drive letter assigned to it.

From the Start menu, enter the command, CMD in the window (Start > Run in XP). This should bring up the command line (C: prompt).

Enter the command, ATTRIB E: +R *.* (assuming the flash drive is labeled E: )

This will set the attribute for all files in the root of the drive to Read Only. You can do this for any sub-folders on the flash drive, as well.

If you don't want all files on the drive to be Read Only, you can use the same commands to change just the ones you want, or if you want to set all but a few as Read Only, you can mark all of them and unmark just the few with a similar command, ATTRIB E:[filename] -R.

Hope that helps.
__________________

There are traitors and terrorists among us. They call themselves "Republicans." They are a greater threat to the U.S. than Al Qaeda and all the Al Qaeda wannabes. They have infested our democratic institutions with the sole objective of thwarting the will of the majority of our citizens.

And Whos's Watching Over Who's Watching Over You?
Tell me, who's telling who's telling you what to do what to do?

Last edited by Harvey; 01-24-2013 at 12:11 PM.
Harvey is offline   Reply With Quote
Old 01-24-2013, 12:07 PM   #4
dave_the_nerd
Diamond Member
 
dave_the_nerd's Avatar
 
Join Date: Feb 2011
Location: Minneapolis
Posts: 7,243
Default

SD cards have a write-protect tab on them, so you could use one with a USB adapter. But that wouldn't allow the machines to write temp files.
__________________
Scientific progress goes "Boink?"

Windows Gaming Box: AsRock Z77E-ITX / i5-3570k @ 4GHz / 8GB RAM / GTX 660Ti / Samsung EVO 250GB / Seagate Momentus 750GB / Silverstone SG05.
FreeBSD Server: SuperMicro X10SLM-F / Pentium G3250 / 16GB ECC DDR3 / 4x Toshiba DT01ACA200, 3x DT01ACA300, 1x DT01ABA200 / Fractal Node 804
dave_the_nerd is offline   Reply With Quote
Old 01-24-2013, 01:15 PM   #5
jenslost
Junior Member
 
Join Date: Jan 2013
Posts: 6
Smile

Quote:
Originally Posted by Harvey View Post
You may be able to accomplish what you want from the commmand line. Start by ascertaining the drive letter assigned to it.

From the Start menu, enter the command, CMD in the window (Start > Run in XP). This should bring up the command line (C: prompt).

Enter the command, ATTRIB E: +R *.* (assuming the flash drive is labeled E: )

This will set the attribute for all files in the root of the drive to Read Only. You can do this for any sub-folders on the flash drive, as well.

If you don't want all files on the drive to be Read Only, you can use the same commands to change just the ones you want, or if you want to set all but a few as Read Only, you can mark all of them and unmark just the few with a similar command, ATTRIB E:[filename] -R.



Hope that helps.
nope, sorry didn't work. it did deny me access if i tried to delete it from the command prompt, but in windows explorer and sewing machine, it will delete. thanks for the idea though
jenslost is offline   Reply With Quote
Old 01-24-2013, 01:18 PM   #6
jenslost
Junior Member
 
Join Date: Jan 2013
Posts: 6
Default

Quote:
Originally Posted by cnjmorris View Post
Something like this what you are talking about?

http://www.premiumusb.com/usb-datalock.aspx
yes, thats exactly what i want to try, "before i buy"
it will cost me initially about 400.00 to test, because i have to place an entire minimum order and lock charge, and i just cant afford to chance it. if i knew it worked, i could place my order.
jenslost is offline   Reply With Quote
Old 01-24-2013, 02:24 PM   #7
Harvey
Administrator
Elite Member
 
Harvey's Avatar
 
Join Date: Oct 1999
Location: Sherman Oaks, Ca.
Posts: 34,431
Default

Quote:
Originally Posted by jenslost View Post
nope, sorry didn't work. it did deny me access if i tried to delete it from the command prompt, but in windows explorer and sewing machine, it will delete. thanks for the idea though
Try setting the attributes for the files/folders you want to protect in Windows Explorer. If it doesn't work, make sure you're logged on with Administrator privileges.

The worst that can happen is that it doesn't work, but at least, it's free to try.
__________________

There are traitors and terrorists among us. They call themselves "Republicans." They are a greater threat to the U.S. than Al Qaeda and all the Al Qaeda wannabes. They have infested our democratic institutions with the sole objective of thwarting the will of the majority of our citizens.

And Whos's Watching Over Who's Watching Over You?
Tell me, who's telling who's telling you what to do what to do?
Harvey is offline   Reply With Quote
Old 01-24-2013, 02:35 PM   #8
cnjmorris
Member
 
Join Date: Sep 2004
Posts: 184
Default

I did a google search for 'make 1 partition read only on usb' and found this... not sure if it will help you or not. Wish I knew more about it but I try =)

http://agnipulse.com/2011/11/partition-usb-flash-drive/
__________________
i5-3570K Quad-Core Processor 3.4 GHz 4 Core LGA 1155 - BX80637I53570K
16GB SAMSUNG (4 x 4GB) 240-Pin DDR3 SDRAM DDR3 1600 (PC3 12800) MV-3V4G3D/US
SanDisk Extreme SSD 240 GB SATA 6.0 Gb-s 2.5-Inch SDSSDX-240G-G25
ASRock LGA1155 DDR3 SATA3 USB3.0 Quad CrossFireX and Quad SLI A GbE ATX Motherboard Z77 EXTREME4
Antec P280
cnjmorris is offline   Reply With Quote
Old 01-24-2013, 06:21 PM   #9
jenslost
Junior Member
 
Join Date: Jan 2013
Posts: 6
Default

Quote:
Originally Posted by cnjmorris View Post
I did a google search for 'make 1 partition read only on usb' and found this... not sure if it will help you or not. Wish I knew more about it but I try =)

http://agnipulse.com/2011/11/partition-usb-flash-drive/
i found that one too, didn't work. thanks for trying
jenslost is offline   Reply With Quote
Old 01-24-2013, 06:53 PM   #10
Blain
Lifer
 
Blain's Avatar
 
Join Date: Oct 1999
Location: SW Indiana
Posts: 23,216
Default

There are write locking USB drives out there.
__________________
USA...
Too many delicate hothouse flowers
Blain is offline   Reply With Quote
Old 01-24-2013, 08:02 PM   #11
jenslost
Junior Member
 
Join Date: Jan 2013
Posts: 6
Default

Quote:
Originally Posted by Blain View Post
There are write locking USB drives out there.
i tried that, it works on most models of machines, but not all. a few machines need to write to the stick to recognize it. thanks though.
jenslost is offline   Reply With Quote
Old 01-26-2013, 01:48 PM   #12
cnjmorris
Member
 
Join Date: Sep 2004
Posts: 184
Default

Does this thread help at all?

http://www.sevenforums.com/network-s...ext-drive.html
__________________
i5-3570K Quad-Core Processor 3.4 GHz 4 Core LGA 1155 - BX80637I53570K
16GB SAMSUNG (4 x 4GB) 240-Pin DDR3 SDRAM DDR3 1600 (PC3 12800) MV-3V4G3D/US
SanDisk Extreme SSD 240 GB SATA 6.0 Gb-s 2.5-Inch SDSSDX-240G-G25
ASRock LGA1155 DDR3 SATA3 USB3.0 Quad CrossFireX and Quad SLI A GbE ATX Motherboard Z77 EXTREME4
Antec P280
cnjmorris is offline   Reply With Quote
Old 02-01-2013, 12:29 PM   #13
jenslost
Junior Member
 
Join Date: Jan 2013
Posts: 6
Default

nope cnjmorris, the sewing machine will not read NTFS formated stick. thanks
jenslost is offline   Reply With Quote
Old 02-02-2013, 10:25 AM   #14
yefi
Member
 
Join Date: Nov 2012
Location: UK
Posts: 46
Default

Do the sewing machines not see drives attached through a hub? If they can only see separate partitions, and they ignore read only attributes, your only option as I see is to program it at the firmware/hardware level, say with an AVR (which is non-trivial ).
yefi is offline   Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT -5. The time now is 09:16 AM.


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