zoukankan      html  css  js  c++  java
  • bacth:禁止改IP地址

    @echo off
    regsvr32 netcfgx.dll /u /s
    regsvr32 netshell.dll /u /s
    regsvr32 netman.dll /u /s
    reg add "HKCU\Software\Policies\Microsoft\Windows\Network Connections" /v NC_AllowAdvancedTCPIPConfig /t REG_DWORD /d 0 /f
    reg add "HKCU\Software\Policies\Microsoft\Windows\Network Connections" /v NC_EnableAdminProhibits /t REG_DWORD /d 1 /f
    reg add "HKCU\Software\Policies\Microsoft\Windows\Network Connections" /v NC_LanProperties /t REG_DWORD /d 0 /f
    exit

    reg文件:

    Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Network Connections]
    "NC_AllowAdvancedTCPIPConfig"=dword:00000000
    "NC_EnableAdminProhibits"=dword:00000001
    "NC_LanProperties"=dword:00000000



    Tty725 说:
    欢迎转载,但请注明内容的来源或URL;
    [转]”篇章,必须保留原始来源且勿添加本blog指向。
  • 相关阅读:
    学习笔记九
    学习笔记八
    python学习笔记七
    学习笔记七
    仿优酷项目
    orm框架分析——仿优酷项目
    python操作MySQL
    数据库—子查询,视图,事务
    数据库—表查询
    mysql表关系
  • 原文地址:https://www.cnblogs.com/Tty725/p/2422958.html
Copyright © 2011-2022 走看看