Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. System Admin
  4. Autorun on USB device

Autorun on USB device

Scheduled Pinned Locked Moved System Admin
helpquestion
9 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RoyceF
    wrote on last edited by
    #1

    Hi, I need to make an application autorun from a USB device. Can that be done without being dependent on another application on the host system? I have seen some posts in this forum from '03, but it seems the poster never got an answer that I could use for my case. I would appreciate any help, Royce

    M D L 3 Replies Last reply
    0
    • R RoyceF

      Hi, I need to make an application autorun from a USB device. Can that be done without being dependent on another application on the host system? I have seen some posts in this forum from '03, but it seems the poster never got an answer that I could use for my case. I would appreciate any help, Royce

      M Offline
      M Offline
      MatrixCoder
      wrote on last edited by
      #2

      You should be able to use an Autorun.inf file, just like on CDs.

      1 Reply Last reply
      0
      • R RoyceF

        Hi, I need to make an application autorun from a USB device. Can that be done without being dependent on another application on the host system? I have seen some posts in this forum from '03, but it seems the poster never got an answer that I could use for my case. I would appreciate any help, Royce

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        Matrix is right, it's the same on a USB drive as it is on an CD. Autorun.inf won't do you any good if the host O/S has AutoRun turned off though.

        Dave Kreskowiak Microsoft MVP - Visual Basic

        R 1 Reply Last reply
        0
        • D Dave Kreskowiak

          Matrix is right, it's the same on a USB drive as it is on an CD. Autorun.inf won't do you any good if the host O/S has AutoRun turned off though.

          Dave Kreskowiak Microsoft MVP - Visual Basic

          R Offline
          R Offline
          RoyceF
          wrote on last edited by
          #4

          Thanks, guys. However, to quote from MSDN: Autorun.inf files are not supported under Microsoft Windows XP for drives that return DRIVE_REMOVABLE from GetDriveType. It just doesn't work.

          D 1 Reply Last reply
          0
          • R RoyceF

            Thanks, guys. However, to quote from MSDN: Autorun.inf files are not supported under Microsoft Windows XP for drives that return DRIVE_REMOVABLE from GetDriveType. It just doesn't work.

            D Offline
            D Offline
            Dave Kreskowiak
            wrote on last edited by
            #5

            Interesting. On both of my USB keys, XP scans them looking for AutoRun.inf. I just tried it with putting a small AutoRun on one of them, just starting Notepad, and it worked perfectly.

            Dave Kreskowiak Microsoft MVP - Visual Basic

            R 1 Reply Last reply
            0
            • D Dave Kreskowiak

              Interesting. On both of my USB keys, XP scans them looking for AutoRun.inf. I just tried it with putting a small AutoRun on one of them, just starting Notepad, and it worked perfectly.

              Dave Kreskowiak Microsoft MVP - Visual Basic

              R Offline
              R Offline
              RoyceF
              wrote on last edited by
              #6

              Yes, it is interesting. I can't figure out what might distinguish your system from mine. I am running WinXp Pro SP2. Do you have some sort of 3rd party or MS application that supports this functionality? I downloaded an application from another website that gives me this functionality, but I would have to propagate that application to every platform in our network in order for this to work. Not workable! Thanks for your help, Royce

              D 1 Reply Last reply
              0
              • R RoyceF

                Yes, it is interesting. I can't figure out what might distinguish your system from mine. I am running WinXp Pro SP2. Do you have some sort of 3rd party or MS application that supports this functionality? I downloaded an application from another website that gives me this functionality, but I would have to propagate that application to every platform in our network in order for this to work. Not workable! Thanks for your help, Royce

                D Offline
                D Offline
                Dave Kreskowiak
                wrote on last edited by
                #7

                I never explicitly installed anything to add this support that I know of. Unless.....PowerToys for XP, maybe?

                Dave Kreskowiak Microsoft MVP - Visual Basic

                1 Reply Last reply
                0
                • R RoyceF

                  Hi, I need to make an application autorun from a USB device. Can that be done without being dependent on another application on the host system? I have seen some posts in this forum from '03, but it seems the poster never got an answer that I could use for my case. I would appreciate any help, Royce

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #8

                  http://www.snapfiles.com/get/usbautorun.html[^]

                  S 1 Reply Last reply
                  0
                  • L Lost User

                    http://www.snapfiles.com/get/usbautorun.html[^]

                    S Offline
                    S Offline
                    Stathread
                    wrote on last edited by
                    #9

                    great, now we are going to have usb drive viruses.

                    _____________________________ www.DaytonaForums.com

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups