playlet Posted December 17, 2009 Author Share Posted December 17, 2009 (edited) --- Edited August 18, 2016 by playlet Link to comment Share on other sites More sharing options...
VortexTangent Posted December 17, 2009 Share Posted December 17, 2009 i know it's a bit off topic but have you tried trucrypt? Link to comment Share on other sites More sharing options...
playlet Posted December 17, 2009 Author Share Posted December 17, 2009 (edited) --- Edited August 18, 2016 by playlet Link to comment Share on other sites More sharing options...
Richard Robertson Posted December 17, 2009 Share Posted December 17, 2009 You don't have to make changes to "target system". Take a look at my "Autorun.inf":[AutoRun] icon=\icon\ms202.ico label=OUTCAST action=Playlet USB Starter open=USBStarter.exe shell\open\command=USBstarter.exe useautoplay=1 Works for me! That will only work on systems with USB autorun enabled. In most cases, it is not. It requires a registry change to be active in the first place. Link to comment Share on other sites More sharing options...
daishi5 Posted December 17, 2009 Share Posted December 17, 2009 Yes, but that's not AutoIt, is it?I am new to AutoIT, but I am almost certain that you cannot do what you want to do without encryption or writing your own file system. When you insert the flash drive, the computer, not your flash drive, determines whether or not your script will run. If you want to prevent access to your flash drive if it is stolen or any other form of unauthorized access, you need encryption. Link to comment Share on other sites More sharing options...
jvanegmond Posted December 18, 2009 Share Posted December 18, 2009 You don't have to make changes to "target system". Take a look at my "Autorun.inf":[AutoRun] icon=\icon\ms202.ico label=OUTCAST action=Playlet USB Starter open=USBStarter.exe shell\open\command=USBstarter.exe useautoplay=1 Works for me! This will not work on any Windows versions straight out of the box. You've made changes to your own system already that allow you to do this. Beside that, what if someone inserts your USB on Linux? I don't think AutoIt will run. As I said, Richard and my advice are the only two that will actually work. github.com/jvanegmond Link to comment Share on other sites More sharing options...
playlet Posted December 18, 2009 Author Share Posted December 18, 2009 (edited) --- Edited August 18, 2016 by playlet Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now