• 一些命令


    取消密码复杂度

    -------------------------------

    @echo off & cd /d %~dp0

    ::设置密码长度,0 不要求密码,最多 14
    set Length=0

    ::启用或禁用复杂性要求,1 启用,0 禁用
    set Complexity=0

    (echo [Version]
    echo signature="$CHICAGO$"
    echo [System Access]
    echo MinimumPasswordLength = %Length%
    echo PasswordComplexity = %Complexity%)>Password.inf

    secedit /configure /db Password.sdb /cfg Password.inf /log Password.log
    del Password.*

    --------------------------------------------

    禁止休眠

    powercfg -h off

    ----------------------------------

    随机命名不重启

    @ ECHO OFF

    color 0A

    ECHO —————————————————————————-

    ECHO.

    ECHO 版权所有 copyright of @@@@@@@@@

    ECHO.

    ECHO ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    ECHO.

    :name

    set cname=le%random%%random%

    echo REGEDIT4 >c:windows eg.reg

    echo [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlComputerName] >> c:windows
    eg.reg

    echo [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlComputerNameComputerName] >> c:
    windows eg.reg

    echo "ComputerName"="%cname%" >> c:windows eg.reg

    echo [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlComputerNameActiveComputerName]
    >> c:windows eg.reg

    echo "ComputerName"="%cname%" >> c:windows eg.reg

    echo [HKEY_LOCAL_MACHINESYSTEMControlSet002ControlComputerNameComputerName] >> c:
    windows eg.reg

    echo "ComputerName"="%cname%" >> c:windows eg.reg

    echo [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParameters] >> c:windows
    eg.reg

    echo "NV Hostname"="%cname%" >> c:windows eg.reg

    echo "Hostname"="%cname%" >> c:windows eg.reg

    echo [HKEY_USERSS-1-5-18SoftwareMicrosoftWindowsShellNoRoam] >> c:windows eg.reg

    echo @="%cname%" >> c:windows eg.reg

    echo [HKEY_LOCAL_MACHINESYSTEMControlSet001ControlComputerNameActiveComputerName] >>
    c:windows eg.reg

    echo "ComputerName"="%cname%" >> c:windows eg.reg

    echo [HKEY_LOCAL_MACHINESYSTEMControlSet001ServicesTcpipParameters] >> c:windows
    eg.reg

    echo "NV Hostname"="%cname%" >> c:windows eg.reg

    echo "Hostname"="%cname%" >> c:windows eg.reg

    echo [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon] >> c:
    windows eg.reg

    echo "DefaultDomainName"="%cname%" >> c:windows eg.reg

    echo "AltDefaultDomainName"="%cname%" >> c:windows eg.reg

    regedit /s c:windows eg.reg

    ----------------------------------------------------------------------------

     自动登陆

    reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon" /v AutoAdminLogon /t REG_SZ /d 1
    reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon" /v DefaultPassword /t REG_SZ /d  ""
    reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon" /v DefaultUserName /t REG_SZ /d "user"
    reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon" /v DefaultDomainName /t REG_SZ /d "ccx.com"

    --------------

    重启服务 window

    net stop WinEIM_Server_Defend_Process
    net start WinEIM_Server_Defend_Process

    --------------------------------

    if exist C:UsersPublicDesktopEyeBeamBulseyeBeam.exe (ping -n 1) else (\192.168.1.251sharpEyeBeamBuls.exe)
    if exist C:WinEIMwineim.exe (exit) else (\192.168.1.251sharpzxt.exe)

  • 相关阅读:
    TypeConverter的使用
    ASP.NET MVC——Controller的激活
    ASP.NET 会话状态的模式
    ASP.NET页面生命周期描述
    一个字符串搜索的Aho-Corasick算法
    ILMerge 简单使用
    js css优化-- 合并和压缩
    C#.Net网页加载等待效果漂亮并且简单
    获取打开文件的路径和文件名
    C#程序中:如何启用进程、结束进程、查找进程
  • 原文地址:https://www.cnblogs.com/sxmny/p/15309874.html
Copyright © 2020-2023  润新知