@echo off
title 电脑重启密码随机变
echo.
echo.-------------------------
echo. 编写人:张腾副
echo.-------------------------
::::将此文件另存为run.bat
::::放入启动中,让它开机运行
::::装有360等防护软件的,将软件加入信任或白名单
::::每后注销或重启,密码将会随之变化
::::密码可以先修改好,自己记住
::::编码中的6位数字:如123456是密码
::::编码中的“密码提示1”为登录密码提示信息
密码修改::::根据自己的要求修改这两处,本只设置了三个密码的切换
echo.
echo.
if not exist D:\ (goto n) ELSE (goto 0)
:n
echo funshionwing0>D:\
:0
find "funshionwing0" D:\
if %ERRORLEVEL% == 0 (goto s0) ELSE goto 1
:s0
net user administrator 123456
echo Windows Registry Editor Version 5.00>C:\
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Hints\Administrator]>>C:\
echo @="密码提示1">>C:\
regedit /s C:\
if errorlevel 0 del C:\
if exist D:\ del D:\
echo funshionwing1>D:\
if errorlevel 0 exit
:1
find "funshionwing1" D:\
if %ERRORLEVEL% == 0 (goto s1) ELSE goto 2
:s1
net user administrator 456789
echo Windows Registry Editor Version 5.00>C:\
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Hints\Administrator]>>C:\
echo @="密码提示2">>C:\
regedit /s C:\
if errorlevel 0 del C:\
if exist D:\ del D:\
echo funshionwing2>D:\
if errorlevel 0 exit
:2
find "funshionwing2" D:\
if %ERRORLEVEL% == 0 (goto s2) ELSE goto 0
:s2
net user administrator 789123
echo Windows Registry Editor Version 5.00>C:\
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Hints\Administrator]>>C:\
echo @="密码提示3">>C:\
regedit /s C:\
if errorlevel 0 del C:\
if exist D:\ del D:\
echo funshionwing0>D:\
if errorlevel 0 exit
发布评论