Skip to main content
HStri.1
Visitor II
January 13, 2023
Question

I work on a MSI-notebook where memory integrity not working on Windows 11 due to the sttub30 driver (ST Microelectronics; version: 3.0.5.0; P/N: generic STM USBdriver). Can somebody provide me with an updated version of that driver file (STTub30.sys

  • January 13, 2023
  • 8 replies
  • 12240 views

..

    8 replies

    GHars.1
    Visitor II
    January 30, 2023

    I have a Samsung Laptop with windows !! and have the same issue. STTUB30.SYS (ST MICROELECTRONICS; VERSION: 3.0.5.0; PUBLISHED NAME: OEM9.INF

    RSpic.1
    Visitor II
    February 7, 2023

    I too have the exact same problem with this driver and version. Can someone from ST please provide a link to a file location so we may download and correct this issue.

    Peter BENSCH
    Technical Moderator
    March 9, 2023

    Normally, this problem should not occur on a PC or notebook that was purchased normally and not equipped with ST software for developing microcontroller applications. In this respect, the manufacturer of the PC/notebook would be the right contact person who would have to eliminate this problem.

    However, if you want to help yourself, you could deactivate this typically unneeded software:

    • launch "Device Manager"
    • in the View menu, select "Show hidden devices"
    • find the device associated with oem77.inf (it might done by selecting "Device by driver" in View menu
    • right click on this oem77 - does it offer an option to remove the device? If yes, remove it.
    • you'll maybe need to reboot the machine afterwards

    We would be pleased if you would paste the result here and even more pleased if you would ask the respective manufacturer of the PC/notebook to remove the software from the standard installation.

    Regards

    /Peter

    In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
    AGogg.1
    Visitor II
    March 14, 2023

    One more thing: I've seen in a few forums that people have needed to download the more current version of sttub30.sys from GitHub here: https://github.com/qmk/qmk_dfuse/blob/master/Driver/Win8.1/x86/x86/STTub30.sys

    But I don't feel comfortable downloading it there, even though some say it's safe. I would like to get it straight from STM. Some say it was deleted from this site?

    As I said, if I just delete the file from c:\windows\system32\drivers, my computer hangs on restart, and it still doesn't enable windows memory integrity. So if I don't get the replacement file, just deleting it is not a fix.

    AGogg.1
    Visitor II
    March 14, 2023

    Hi, my oem77 driver shows igcc_dch.inf, not sttub30.sys. I searched for sttub30.sys and found it in c:\windows\system32 and deleted it (made a backup of it first), and now with the file missing, my computer hangs (with the msi logo over black screen) when I shut it down and windows memory integrity keeps telling me I need to restart no matter how many times I do. I think I need an up to date sttub30.sys driver and can't find it anywhere. Please help.

    Tesla DeLorean
    Guru
    March 14, 2023

    The OEM77 is a generic name that's unique to a specific system, yours is likely to be different, grep the files if you at some point downloaded from WHQL, or presented a driver disc, etc.

    https://www.st.com/en/development-tools/stsw-stm32080.html ?

    There's x86 and x64 drivers that unpack

    C:\Program Files (x86)\STMicroelectronics\Software\DfuSe v3.0.6\Bin\Driver\Win10\x64\STTub30.sys

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    AGogg.1
    Visitor II
    March 15, 2023

    Thanks for the reply. I'm a little confused at "grep the files", and I never downloaded a usb driver for this computer.

    Is the software in this link the updated driver? I'm not sure what "DfuSE USB Programming" is. What is DfuSe? I downloaded it but I'm not feeling totally confident running the .exe file, definitely don't want to make things worse.

    All this I don't understand: "It includes the DFU driver compatible with the latest Microsoft®OS.

    DfuSe utility can be used to interact with the STM32 system memory bootloader or any In-Application Programming (IAP) firmware, running from the user Flash, thus allowing internal memories programming through USB."

    I'm not sure what STM32 bootloader is but I do know a little about firmware and flash is and it makes me nervous to tinker with it. Are you sure I should run this?

    I was kind of hoping to just get rid of the driver. I downloaded autoruns for windows and unchecked the box next to sttub30.sys under the drivers tab, but the memory integrity section in windows security is still showing sttub30.sys as an incompatible driver.

    Any reassurance or help is appreciated!

    GCana.2
    Visitor II
    April 21, 2023

    Is there any STM updates/files to fix this issue yet? I'm here looking for the same fix for my MSI laptop on windows 11. Thanks.

    Peter BENSCH
    Technical Moderator
    May 5, 2023

    As already mentioned, the driver is part of a package (DfuSE) for the development of STM32 devices, but has long been on NRND (Not Recommended for New Design). The driver should never have been used in a production system, which is why you must contact MSI to get a solution to the problem.

    Regards

    /Peter

    In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
    AGogg.1
    Visitor II
    May 8, 2023

    Appreciate the help here. Just wanted to show that customers are getting told by MSI that they are not to blame. This is an exchange I had with MSI. I still haven't installed the file that @Community member​ provided out of fear of making things worse but I probably will eventually since that seems like the only way to get windows memory integrity working.
    _legacyfs_online_stmicro_images_0693W00000bjcxYQAQ.png

    smoli.1
    Associate
    May 9, 2023

    Hello. As I wrote in another thread.

    All you guys have to do (in case this file isn't associated with an oemxx.inf published name) is rename (and not delete) the driver from STTub30.sys to STSTub30.sys.old and you'll be able to activate Memory Integrity. In case it's associated with an oemxx.inf published name, delete it using the device manager.

    Regards.

    Tesla DeLorean
    Guru
    May 9, 2023

    Isn't there a registry or computer management method of just tell​ing it not to load the driver??

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    smoli.1
    Associate
    May 9, 2023

    Honestly, I have no idea. Renaming the file with a .old extension sorts the issue out.

    Visitor II
    January 17, 2024

    I had this exact same problem, and it was an absolute nightmare to remove this driver. I wasted so much time on this. The driver was installed when I needed to update some software on a work device. The app used to install the firmware update to the device, installed this driver on my laptop. However to get the app to install required me to disable Windows memory integrity. I did this thinking it would be a simple case of uninstalling the app after I'd done the update (to remove whatever it installed) and then turning memory integrity back on.

    Uninstalling the app did not remove this driver.

    I solved it by following these steps:

    • Launch "Device Manager" (right click on the Windows icon on the taskbar and select it from the menu shown)
    • In the View menu, select "Show hidden devices"
    • Select "Device by driver" in View menu
    • Find oem30.inf (which seems to be associated with the driver STTub30.sys)
    • Right click on oem30.inf to bring up the properties of this driver
    • I chose to uninstall the driver
    • Rebooted the laptop once it had uninstalled
    • Re-enabled memory integrity in Windows Security
    • Rebooted the laptop again

    Hope that may help someone else.