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. Reinstall all the Windows 10 Default Apps with Batch Script

    in Windows 10 Software and Apps
    Reinstall all the Windows 10 Default Apps with Batch Script: With this batch script you can re-install and re-register all the default apps that are shipped with Windows 10. Code: :: Reinstall and Re-register All Built-in Windows Apps in Windows 10 @Echo Off & Color 0E net sess>nul 2>&1||(powershell start cmd -ArgumentList """/c...
  3. Batch scripting problems

    in Windows 10 Ask Insider
    Batch scripting problems: So i found a bug. In batch scripting, I can only store 3 variables. I don't know the cause for this. Here's the code, if you need it. @ echo off title Elevator OS by Lackmey on YouTube and Reddit set gdata=No data found (this one works) set 1data=No data found (this one...
  4. Uninstalled Bluetooth driver and cannot reinstall.

    in Windows 10 Drivers and Hardware
    Uninstalled Bluetooth driver and cannot reinstall.: Hey all, Windows version: 1903 (Build 18362.418) So today I made a mistake and uninstalled, not disabled, my bluetooth driver from Device manager. No matter what I try, the driver will not come back. I have tried "showing hidden items" in device manager, downloading the...
  5. Batch File to install a network printer with a specific Post Script driver?

    in Windows 10 Drivers and Hardware
    Batch File to install a network printer with a specific Post Script driver?: I've seen people use the following in a batch file to install a printer: \\PrinterServerName\PrinterShareName My question is... can this be done where i also supply a specific Post Script Driver?...
  6. 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...
  7. 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
  8. 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***...
  9. 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...
  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...

Users found this page by searching for:

  1. how to uninstall Nvidia drivers via batch script