Vitsa driver load reload problem

Discussion in 'Windows Vista Drivers' started by Mickey Lane, Nov 29, 2007.

  1. Mickey Lane

    Mickey Lane Guest

    I know I've seen commants on this before but Google is just swamped with
    stuff relating to 'Vista' and 'driver'.

    I have a little test utility to exercise a driver I'm working on. As a
    convienence, it contains buttons to spawn devcon commands to
    install/update/restart my driver. The update button (via the .inf) causes
    the latest build of my driver to be copied to system32\drivers and then
    fires up the new code.

    All this works great on XP.

    On Vista, either the copy takes place and it gets overwritten by the
    previous version or the copy never takes place. The automatic driver restore
    monster seems to be in the game.

    Is there any magic that can be applied from the command line (i.e. devcon)
    to make Vista behave?

    The driver is in a system defined class and is signed using a test
    certificate (pending receipt of real certificate)

    Thanks,
    Mickey.
     
    Mickey Lane, Nov 29, 2007
    #1
    1. Advertisements

  2. Mickey,

    You should not copy your driver to the drivers folder. This should be
    taken care of by devcon update (which calls
    UpdateDriverForPlugAndPlayDevices). Have you tried the devcon update
    command without copying the driver (or INF) first?

    Also, note that devcon Install should only be used for software-enumerated
    drivers. Even if you are installing the driver for your
    hardware-enumerated device for the first time, you should use the devcon
    update command (with the device present).

    Best Regards,
    Jeff McCashland [Microsoft]

    Escalation Engineer, DDK/DTM Support
    This posting is provided "AS IS" with no warranties, and confers no rights
     
    [MSFT] Jeff McCashland, Dec 13, 2007
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.