Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Create two files, startup.bat and startup.vbs
- Startup.bat
- [CODE]@echo off
- :1
- "C:\Windows\RestartonCrash\RestartOnCrash.exe"
- goto :1[/CODE]
- Startup.vbs
- [CODE]Set WshShell = CreateObject("WScript.Shell" )
- WshShell.Run chr(34) & "C:\Scripts\Startup.bat" & Chr(34), 0
- Set WshShell = Nothing [/CODE]
- Now create a scheduled task that runs when you login and use startup.vbs. That will run silently in the background and silently run startup.bat, which runs
- @echo off
- :1
- "C:\Windows\RestartonCrash\RestartOnCrash.exe"
- goto :1
- That prevents StartuponCrash fron NOT being active.
Advertisement
Add Comment
Please, Sign In to add comment