+ Post New Thread
Results 1 to 5 of 5
Windows Thread, usb in Technical; Can anyone tell me how to alter the autorun file of a usb stick so thats it copies a folder ...
  1. #1

    Join Date
    Jan 2009
    Location
    birmingham
    Posts
    35
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    usb

    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?.

  2. #2


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,687
    Thank Post
    352
    Thanked 794 Times in 714 Posts
    Rep Power
    346
    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.

  3. #3

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,154
    Thank Post
    114
    Thanked 527 Times in 450 Posts
    Blog Entries
    2
    Rep Power
    123
    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

  4. #4
    mrcrazy04's Avatar
    Join Date
    Nov 2006
    Location
    Bedfordshire/Cheltenham, UK
    Posts
    258
    Thank Post
    2
    Thanked 11 Times in 11 Posts
    Rep Power
    17
    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?

  5. #5

    dhicks's Avatar
    Join Date
    Aug 2005
    Location
    Knightsbridge
    Posts
    5,618
    Thank Post
    1,230
    Thanked 776 Times in 673 Posts
    Rep Power
    235
    Quote Originally Posted by shafia2009 View Post
    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

SHARE:
+ Post New Thread

Similar Threads

  1. usb printers
    By ltunstall in forum Thin Client and Virtual Machines
    Replies: 3
    Last Post: 19th June 2008, 02:15 PM
  2. USB Pens
    By alan-d in forum Recommended Suppliers
    Replies: 13
    Last Post: 18th June 2007, 07:47 AM
  3. vista usb
    By alonebfg in forum Windows Vista
    Replies: 4
    Last Post: 20th February 2007, 12:22 AM
  4. USB Batteries
    By OverWorked in forum Jokes/Interweb Things
    Replies: 4
    Last Post: 11th November 2006, 10:22 PM
  5. Booting from USB
    By ChrisH in forum Hardware
    Replies: 9
    Last Post: 27th June 2005, 11:15 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •