|
|
 |
01-24-2013, 09:36 AM
|
#1
|
|
Junior Member
Join Date: Jan 2013
Posts: 6
|
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!
|
|
|
01-24-2013, 10:38 AM
|
#2
|
|
Member
Join Date: Sep 2004
Posts: 176
|
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
|
|
|
01-24-2013, 11:04 AM
|
#3
|
|
Administrator Elite Member
Join Date: Oct 1999
Location: Sherman Oaks, Ca.
Posts: 33,498
|
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. 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 11:11 AM.
|
|
|
01-24-2013, 11:07 AM
|
#4
|
|
Diamond Member
Join Date: Feb 2011
Posts: 3,476
|
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.
|
|
|
01-24-2013, 12:15 PM
|
#5
|
|
Junior Member
Join Date: Jan 2013
Posts: 6
|
Quote:
Originally Posted by Harvey
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
|
|
|
01-24-2013, 12:18 PM
|
#6
|
|
Junior Member
Join Date: Jan 2013
Posts: 6
|
Quote:
Originally Posted by cnjmorris
|
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.
|
|
|
01-24-2013, 01:24 PM
|
#7
|
|
Administrator Elite Member
Join Date: Oct 1999
Location: Sherman Oaks, Ca.
Posts: 33,498
|
Quote:
Originally Posted by jenslost
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. 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?
|
|
|
01-24-2013, 01:35 PM
|
#8
|
|
Member
Join Date: Sep 2004
Posts: 176
|
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
|
|
|
01-24-2013, 05:21 PM
|
#9
|
|
Junior Member
Join Date: Jan 2013
Posts: 6
|
Quote:
Originally Posted by cnjmorris
|
i found that one too, didn't work. thanks for trying
|
|
|
01-24-2013, 05:53 PM
|
#10
|
|
Lifer
Join Date: Oct 1999
Posts: 22,329
|
There are write locking USB drives out there.
__________________
...whenever any Form of Government becomes destructive...
it is the Right of the People to alter or to abolish it
|
|
|
01-24-2013, 07:02 PM
|
#11
|
|
Junior Member
Join Date: Jan 2013
Posts: 6
|
Quote:
Originally Posted by Blain
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.
|
|
|
01-26-2013, 12:48 PM
|
#12
|
|
Member
Join Date: Sep 2004
Posts: 176
|
__________________
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
|
|
|
02-01-2013, 11:29 AM
|
#13
|
|
Junior Member
Join Date: Jan 2013
Posts: 6
|
nope cnjmorris, the sewing machine will not read NTFS formated stick. thanks
|
|
|
02-02-2013, 09:25 AM
|
#14
|
|
Member
Join Date: Nov 2012
Location: UK
Posts: 43
|
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  ).
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:19 PM.
|