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. General Programming
  3. Visual Basic
  4. Enable usb ports

Enable usb ports

Scheduled Pinned Locked Moved Visual Basic
3 Posts 3 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.
  • A Offline
    A Offline
    aliali74
    wrote on last edited by
    #1

    i need program in visual basic that disable all usb Ports

    L Z 2 Replies Last reply
    0
    • A aliali74

      i need program in visual basic that disable all usb Ports

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

      aliali74 wrote:

      i need program

      And? Are you looking to hire someone to write it for you?

      Why is common sense not common? Never argue with an idiot. They will drag you down to their level where they are an expert. Sometimes it takes a lot of work to be lazy Please stand in front of my pistol, smile and wait for the flash - JSOP 2012

      1 Reply Last reply
      0
      • A aliali74

        i need program in visual basic that disable all usb Ports

        Z Offline
        Z Offline
        ZappaDog
        wrote on last edited by
        #3

        It doesn't take a program to do that. The registry value

        HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
        Services\UsbStor

        stores that function. Another approach is to prevent rights to \Inf\Usbstor.pnf and \Inf\Usbstor.inf files.

        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