国产精品天干天干,亚洲毛片在线,日韩gay小鲜肉啪啪18禁,女同Gay自慰喷水

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

一鍵重置dns緩存、網(wǎng)路代理、host文件

2023-07-26 11:14 作者:躺平的貍花貓  | 我要投稿
  1. 創(chuàng)建一個(gè)記事本

  2. 打開記事本

  3. 將下列代碼復(fù)制進(jìn)去:

    @echo off

    CLS


    :: 以管理員權(quán)限運(yùn)行

    %1 mshta vbscript:createobject("shell.application").shellexecute("%~s0","::","","runas",1)(window.close)&exit

    cd /d %~dp0


    :: 初始化DNS

    echo 重置DNS...

    :刷新DNS

    ipconfig /flushdns


    :: 初始化網(wǎng)絡(luò)代理

    echo 重置網(wǎng)絡(luò)代理設(shè)置...

    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f >nul 2>nul

    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /d "" /f >nul 2>nul

    echo 網(wǎng)絡(luò)代理設(shè)置已重置


    :: 初始化Hosts文件

    @echo off

    echo 重置hosts文件...

    cd %windir%\system32\drivers\etc

    echo # Copyright (c) 1993-2009 Microsoft Corp. > hosts

    echo # >> hosts

    echo # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. >> hosts

    echo # >> hosts

    echo # This file contains the mappings of IP addresses to host names. Each >> hosts

    echo # entry should be kept on an individual line. The IP address should >> hosts

    echo # be placed in the first column followed by the corresponding host name. >> hosts

    echo # The IP address and the host name should be separated by at least one >> hosts

    echo # space. >> hosts

    echo # >> hosts

    echo # Additionally, comments (such as these) may be inserted on individual >> hosts

    echo # lines or following the machine name denoted by a '#' symbol. >> hosts

    echo # >> hosts

    echo # For example: >> hosts

    echo # >> hosts

    echo #? ? ? 102.54.94.97? ? ?rhino.acme.com? ? ? ? ? # source server >> hosts

    echo #? ? ? ?38.25.63.10? ? ?x.acme.com? ? ? ? ? ? ? # x client host >> hosts

    echo 127.0.0.1 localhost >> hosts

    ipconfig /flushdns >nul 2>nul

    echo Hosts 文件重置成功


    :END

    echo 按任何一個(gè)鍵退出...

    pause >nul

  4. 另存為,修改文件后綴為.bat(看不到后綴的自行搜索),文件編碼選擇ANSI,文件名自擬

  5. 雙擊執(zhí)行就可以啦

一鍵重置dns緩存、網(wǎng)路代理、host文件的評論 (共 條)

分享到微博請遵守國家法律
永寿县| 安泽县| 新和县| 加查县| 沂水县| 巨野县| 安图县| 苍溪县| 崇仁县| 怀来县| 鹤庆县| 于都县| 海淀区| 贞丰县| 仙居县| 古浪县| 秦皇岛市| 广南县| 福建省| 色达县| 黄石市| 雷山县| 霍林郭勒市| 化德县| 堆龙德庆县| 遂溪县| 葵青区| 淮滨县| 湘西| 万州区| 平潭县| 浦江县| 绵竹市| 禄劝| 滕州市| 洱源县| 三都| 五常市| 论坛| 交城县| 洛浦县|