Windows 10: Batch script to automatically uninstall and Reinstall a driver

Discus and support Batch script to automatically uninstall and Reinstall a driver in Windows 10 Drivers and Hardware to solve the problem; For some strange reason I've had a faulty external Seagate 8TB driver/HDD for the last year The problem is this: everytime I reboot the computer, the... Discussion in 'Windows 10 Drivers and Hardware' started by SirLouen, Apr 15, 2019.

  1. SirLouen Win User

    Batch script to automatically uninstall and Reinstall a driver


    For some strange reason I've had a faulty external Seagate 8TB driver/HDD for the last year

    The problem is this: everytime I reboot the computer, the HDD is not automatically recognized so I have to do this

    1. Open Device Manager
    2. Remove the USB attached SCSI mass storage device driver (uninstall the device)
    3. Search for new Devices
    4. And it automatically appears adequately and is correctly recognized by the system as a HDD

    I have to do this every single reboot. I've could try to solve it, but I think it is unsolvable. I've tried like a dozen of times, reading in forums and Microsoft support and it has turned impossible. So I accept that I have just to keep doing this until I format or change the drive

    So now I have two options:
    1. Format PC and pray for it to solve: not an option because i hate formatting and having to restore everything
    2. Create a batch script, that do exactly what I do, but with a shortcut in the Desktop to make it extremely simple...

    I've been digging but could not find the exact commands that do exactly what I do. So I'm asking for some help at least trying to determine which commands will make the trick.

    Thanks in advance.

    :)
     
    SirLouen, Apr 15, 2019
    #1

  2. How do you uninstall chipset drivers?

    I'm installing a new mobo so I need to uninstall the intel 865g drivers to make way for the P35 drivers.

    Can't find any uninstall options in add/remove programs and intel chipset inst listed in driver cleaner.

    Any suggestions? *Confused Batch script to automatically uninstall and Reinstall a driver :confused:
     
    oli_ramsay, Apr 15, 2019
    #2
  3. How To: Reinstall Video Drivers (Quick Guide)

    No sir , do all 4 steps then reboot, then reinstall!
     
    sneekypeet, Apr 15, 2019
    #3
  4. fenomist Win User

    Batch script to automatically uninstall and Reinstall a driver

    Automatically Run Batch Script


    Hi everyone

    When the windows installation is finished, automatically run batch script.

    How can I do that?

    Thanks *Wink
     
    fenomist, Apr 15, 2019
    #4
Thema:

Batch script to automatically uninstall and Reinstall a driver

Loading...
  1. Batch script to automatically uninstall and Reinstall a driver - Similar Threads - Batch script automatically

  2. Unable to uninstall OneDrive from Domain computer using a batch script

    in Windows 10 Customization
    Unable to uninstall OneDrive from Domain computer using a batch script: Hi Legends, Requirement: One drive should be uninstalled from user profiles by logon script. I hope everyone knows that one drive is getting installed in user profile from the setup available in "Systemroot/syswow or system32/onedrivesetup.exe". I am trying to uninstall...
  3. Automatically Run Batch Script

    in Windows 10 Installation and Upgrade
    Automatically Run Batch Script: Hi everyone When the windows installation is finished, automatically run batch script. How can I do that? Thanks *Wink 122531
  4. Running PowerShell script as a batch file

    in Windows 10 Network and Sharing
    Running PowerShell script as a batch file: Can I run the Power Shell line: "C:\Windows\System32>get-appxpackage *3dbuilder* | remove-appxpackage" from a .Bat file? ***Original title: Removing bloatware***...
  5. Batch Script to execute in Win 10 pro

    in Windows 10 Support
    Batch Script to execute in Win 10 pro: I'm looking for a batch script that can: Pull the single row taskbar to a 3 row taskbar and lock it in place in its default location (bottom). Change the time format at the bottom right corner from default to have e.g. "2:00 AM" in the first row, "Saturday" in the second...
  6. Nvidia drivers automatically uninstall after updating

    in Windows 10 Gaming
    Nvidia drivers automatically uninstall after updating: I just update my dell g7 windows yesterday and then the next morning my Nvidia drivers automatically uninstall and i want to know what is happening. After i reinstall my driver from Nvidia website, i notice that when i game my fps kinda choking pretty bad, i need explanation....
  7. uninstall and reinstall

    in Windows 10 Customization
    uninstall and reinstall: will i lose all my current content if i uninstalll and reinstall https://answers.microsoft.com/en-us/windows/forum/windows_10-other_settings/uninstall-and-reinstall/eff880f6-e0b0-4b08-982f-341a52b2f644
  8. Help needed writing batch script!

    in Windows 10 Support
    Help needed writing batch script!: Firstly thank you for even clicking on this thread as I understand that this probably isn't meant to be here. The scenario is that I'm trying to write a script that incorporates the result of a ping to an IP and then based on the result do different things. Here is an...
  9. How do I reinstall a previously uninstalled driver?

    in Windows 10 Drivers and Hardware
    How do I reinstall a previously uninstalled driver?: I was forced to uninstall the Lenovo power management driver from my laptop because it was giving me blue screens (I believe it used to happen when the display was meant to go to sleep). This means that I now have no power management and the fan goes full blast all the time....
  10. Batch script question

    in Windows 10 Support
    Batch script question: Hello, I want make a batch script to delete a spefic folder on the C disk, but how can I get only that spefic folder? I got this: Code: FOR /D %%p IN ("C:\USERS\%USERNAME%\Downloads\*.*") DO rmdir "%%p" /s /q cd C:\USERS\%USERNAME%\Downloads\ del *.* /q /s timeout /t 5...