Browser Issue

  • Thread starter Thread starter Anguel Iordanov
  • Start date Start date
A

Anguel Iordanov

Hello everyone,



Could anyone please let me know if this is possible at all:

I am running a small network of 16 computers. All of them are running Win XP
Pro except for one running Win 2000 Pro in a domain with Win 2003 Server.
All computers have the same login script. Some users use Internet Explorer,
others Netscape and Firefox.



Somehow I would like to force the following rule:

Every time the user opens the internet browser their home page is set to a
page I have created. If the user set up a different home page the next time
the start the browser or restart the computer the home page is reset to my
htm page.



Is this possible at all? I don't mind doing it on each machine if I have to
but I would prefer if I could use a policy or the login script on the server
to enforce this.



Thanking you in advance.



Andy
 
Anguel Iordanov said:
Hello everyone,



Could anyone please let me know if this is possible at all:

I am running a small network of 16 computers. All of them are running Win XP
Pro except for one running Win 2000 Pro in a domain with Win 2003 Server.
All computers have the same login script. Some users use Internet Explorer,
others Netscape and Firefox.



Somehow I would like to force the following rule:

Every time the user opens the internet browser their home page is set to a
page I have created. If the user set up a different home page the next time
the start the browser or restart the computer the home page is reset to my
htm page.



Is this possible at all? I don't mind doing it on each machine if I have to
but I would prefer if I could use a policy or the login script on the server
to enforce this.



Thanking you in advance.



Andy

You could try this:

1. Create a file called MyPage.reg in a location that is
accessible to all users, e.g. in the NetLogon share.
Make its contents like so:

REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"Start Page"="http://www.google.com.au/advanced_search?hl=en"

2. Insert the following lines into your netlogon script. Adjust them for
your preferred home page.

Line1 @echo off
Line2 regedit /s \\YourServer\Netlogon\MyPage.reg
Line3
Line4 for /F "delims== tokens=2" %%a in ('type
"%UserProfile%\Application Data\Mozilla\Firefox\profiles.ini" ^| find /i
"path="') do set dir=%%a
Line5 type "%UserProfile%\Application Data\Mozilla\Firefox\%dir%\prefs.js"
| find /i /v "user_pref(""browser.startup.homepage""" >
"%temp%\prefs.new"
Line6 echo user_pref("browser.startup.homepage",
"http://www.google.com.au/advanced_search?hl=en");>>"%temp%\prefs.new"
Line7 copy /y "%temp%\prefs.new" "%UserProfile%\Application
Data\Mozilla\Firefox\%dir%\prefs.js" > nul

3. Brace yourself for the backlash from your users. They
probably won't like it having your home page rammed
down their throats.

The above solution works in principle but it needs field testing.
 
HI There and thank you very much for the prompt response. I will try this as
soon as I am back in the office.

Does this work for all the browsers or just for IE and Firefox?

Thank you very much in advance.

Best regards,

Andy





Pegasus (MVP) said:
Anguel Iordanov said:
Hello everyone,



Could anyone please let me know if this is possible at all:

I am running a small network of 16 computers. All of them are running Win XP
Pro except for one running Win 2000 Pro in a domain with Win 2003 Server.
All computers have the same login script. Some users use Internet Explorer,
others Netscape and Firefox.



Somehow I would like to force the following rule:

Every time the user opens the internet browser their home page is set to
a
page I have created. If the user set up a different home page the next time
the start the browser or restart the computer the home page is reset to
my
htm page.



Is this possible at all? I don't mind doing it on each machine if I have to
but I would prefer if I could use a policy or the login script on the server
to enforce this.



Thanking you in advance.



Andy

You could try this:

1. Create a file called MyPage.reg in a location that is
accessible to all users, e.g. in the NetLogon share.
Make its contents like so:

REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"Start Page"="http://www.google.com.au/advanced_search?hl=en"

2. Insert the following lines into your netlogon script. Adjust them for
your preferred home page.

Line1 @echo off
Line2 regedit /s \\YourServer\Netlogon\MyPage.reg
Line3
Line4 for /F "delims== tokens=2" %%a in ('type
"%UserProfile%\Application Data\Mozilla\Firefox\profiles.ini" ^| find
/i
"path="') do set dir=%%a
Line5 type "%UserProfile%\Application Data\Mozilla\Firefox\%dir%\prefs.js"
| find /i /v "user_pref(""browser.startup.homepage""" >
"%temp%\prefs.new"
Line6 echo user_pref("browser.startup.homepage",
"http://www.google.com.au/advanced_search?hl=en");>>"%temp%\prefs.new"
Line7 copy /y "%temp%\prefs.new" "%UserProfile%\Application
Data\Mozilla\Firefox\%dir%\prefs.js" > nul

3. Brace yourself for the backlash from your users. They
probably won't like it having your home page rammed
down their throats.

The above solution works in principle but it needs field testing.
 
Back
Top