Saturday, October 5, 2024

Script for Changing the IE Start Page

Datamation content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

Here’s a script from Kevin McReynolds that will read a registry setting for the starting page of Internet Explorer and then change the home page if it does not match the script’s URL.

SMS Scripts list.


Below is the entire script:


; This script reads a registry setting for the
startup (home) page of IE explorer and then 
changes it if it does not match.
; Kevin McReynolds, Kevinvandale@yahoo.com
; 11/21/01

RegRead, HP, REG_SZ, HKEY_CURRENT_USER, SOFTWAREMicrosoftInternet ExplorerMain, Start Page

Ifequal, HP, http://www.ldsbc.edu, goto end

RegWrite, REG_SZ, HKEY_CURRENT_USER, SOFTWAREMicrosoftInternet ExplorerMain, Start Page, http://www.ldsbc.edu

END:
exit

Disclaimer: We hope that the information in these pages is valuable to you. Your use of the information contained in these pages, however, is at your sole risk. All information on these pages is provided “as -is”, without any warranty, whether express or implied, of its accuracy, completeness, fitness for a particular purpose, title or non-infringement, and none of the third-party products or information mentioned in the work are authored, recommended, supported or guaranteed by me. We shall not be liable for any damages you may sustain by using this information, whether direct, indirect, special, incidental or consequential, even if it has been advised of the possibility of such damages.

Subscribe to Data Insider

Learn the latest news and best practices about data science, big data analytics, artificial intelligence, data security, and more.

Similar articles

Get the Free Newsletter!

Subscribe to Data Insider for top news, trends & analysis

Latest Articles