MSFN Forum: Automatically setting home page - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Automatically setting home page Rate Topic: -----

#1 User is offline   codeblue 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 305
  • Joined: 14-July 03

Posted 15 June 2004 - 05:38 AM

As students always change the home page i need the home page to be set to Google each time the computer is turned on.

I have identifyed the reg key (see below) and put it in the Start UP folder. To hide it from prying eyes i set it to Hidden, but this only resulted in it not being activated. Although when NOT set to hidden it does activate but comes up with a message needing exceptance to inport key.

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"Start Page"="http://www.google.co.uk/"


I need a way of setting the home page without user intervention or 3rd party software (due to licence issues) apon start up.

thanx


#2 User is offline   neosapience 

  • Member
  • PipPip
  • Group: Members
  • Posts: 157
  • Joined: 01-June 04

Posted 15 June 2004 - 02:04 PM

You can have regedit import a .reg file silently, without user input. Make a shortcut and put this for the command line -

REGEDIT.EXE /S "C:\somepath somewhere\regfilename.REG"

Just replace the directory path and .REG file name with location and name of your .REG file. Be sure to use the quotes "".

#3 User is offline   codeblue 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 305
  • Joined: 14-July 03

Posted 16 June 2004 - 02:04 AM

Thanks neosapience, this is what ive got, and it does work....

cls
@ECHO OFF
REGEDIT.EXE /S "C:\hp.reg"
EXIT


...but, the .bat file can still be seen in the StartUP folder and if it is 'Hidden' it doesn't activate on start up. Also a Dos scren appears when activated, any clues on how to hid the dos prompt?

#4 User is offline   MadGutts 

  • Mad Member!
  • PipPip
  • Group: Members
  • Posts: 282
  • Joined: 26-May 04

  Posted 16 June 2004 - 06:31 AM

If the computer logs on to a network, then move the regkey to run from the login.bat file.

If its a stand alone pc, you can edit the win.ini file and use the "run" line to install the key.

Hope this helps.

#5 User is offline   neosapience 

  • Member
  • PipPip
  • Group: Members
  • Posts: 157
  • Joined: 01-June 04

Posted 16 June 2004 - 11:42 AM

First, you don't have to make a batch file for it. You can just make a shortcut and put the command line in it.

Anyway, if you're worried about people seeing it in the startup folder, there's a way you run it without putting it in the startup folder. Make a .reg file with the code below. Just run it ONE time. It will place a command in the registry that will instruct windows to run the 'REGEDIT.EXE /S "C:\hp.reg"' command every time windows starts.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"homepagefix"="REGEDIT.EXE /S \"C:\\HP.REG\""


Let me know how it works for ya.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy