Page 1 of 1 1
Topic Options
#120499 - 2004-06-02 03:13 PM Default Home Page IE
SBZ Offline
Lurker

Registered: 2004-06-02
Posts: 4
Loc: Rio de Janeiro, Brasil
Good Day,


I am new in the use of the KIX, and already I make he to map network pach with diverse units of the group of the user, and execute files in accordance with a day.

would like to know if have a way to define the initial page of the IE, with the KIX

[ ]'s Sergio
MAIL:sergiob@emerenciano.com.br
ICQ: 39729642

PS: sorry my poor english, if some body speack portuguese, contact me pls :D

Top
#120500 - 2004-06-02 03:21 PM Re: Default Home Page IE
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
check on manual for writevalue()

and then, write the data to:
key - HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main
value - Start Page
_________________________
!

download KiXnet

Top
#120501 - 2004-06-02 03:32 PM Re: Default Home Page IE
Cypher Offline
Fresh Scripter

Registered: 2004-06-02
Posts: 6
Be Aware that if you are using Policies on servers that this may overwrite your Logon script settings

Also use Error codes to make sure the registry setting was excepted

ie
$MyRegKey = "HKCU\Software\Microso...... etc "
$MyValue = "http://www.kixtart.org"

IF @Error = 0
"Write Registry Statement Here using variables"
? "Registry has been updated"
ELSE
? " There was a problem the registry has not ben updated"
ENDIF

Top
#120502 - 2004-06-02 03:37 PM Re: Default Home Page IE
Cypher Offline
Fresh Scripter

Registered: 2004-06-02
Posts: 6
Esteja ciente que se você estiver usando políticas em usuários que este pode overwrite seus ajustes do certificado do início de uma sessão
Também os códigos de erro do uso a certificar-se o ajuste do registro foram excetuados

ie
$MyRegKey = "HKCU\Software\Microso...... etc "
$MyValue = "http://www.kixtart.org"

IF @Error = 0
Escreva a indicação do registro que usa aqui variáveis
? "O registro foi atualizado"
ELSE
? " Havia um problema que o registro não tem ben updated"
ENDIF

Pesaroso se meu Portugese não for muito bom

Top
#120503 - 2004-06-02 04:00 PM Re: Default Home Page IE
SBZ Offline
Lurker

Registered: 2004-06-02
Posts: 4
Loc: Rio de Janeiro, Brasil
tnks lonkero, tks cypher
The workstationsare w98 then do not have security problems . Very tks for trying to use porthugues, as well as I try the English! I obtained what I wanted, by yours frists steeps.
I arrived at this:

Quote:

$NEWPROXY="192.168.100.104:80"

WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings", "ProxyEnable", "1", "REG_DWORD")
WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings", "ProxyServer", $NEWPROXY, "REG_SZ")
WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings", "ProxyOverride", "10.*;*.gti;<local>", "REG_SZ")
WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main", "Start Page", "http://intranet/", "REG_SZ")






Exists some way to improve?
PS: yes I know, used to advantage and configured proxy [ ]'s

Top
#120504 - 2004-06-02 08:31 PM Re: Default Home Page IE
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
you could read in the faq forum "why does console display 0's and 1's"
_________________________
!

download KiXnet

Top
#120505 - 2004-06-02 09:06 PM Re: Default Home Page IE
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
If this is to go in a logon script, some wintendos do not have HKCU loaded at the time the script runs.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#120506 - 2004-06-02 10:47 PM Re: Default Home Page IE
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
called win9x?
_________________________
!

download KiXnet

Top
#120507 - 2004-06-03 02:35 PM Re: Default Home Page IE
SBZ Offline
Lurker

Registered: 2004-06-02
Posts: 4
Loc: Rio de Janeiro, Brasil
Good Day

HELP-ME again my friends!!
how to improve this script to:
define a default desktop!!
I read about kix detec office, but dont understand very well
and if the computer use openoffice( some workstations have it, YES OPEN SOURCE), the kix detect?
how t define a default wallpaper? i read about screensaver, but nothing about wallpaper
and to make icons? of office and openoffice??
TKS MY FRIENDS!!

Top
#120508 - 2004-06-03 02:47 PM Re: Default Home Page IE
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
hey calm down.
don't panic, be happy!+
_________________________
!

download KiXnet

Top
#120509 - 2004-06-03 02:54 PM Re: Default Home Page IE
SBZ Offline
Lurker

Registered: 2004-06-02
Posts: 4
Loc: Rio de Janeiro, Brasil
i am happy, becouse discovery kix =]

Top
#120510 - 2004-06-03 03:02 PM Re: Default Home Page IE
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Take a look in the manual for SetWallpaper().
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#120511 - 2004-06-03 06:07 PM Re: Default Home Page IE
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
The UDF to detect office which I think you're speaking about DOES NOT detect any other Office except the Microsoft one. However I'm sure that if they have tagged the registry as most do it can be done, but you will probably have to be the one to write it unless someone else has already done it and is willing to share their code.

If the Windows 9x desktops are not being shared by multiple users I would recommend disabling profiles which would make it easier to deal with them in logon scripts.

All the things you ask should be able to be done, just need to dig in and start doing some searching and testing of code.

I'd recommend you take each task on it's own and perfect the code for it, then plug it into a larger script as you go along.

Top
Page 1 of 1 1


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

Who's Online
0 registered and 255 anonymous users online.
Newest Members
Timothy, Jojo67, MaikSimon, kvn317, kixtarts2025
17874 Registered Users

Generated in 0.066 seconds in which 0.024 seconds were spent on a total of 13 queries. Zlib compression enabled.

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