why reboot needed to Root-enumarated device driver RRS feed

  • Question

  • when ever i unloading and reloading the driver. it is aking for reboot.
    things i am doing during unload time.
    1. deleting root devices
    2. stopping and deleting the service 
    3. unloading the driver by using DriverPackageUninstall
    after these process system is not asking for reboot.

    but when i am loading the driver. it is loading the driver but finally it is asking for reboot.

    during load time things i am doing.
    1. Creating root device
    2. installing driver using DriverPackageInstall and internelly it is calling  UpdateDriverForPlugAndPlayDevices
    Monday, January 13, 2020 9:06 AM

All replies