JonWatson Posted November 28, 2007 Share Posted November 28, 2007 I have been working on a batch file that does various spyware scans (I found a great script on Anandtech and modified it and added quite a bit of stuff to suite my needs), and I'd love to be able to have it start automatically when it goes into safe mode. How on earth would I do this?Thanks guys!Jon Link to comment Share on other sites More sharing options...
gosh Posted November 28, 2007 Share Posted November 28, 2007 2 ways:1 - Have script check for presence of this key, it's ONLy created when you boot into safe mode, it's deleted when you reboot.HKLM\System\CCS\Safeboot\Option\optionvalue=12 - Modify C:\WINDOWS\Web\safemode.htt , which is what you see on your desktop when you boot into safe mode. This is what causes you to get that prompt when you boot into safe mode.-gosh Link to comment Share on other sites More sharing options...
JonWatson Posted November 28, 2007 Author Share Posted November 28, 2007 2 ways:1 - Have script check for presence of this key, it's ONLy created when you boot into safe mode, it's deleted when you reboot.HKLM\System\CCS\Safeboot\Option\optionvalue=12 - Modify C:\WINDOWS\Web\safemode.htt , which is what you see on your desktop when you boot into safe mode. This is what causes you to get that prompt when you boot into safe mode.-goshBrilliant as always Gosh, thanks very much! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now