Page 1 of 2 12>
Topic Options
#179077 - 2007-08-10 09:24 AM How to set Explorer home page
Ashpoint Offline
Starting to like KiXtart

Registered: 1999-08-27
Posts: 192
Loc: Sydney, NSW, Australia
My client wants their corporate Internet web site to be the home page in Internet Explorer for all users.

All workstations are Windows XP PRo/SP2 and all workstions use Internet Explorer current version.

Is there a sample Kix code or registry hack to set this for all users?

Thanks in advance.
Michael

Top
#179093 - 2007-08-10 12:23 PM Re: How to set Explorer home page [Re: Ashpoint]
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
Goto http://www.google.com, type something like
set internet explorer home page
It will give you pages like
the How-To Geek Computer Help from your friendly how-to geek Registry Hack to Set Internet Explorer Start Page

Top
#179114 - 2007-08-10 04:15 PM Re: How to set Explorer home page [Re: Witto]
BillBarnard Offline
Starting to like KiXtart

Registered: 2007-03-14
Posts: 141
Loc: Leighton Buzzard, Bedfordshire...
If your client uses Active Directory, then use the Default Domain Policy:-

User Configuration/Windows Settings/Internet Explorer Maintenance/URLs/Important URLs/Customize Home Page URL

Or use KiXtart in a login script to set the current user's registry entry:-

HKCU\Software\Microsoft\Internet Explorer\Main\Start Page

Bill
_________________________
Bill

Top
#179144 - 2007-08-10 07:25 PM Re: How to set Explorer home page [Re: BillBarnard]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11628
Loc: CA
I would not recommend using a GPO just for this. If there are many things you want or need to do okay but to whip up a GPO for every little thing will impact your network. It will now need to check, verify every time any machine starts, it will have to replicate it to all other DC regardless of bandwidth or location, it will slightly increase backup size and time, etc..

GPO is great but over use or abuse is not a Best Practice (IMHO)

Top
#179147 - 2007-08-10 07:45 PM Re: How to set Explorer home page [Re: NTDOC]
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
You don't need separate GPOs for every itty bitty task. With a little forthought, you can combine tasks and not impact performance.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#179148 - 2007-08-10 08:06 PM Re: How to set Explorer home page [Re: Les]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11628
Loc: CA
Exactly

 Quote:
If there are many things you want or need to do okay

Top
#179199 - 2007-08-11 08:55 PM Re: How to set Explorer home page [Re: NTDOC]
Ashpoint Offline
Starting to like KiXtart

Registered: 1999-08-27
Posts: 192
Loc: Sydney, NSW, Australia
Thanks all for your assistance. I used Bill's registry address to make the change. Simple and works well.

Client happy!

 Code:
;************************ Default Explorer Home *********************
$Key = "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main"
$R1  = ReadValue($Key,"Start Page")
IF $R1 <> "http://www.custdomain.com/"
  WriteValue ($Key, "Start Page", "http://www.custdomain.com/", "REG_SZ")
ENDIF

Top
#179201 - 2007-08-11 09:57 PM Re: How to set Explorer home page [Re: Ashpoint]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
Just to stay in the golfing spirit that is going on for the last few days here: http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=179061&page=1

I took 14 characters of your code \:D Oh and you know that a non silenced writevalue will give you some screen output right?

 Code:
;************************ Default Explorer Home *********************
$Key = "HKCU\Software\Microsoft\Internet Explorer\Main"
$R1  = ReadValue($Key,"Start Page")
IF $R1 <> "http://www.custdomain.com"
  WriteValue ($Key, "Start Page", "http://www.custdomain.com", "REG_SZ")
ENDIF
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#179204 - 2007-08-11 10:16 PM Re: How to set Explorer home page [Re: Mart]
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Psst! If you wanna talk golfing, you can cut that way way down. There is no need to first ReadValue() it and then do an IF condition. Just write it every time, regardless.
 Code:
$=WriteValue("HKCU\Software\Microsoft\Internet Explorer\Main","Start Page","http://www.custdomain.com","REG_SZ")


Edited by Les (2007-08-11 11:03 PM)
Edit Reason: had to shorten line after adding code tags
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#179205 - 2007-08-11 10:41 PM Re: How to set Explorer home page [Re: Les]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
les, you didn't use code-tags...
_________________________
!

download KiXnet

Top
#179206 - 2007-08-11 11:57 PM Re: How to set Explorer home page [Re: Lonkero]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11628
Loc: CA
quotes on REG_SZ not needed
custdoman.com is probably enough to work
 Code:
$=WriteValue("HKCU\Software\Microsoft\Internet Explorer\Main","Start Page","custdomain.com",REG_SZ)

Top
#179207 - 2007-08-12 12:03 AM Re: How to set Explorer home page [Re: NTDOC]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
 Code:
$=WriteValue("HKCU\Software\Microsoft\Internet Explorer\Main","Start Page",custdomain.com,REG_SZ)


will do just fine.
_________________________
!

download KiXnet

Top
#179208 - 2007-08-12 12:25 AM Re: How to set Explorer home page [Re: Lonkero]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11628
Loc: CA
Okay, curious though why that one is okay without quotes yet others are not.
Top
#179209 - 2007-08-12 12:35 AM Re: How to set Explorer home page [Re: NTDOC]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
no spaces?
_________________________
!

download KiXnet

Top
#179210 - 2007-08-12 12:42 AM Re: How to set Explorer home page [Re: Lonkero]
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
page 113 of the kix2010.doc of kixtart 4.53 says to use quotes
 Quote:

Syntax WRITEVALUE ("subkey", "entry", "expression", "data type")

Top
#179211 - 2007-08-12 12:43 AM Re: How to set Explorer home page [Re: Lonkero]
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I don't advocate extreme golf tactics such as dropping quotes when coding for logon scripts.

BTW, my start page is "about:blank" and it loads really fast.

For our users we set their start page to our intranet via GPO but everyone gets around it anyway by putting shortcuts on their desktop to whatever page they want.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#179212 - 2007-08-12 01:01 AM Re: How to set Explorer home page [Re: Les]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
les, that should be overridable.
either via firewall/proxy setting or via resident script.

witto, it doesn't matter what the manual says in these manners.
kixtart has always accepted strings without quotes and if someone mentions golf, those are first to leave.

so many times we have seem kixtart users come to board saying their script worked fine for years with:
 Code:
use h: \\server\share
but now as they added new share:
 Code:
use i: \\server\other share
they found a bug in kixtart.
_________________________
!

download KiXnet

Top
#179213 - 2007-08-12 03:14 AM Re: How to set Explorer home page [Re: Lonkero]
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
LOL
Then they try to work around the bug by replacing the space with a hyphen and find yet another bug. Damn that KiX is buggy!
 Code:
use i: \\server\other-share

Forget golfing the script and use quotes around all literals.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#179214 - 2007-08-12 09:15 AM Re: How to set Explorer home page [Re: Les]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11628
Loc: CA
Well AshPoint has been around a long time so I'm sure he knows better than to do GOLFING on production scripts.
Top
#179215 - 2007-08-12 01:14 PM Re: How to set Explorer home page [Re: NTDOC]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
-99?
wow. didn't see that before you said it \:\)
_________________________
!

download KiXnet

Top
Page 1 of 2 12>


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 657 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.079 seconds in which 0.032 seconds were spent on a total of 14 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org