JonWatson Posted November 28, 2007 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
gosh Posted November 28, 2007 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
JonWatson Posted November 28, 2007 Author 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!
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