时间:2021-07-01 10:21:17 帮助过:4人阅读
Win8.1系统Windows defender程序是微软自带的安全防护服务,可以给系统提供全面的保护。但是有些用户在打不开Win8.1系统下的Windows defende,还提示文件被破坏,这个问题怎么修复呢?一起来看一下吧。
具体方法
1、按下Windows 徽标键 WIN+X键,点击“命令提示符(管理员)”;
2、然后输入 sfc /scannow 命令 并按回车键(Enter)执行,这个过程可能需要一段时间,即使进度看上去停止不动,需要耐心等待;
3、上一条命令执行完毕后,再复制下面的代码粘贴到命令提示符窗口中,代码有点行,不要遗漏:
reg export “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDefend” %Public%\Desktop\Reg_WD备份.reg&echo=Windows Registry Editor Version 5.00》%temp%\Reg_WD.reg&echo=》》%temp%\Reg_WD.reg&echo=[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDefend]》》%temp%\Reg_WD.reg&echo=“DisplayName”=“@%ProgramFiles%\\Windows Defender\\MpAsDesc.dll,-310”》》%temp%\Reg_WD.reg&echo=“ErrorControl”=dword:00000001》》%temp%\Reg_WD.reg&echo=“ImagePath”=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,\》》%temp%\Reg_WD.reg&echo= 69,00,6c,00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,\》》%temp%\Reg_WD.reg&echo= 00,20,00,44,00,65,00,66,00,65,00,6e,00,64,00,65,00,72,00,5c,00,4d,00,73,00,\》》%temp%\Reg_WD.reg&echo= 4d,00,70,00,45,00,6e,00,67,00,2e,00,65,00,78,00,65,00,22,00,00,00》》%temp%\Reg_WD.reg&echo=“Start”=dword:00000002》》%temp%\Reg_WD.reg&echo=“Type”=dword:00000010》》%temp%\Reg_WD.reg&echo=“Description”=“@%ProgramFiles%\\Windows Defender\\MpAsDesc.dll,-240”》》%temp%\Reg_WD.reg&echo=“DependOnService”=hex(7):52,00,70,00,63,00,53,00,73,00,00,00,00,00》》%temp%\Reg_WD.reg&echo=“ObjectName”=“LocalSystem”》》%temp%\Reg_WD.reg&echo=“ServiceSidType”=dword:00000001》》%temp%\Reg_WD.reg&echo=“RequiredPrivileges”=hex(7):53,00,65,00,4c,00,6f,00,61,00,64,00,44,00,72,00,69,\》》%temp%\Reg_WD.reg&echo= 00,76,00,65,00,72,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,\》》%temp%\Reg_WD.reg&echo= 00,00,53,00,65,00,49,00,6d,00,70,00,65,00,72,00,73,00,6f,00,6e,00,61,00,74,\》》%temp%\Reg_WD.reg&echo= 00,65,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,\》》%temp%\Reg_WD.reg&echo= 65,00,42,00,61,00,63,00,6b,00,75,00,70,00,50,00,72,00,69,00,76,00,69,00,6c,\》》%temp%\Reg_WD.reg&echo= 00,65,00,67,00,65,00,00,00,53,00,65,00,52,00,65,00,73,00,74,00,6f,00,72,00,\》》%temp%\Reg_WD.reg&echo= 65,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,\》》%temp%\Reg_WD.reg&echo= 00,44,00,65,00,62,00,75,00,67,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,\》》%temp%\Reg_WD.reg&echo= 67,00,65,00,00,00,53,00,65,00,43,00,68,00,61,00,6e,00,67,00,65,00,4e,00,6f,\》》%temp%\Reg_WD.reg&echo= 00,74,00,69,00,66,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,\》》%temp%\Reg_WD.reg&echo= 65,00,00,00,53,00,65,00,53,00,65,00,63,00,75,00,72,00,69,00,74,00,79,00,50,\》》%temp%\Reg_WD.reg&echo= 00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,53,00,\》》%temp%\Reg_WD.reg&echo= 68,00,75,00,74,00,64,00,6f,00,77,00,6e,00,50,00,72,00,69,00,76,00,69,00,6c,\》》%temp%\Reg_WD.reg&echo= 00,65,00,67,00,65,00,00,00,53,00,65,00,49,00,6e,00,63,00,72,00,65,00,61,00,\》》%temp%\Reg_WD.reg&echo= 73,00,65,00,51,00,75,00,6f,00,74,00,61,00,50,00,72,00,69,00,76,00,69,00,6c,\》》%temp%\Reg_WD.reg&echo= 00,65,00,67,00,65,00,00,00,53,00,65,00,41,00,73,00,73,00,69,00,67,00,6e,00,\》》%temp%\Reg_WD.reg&echo= 50,00,72,00,69,00,6d,00,61,00,72,00,79,00,54,00,6f,00,6b,00,65,00,6e,00,50,\》》%temp%\Reg_WD.reg&echo= 00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,54,00,\》》%temp%\Reg_WD.reg&echo= 63,00,62,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,\》》%temp%\Reg_WD.reg&echo= 00,65,00,53,00,79,00,73,00,74,00,65,00,6d,00,45,00,6e,00,76,00,69,00,72,00,\》》%temp%\Reg_WD.reg&echo= 6f,00,6e,00,6d,00,65,00,6e,00,74,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,\》》%temp%\Reg_WD.reg&echo= 00,67,00,65,00,00,00,00,00》》%temp%\Reg_WD.reg&echo=“FailureActions”=hex:80,51,01,00,00,00,00,00,01,00,00,00,03,00,00,00,14,00,00,\》》%temp%\Reg_WD.reg&echo= 00,01,00,00,00,64,00,00,00,03,00,00,00,64,00,00,00,00,00,00,00,64,00,00,00》》%temp%\Reg_WD.reg&echo=“LaunchProtected”=dword:00000003》》%temp%\Reg_WD.reg&echo=“FailureCommand”=“C:\\WINDOWS\\system32\\mrt.exe /EHB /ServiceFailure \”CAMP=4.6.305.0;approximate-》 Engine=1.1.11202.0;AVSIG=1.189.1057.0;ASSIG=1.189.1057.0\“ /q”》》%temp%\Reg_WD.reg&echo=》》%temp%\Reg_WD.reg&echo=[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDefend\Security]》》%temp%\Reg_WD.reg&echo=“Security”=hex:01,00,14,80,f4,00,00,00,00,01,00,00,14,00,00,00,30,00,00,00,02,\》》%temp%\Reg_WD.reg&echo= 00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\》》%temp%\Reg_WD.reg&echo= 00,00,02,00,c4,00,07,00,00,00,00,00,18,00,9d,01,02,00,01,02,00,00,00,00,00,\》》%temp%\Reg_WD.reg&echo= 05,20,00,00,00,21,02,00,00,00,00,14,00,9d,01,02,00,01,01,00,00,00,00,00,05,\》》%temp%\Reg_WD.reg&echo= 12,00,00,00,00,00,18,00,9d,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,20,\》》%temp%\Reg_WD.reg&echo= 02,00,00,00,00,14,00,9d,01,02,00,01,01,00,00,00,00,00,05,04,00,00,00,00,00,\》》%temp%\Reg_WD.reg&echo= 14,00,9d,01,02,00,01,01,00,00,00,00,00,05,06,00,00,00,00,00,28,00,ff,01,0f,\》》%temp%\Reg_WD.reg&echo= 00,01,06,00,00,00,00,00,05,50,00,00,00,b5,89,fb,38,19,84,c2,cb,5c,6c,23,6d,\》》%temp%\Reg_WD.reg&echo= 57,00,77,6e,c0,02,64,87,00,00,28,00,ff,01,0f,00,01,06,00,00,00,00,00,05,50,\》》%temp%\Reg_WD.reg&echo= 00,00,00,bf,55,08,72,3b,e0,28,d0,89,79,4b,f8,91,89,6e,7c,40,25,ec,f4,01,01,\》》%temp%\Reg_WD.reg&echo= 00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00》》%temp%\Reg_WD.reg® import %temp%\Reg_WD.reg
4、执行完毕后,我们就可以去服务列表中开启Windows Defender服务了。
小贴示:Win8.1系统中不能开启Windows Defendere服务一般是注册表键值出错引起的,上面的第三步操作就可以修复这个问 题,然后会在桌面生成一个Reg_WD.reg文件以便下次出现同样问题的时候进行修复,双击即可。
以上就是Win8.1 defender程序文件被破坏的修复方法了,这个方法实际上就是通过注册表,修复被破坏的文件,所以才能解决问题。