shafia2009 Posted March 15, 2009 Posted March 15, 2009 Can anyone tell me how to alter the autorun file of a usb stick so thats it copies a folder and its contents to a folder on my computer and then restart my computer automaticly without the users intervention by keyboard or mouse?.
kmount Posted March 15, 2009 Posted March 15, 2009 Er, that sounds a lot like the kind of thing a virus would do! Only thing I can suggest is to have autorun.inf call an app.exe from the stick which then copies the files and performs the actions you require.
srochford Posted March 15, 2009 Posted March 15, 2009 As kmount says, you can do that with autorun.inf but it does depend on the user having configured USB sticks to process autorun.inf There's some info on the Microsoft web site about how you can disable autorun - I'd guess you just do the opposite to enable it
mrcrazy04 Posted March 15, 2009 Posted March 15, 2009 By default Windows will prompt you when it detects an autorun.inf on a USB stick - the only thing it will automatically execute is something on a U3 partition, which it sees as a CD drive. What are you wanting to use it for?
dhicks Posted March 15, 2009 Posted March 15, 2009 Can anyone tell me how to alter the autorun file of a usb stick Are you trying to figure out a way to automatically install software on a user's machine? Is the machine on a network you control? If so, I'd find some other way of installing software - there's so many nasty programs using autorun.inf you'll want to disable it completely network-wide. -- David Hicks
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