取消密码复杂度
-------------------------------
@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)