Auto shutdown file in startup

时间:2018-02-03 08:14:44

标签: windows

I have a batch file with name hack.bat with content "shutdown /s /t 0" when I press this my system shutdown automatically

I have placed this file in a startup folder "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp"

This action makes the file Hack.bat to execute on start of windows. when ever I login into my account this hack.bat is running and system is shutting down.

please help me to resolve this problem.!!!!!

1 个答案:

答案 0 :(得分:1)

You'll need to boot into safe mode to move or remove the file, the method depends on which version of windows you are currently using.

Windows XP and 7:

Press F8 immediately after your BIOS screen goes away (on some PCs the dead givaway is your screen flashing) then choose safe mode from there. after your computer boots find and move or delete the offending batch file from C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp.

Windows 8, 8.1, and 10:

Boot your install disk, chose "Repair your computer" then "Troubleshoot" "Startup Settings" and click "Restart". this will restart your computer into a new menu, choose the option that says "Enable Safe Mode" (usually #4) from there find and move or delete the offending batch file from C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp.