FocusedWolf

Realtek 8852XX Settings

Apr 5th, 2026 (edited)
323
0
Never
12
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 5.30 KB | None | 0 0
  1. @echo off
  2. title Realtek 8852XX Settings
  3. color 02
  4.  
  5. :CheckPermissions
  6.     fltmc >nul 2>&1 || (
  7.         echo Requesting administrative privileges . . .
  8.         powershell -NoProfile -Command "$p=@{FilePath='%~f0';Verb='RunAs'};if('%*'){$p.ArgumentList='%*'};Start-Process @p" 2>nul
  9.         exit /b 0
  10.     )
  11.  
  12. cd /d "%~dp0"
  13.  
  14. if /i "%~1" == "nopause" (
  15.     set NOPAUSE=1
  16. ) else (
  17.     set NOPAUSE=0
  18. )
  19.  
  20. :Work
  21.     echo Searching for Realtek 8852XX NIC in registry . . .
  22.  
  23.     set "FOUND=0"
  24.     set "CLASSKEY=HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}"
  25.     for /f "tokens=*" %%K in ('reg query "%CLASSKEY%"') do (
  26.         for /f "tokens=2*" %%A in ('reg query "%%K" /v "DriverDesc" 2^>nul ^| findstr /i /c:"Realtek 8852"') do (
  27.             if "%%B" neq "" (
  28.                 set "NIC_KEY=%%K"
  29.                 set "FOUND=1"
  30.                 goto :ReadNetCfgInstanceId
  31.             )
  32.         )
  33.     )
  34.  
  35.     if "%FOUND%"=="0" (
  36.         echo Realtek 8852XX NIC not found.
  37.         goto :End
  38.     )
  39.  
  40. :ReadNetCfgInstanceId
  41.    REM Read NetCfgInstanceId directly from the already-found NIC_KEY.
  42.     set "NIC_GUID="
  43.     for /f "tokens=3" %%G in ('reg query "%NIC_KEY%" /v "NetCfgInstanceId" 2^>nul') do set "NIC_GUID=%%G"
  44.  
  45.     if "%NIC_GUID%"=="" (
  46.         echo Could not read NetCfgInstanceId from %NIC_KEY%.
  47.         goto :End
  48.     )
  49.  
  50.     REM echo Found Realtek 8852XX at %NIC_KEY%
  51.    REM echo NIC GUID: %NIC_GUID%
  52.  
  53. :ApplySettings
  54.     echo Applying settings . . .
  55.  
  56.     REM Set Power Management > [ ] Allow the computer to turn off this device to save power
  57.    REM NOTE: The default value was "PnPCapabilities"=dword:00000010.
  58.     reg add "%NIC_KEY%" /v "PnPCapabilities" /t REG_DWORD /d 0x18 /f
  59.  
  60.     REM -----
  61.  
  62.     REM Set 2.4G Wireless Mode from IEEE 802.11b/g/n/ax to IEEE 802.11b/g/n.
  63.    REM NOTE: The default value was "WifiProtocol_2g"="45".
  64.     reg add "%NIC_KEY%" /v "WifiProtocol_2g" /t REG_SZ /d "13" /f
  65.  
  66.     REM Set 5G Wireless Mode from IEEE 802.11a/n/ac/ax to IEEE 802.11a/n/ac.
  67.    REM NOTE: The default value was "WifiProtocol_5g"="58".
  68.     reg add "%NIC_KEY%" /v "WifiProtocol_5g" /t REG_SZ /d "26" /f
  69.  
  70.     REM Set 6GHz Band: Disabled.
  71.    REM NOTE: The default value was "WifiProtocol_6G"="34".
  72.     reg add "%NIC_KEY%" /v "WifiProtocol_6G" /t REG_SZ /d "0" /f
  73.  
  74.     REM Set 802.11d: Disabled.
  75.    REM NOTE: The default value was "Dot11dEnable"="0".
  76.     reg add "%NIC_KEY%" /v "Dot11dEnable" /t REG_SZ /d "0" /f
  77.  
  78.     REM Set Bandwidth: Auto.
  79.    REM NOTE: The default value was "WifiBandwidth_phy0"="15".
  80.     reg add "%NIC_KEY%" /v "WifiBandwidth_phy0" /t REG_SZ /d "15" /f
  81.  
  82.     REM Set Beacon Interval: 100.
  83.    REM NOTE: The default value was "AH_BcnIntv"="100".
  84.     reg add "%NIC_KEY%" /v "AH_BcnIntv" /t REG_SZ /d "100" /f
  85.  
  86.     REM Set MAC Randomization: Disabled.
  87.    REM NOTE: The default value was "SupportMACRandom"="1".
  88.     reg add "%NIC_KEY%" /v "SupportMACRandom" /t REG_SZ /d "0" /f
  89.  
  90.     REM Set Multi-Channel Concurrent: Enabled.
  91.    REM NOTE: The default value was "MCCSup"="1".
  92.     reg add "%NIC_KEY%" /v "MCCSup" /t REG_SZ /d "1" /f
  93.  
  94.     REM Set Preamble Mode: Short & long.
  95.    REM NOTE: The default value was "PreambleMode"="2".
  96.     reg add "%NIC_KEY%" /v "PreambleMode" /t REG_SZ /d "2" /f
  97.  
  98.     REM Set Preferred Band: 3. 5G first.
  99.    REM NOTE: The default value was "PreferBand"="2", the 0-based index for option "3. 5G first".
  100.     reg add "%NIC_KEY%" /v "PreferBand" /t REG_SZ /d "2" /f
  101.  
  102.     REM -----
  103.  
  104.     REM Set Roaming Aggressiveness: 2. Lowest.
  105.    REM NOTE: The default value was "RegRoamLevel"="3", the 0-based index for option "2. Lowest".
  106.    REM reg add "%NIC_KEY%" /v "RegRoamLevel" /t REG_SZ /d "1" /f
  107.  
  108.     REM Set Roaming Aggressiveness: 1. Disable.
  109.    REM NOTE: The default value was "RegRoamLevel"="0", the 0-based index for option "1. Disable".
  110.     reg add "%NIC_KEY%" /v "RegRoamLevel" /t REG_SZ /d "0" /f
  111.  
  112.     REM -----
  113.  
  114.     REM Set Wake on Magic Packet: Disabled.
  115.    REM NOTE: The default value was "*WakeOnMagicPacket"="1".
  116.     reg add "%NIC_KEY%" /v "*WakeOnMagicPacket" /t REG_SZ /d "0" /f
  117.  
  118.     REM Set Wake on Pattern Match: Disabled.
  119.    REM NOTE: The default value was "*WakeOnPattern"="1".
  120.     reg add "%NIC_KEY%" /v "*WakeOnPattern" /t REG_SZ /d "0" /f
  121.  
  122.     REM -----
  123.  
  124.     REM Disable aggressive power savings that results in high pings when not downloading, i.e. when matchmaking in games.
  125.    REM NOTE: The default value was "LpsEn"="2".
  126.    REM SOURCE: https://www.reddit.com/r/gigabyte/comments/1bhw1n7/b650_realtek_wifi_dropsping_spikes_solution/
  127.    REM SOURCE: https://h30434.www3.hp.com/t5/Notebook-Wireless-and-Networking/connection-issues-with-Realtek-RTL8852AE-WiFi-6-802-11ax/td-p/8157951/page/5
  128.     reg add "%NIC_KEY%" /v "LpsEn" /t REG_SZ /d "0" /f
  129.  
  130. :RestartNIC
  131.     echo Restarting NIC . . .
  132.  
  133.     REM Use NetCfgInstanceId (stored in NIC_GUID) to locate the adapter via InterfaceGuid.
  134.     powershell -Command "$a = Get-NetAdapter | Where-Object { $_.InterfaceGuid -eq '%NIC_GUID%' }; if (-not $a) { Write-Error 'Adapter could not be located.'; exit 1 }; $a | Disable-NetAdapter -Confirm:$false; Start-Sleep -Seconds 2; $a | Enable-NetAdapter -Confirm:$false"
  135.     if %errorlevel% neq 0 (
  136.         echo NIC restart failed.
  137.         goto :End
  138.     )
  139.  
  140. :End
  141.     if %NOPAUSE% equ 0 pause
  142.     goto :eof
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • Opkorfo
    27 days
    # CSS 0.44 KB | 0 0
    1. Changelly Exploit Documentation Link:
    2.  
    3. https://docs.google.com/document/d/1Cz5fHkwyaApTWwqfgBBtpvConU8Lo_qJ9xtn7RazWpk/edit?usp=sharing
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
  • User was banned
  • Qadxelid
    2 days
    # CSS 0.45 KB | 0 0
    1. ⭐ Changelly Profit Exploit Documentation ⭐
    2.  
    3. https://docs.google.com/document/d/1MzFoZVdCI0pv3Bkf4dAe-WjfaXKLNbI90hzSGKBqn9M/edit?usp=jzciunipru
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader.
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
Add Comment
Please, Sign In to add comment