crazy420rc
05-23-2009, 04:33 AM
ok, here's a trick that doesn't seem to be on the web anywhere (as far as i've seen). I've been getting a lot of infections on my usb thumb drive through clients computers during the cleanup process...frustrating!!!!
Make sure you know what you are doing before attempting this!!! Make a backup of drive as this process requires formatting the thumb drive.
Here's a way to make your USB thumb drive Read Only through NTFS Permissions on all computers the drive is connected to except for computers you specify.
In brief, backup thumb drive, format NTFS, remove all users and groups except for everyone (set this group to read/execute only permissions), and your local machine's username (set to full control). If done properly, You can add permissions for any user you wish just by adding their name to the list and giving them access. So after setting this up, you can use your "bench" computer to modify files on thumb drive, but once you stick it in a client's computer, the computer will have read only access.
More detailed instructions
1) Backup all contents of thumb drive.
2) Go into device manager, find your thumb drive under Disk Drives category, right click USB drive and click properties. Click on the Policies tab and make sure "optimize for performance" is checked. Click ok and exit out of device manager
3) Now go to My Computer(XP), or "Computer"(Vista) and right click thumb drive and format. Format drive as NTFS.
4) After drive is formatted, right click the thumb drive and go to properties. Click on the "Security" tab (If the "Security" tab is not showing up, you might need to disable simple file sharing (XP Pro). If using Windows XP home, you will need to do this procedure in safe mode. By default,windows "normal" mode does not support changing NTFS permissions for XP Home build.
5) Remove all Groups and users except for "everyone" and set the permissions to read/execute only, click apply. Now add your current windows username also (your logged on profile name) and make the permissions "full control".
If you have any questions regarding this procedure, feel free to ask
Was trying to figure out a way to create a script or even batch file using cacls.exe to change user permissions on thumb drive, but i don't have that much experience with cacls. If anyone has an idea on how to make this into an actual executable such as an autoit script, go for it.
Make sure you know what you are doing before attempting this!!! Make a backup of drive as this process requires formatting the thumb drive.
Here's a way to make your USB thumb drive Read Only through NTFS Permissions on all computers the drive is connected to except for computers you specify.
In brief, backup thumb drive, format NTFS, remove all users and groups except for everyone (set this group to read/execute only permissions), and your local machine's username (set to full control). If done properly, You can add permissions for any user you wish just by adding their name to the list and giving them access. So after setting this up, you can use your "bench" computer to modify files on thumb drive, but once you stick it in a client's computer, the computer will have read only access.
More detailed instructions
1) Backup all contents of thumb drive.
2) Go into device manager, find your thumb drive under Disk Drives category, right click USB drive and click properties. Click on the Policies tab and make sure "optimize for performance" is checked. Click ok and exit out of device manager
3) Now go to My Computer(XP), or "Computer"(Vista) and right click thumb drive and format. Format drive as NTFS.
4) After drive is formatted, right click the thumb drive and go to properties. Click on the "Security" tab (If the "Security" tab is not showing up, you might need to disable simple file sharing (XP Pro). If using Windows XP home, you will need to do this procedure in safe mode. By default,windows "normal" mode does not support changing NTFS permissions for XP Home build.
5) Remove all Groups and users except for "everyone" and set the permissions to read/execute only, click apply. Now add your current windows username also (your logged on profile name) and make the permissions "full control".
If you have any questions regarding this procedure, feel free to ask
Was trying to figure out a way to create a script or even batch file using cacls.exe to change user permissions on thumb drive, but i don't have that much experience with cacls. If anyone has an idea on how to make this into an actual executable such as an autoit script, go for it.