JSI Tip 5551. How do I remove OEM drivers from Windows 2000?

If you wish to remove an OEM driver and revert to the Microsoft driver, you must locate the appropriate %Systemroot%\Inf\OEM#.inf file, where # is a system assigned number. If you edit each %Systemroot%\Inf\OEM#.inf file, you can determine which one installs the OEM driver that you wish to remove. Once you determine the %Systemroot%\Inf\OEM#.inf file, you should move it, and its' matching %Systemroot%\Inf\OEM#.pnf file, to a different folder, in case you every want to reinstall it.

NOTE: The following oeminf.bat script may assist you in locating the correct %Systemroot%\Inf\OEM#.inf file:

@echo off
cd /d "%Systemroot%\inf"
for /f "Tokens=*" %%i in ('dir /b oem*.inf') do set file=%%i&call :parse
goto :EOF
set mfg=N
for /f "Tokens=*" %%j in ('type "%file%"') do set line=%%j&call :parse1
goto :EOF
if "%mfg%" EQU "Y" goto doit
if "%line:~0,1%" EQU "\[" goto found
goto :EOF
set mfg=N
@echo %file% %line%
goto :EOF
if /i not "%line:~0,14%" EQU "\[Manufacturer\]" goto :EOF
set mfg=Y
Once you have moved the appropriate file(s), use Device Manager to right-click the device and press Uninstall. After the uninstall, restart your computer. When you log on, you should receive a New Hardware Found dialog for the device. Press Next to start the Found New Hardware Wizard. Select Search for a Suitable Driver and press Next. The standard driver should install.

NOTE: To use the OEM driver again, move the OEM#.inf and OEM#.pnf file(s) to the %Systemroot%\Inf folder, uninstall the device using Device Manager, and restart your computer.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.