@echo off

netsh interface set interface name="Ethernet" admin=DISABLED

REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell" /f /v "ExecutionPolicy" /d "RemoteSigned" /t REG_SZ

powershell -executionpolicy bypass -File .\deloeminf.ps1

REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell" /v "ExecutionPolicy" /f 

"%~dp0devcon.exe" remove "PCI\VEN_8086&DEV_15F2"

"%~dp0devcon.exe" remove "PCI\VEN_8086&DEV_15F3"

"%~dp0devcon.exe" remove "PCI\VEN_8086&DEV_125B"

"%~dp0devcon.exe" remove "PCI\VEN_8086&DEV_125C"


%~dp0devcon.exe rescan

"%~dp0devcon.exe" update "%~dp0\e2f.inf" "PCI\VEN_8086&DEV_15F2"

"%~dp0devcon.exe" update "%~dp0\e2f.inf" "PCI\VEN_8086&DEV_15F3"

"%~dp0devcon.exe" update "%~dp0\e2f.inf" "PCI\VEN_8086&DEV_125B"

"%~dp0devcon.exe" update "%~dp0\e2f.inf" "PCI\VEN_8086&DEV_125C"

TIMEOUT /t 20


EXIT /b

