Page 1 of 1 1
Topic Options
#70538 - 2002-10-03 05:18 PM Legal Notice Registry Edits
Anonymous
Unregistered


I have to edit the HKEY_LOCAL_MACHINE\Software hive in the registry to add two values.
What is the easiest way to do this with Kixtart?
Please know in advance that I am not a programmer.
A small example would help greatly.

They are
1.
KEY - \Microsoft\Windows NT\Current Version\Winlogon
NAME - LegalNoticeCaption
TYPE - REG_SZ
VALUE - LEGAL NOTICE
2.
KEY - \Microsoft\Windows NT\Current Version\Winlogon
NAME - LegalNoticeText
TYPE - REG_SZ
VALUE - Authorized Access Only

Thank you very much

Top
#70539 - 2002-10-03 05:45 PM Re: Legal Notice Registry Edits
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
well, I simply write it for you:
code:
$nul=writevalue("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version\Winlogon","LegalNoticeCaption","LEGAL NOTICE","REG_SZ")
$nul=writevalue("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version\Winlogon","LegalNoticeText","Authorized Access Only","REG_SZ")

_________________________
!

download KiXnet

Top
#70540 - 2002-10-03 05:57 PM Re: Legal Notice Registry Edits
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
And be aware that HKEY_LOCAL_MACHINE requires administrative privileges under Windows NT/2000/XP in order to WRITE to it. Also, please search the KiXtart BBS for example scripts implementing 'LegalNoticeCaption' by searching for it.
_________________________
There are two types of vessels, submarines and targets.

Top
#70541 - 2002-10-03 06:04 PM Re: Legal Notice Registry Edits
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
This is best done by Policy rather than reg hacks.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#70542 - 2002-10-04 05:05 PM Re: Legal Notice Registry Edits
Anonymous
Unregistered


Thank you. It worked. Where can I find information on dressing the notification box up a little....maybe with a jpg file I have.

Thanks again

Top
#70543 - 2002-10-04 05:17 PM Re: Legal Notice Registry Edits
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
as I know of, no can do.
_________________________
!

download KiXnet

Top
#70544 - 2002-10-04 08:36 PM Re: Legal Notice Registry Edits
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
You can always create a KiXForms for it and run it during the login script. Can KiXForms integrate a JPG/GIF/PNG as a background?
_________________________
There are two types of vessels, submarines and targets.

Top
#70545 - 2002-10-04 08:41 PM Re: Legal Notice Registry Edits
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
you can use IE... and COM it.

or use my favorite... FunkySplash
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#70546 - 2002-12-09 08:18 PM Re: Legal Notice Registry Edits
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

For another way doing it see our script welcome.kix, which
you can find on our site.
greetings.

btw: symbol  - on our homepage has been linked to related http://kixtart.org topic.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#70547 - 2002-12-10 01:55 AM Re: Legal Notice Registry Edits
Waltz Offline
Seasoned Scripter

Registered: 2002-08-01
Posts: 485
Loc: Waterloo, Ontario, Canada
...imaho...
...what you are wanting to do is a waste of your time and theirs...
...from my experience, they don't read logon stuff...i remember, from my youth, spending countless hours developing what i considered to be the ultimate welcome messagebox(), only to discover, by accident, that nobody could identify it...they just want to logon and do their stuff...
...you can lead them to the door of wisdom, but you can't make them walk through it... [Frown]
_________________________
We all live in a Yellow Subroutine...

Top
#70548 - 2002-12-10 02:11 AM Re: Legal Notice Registry Edits
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
The legal notice is indeed annoying, and the only reason to have it there would be to have legal recourse against somebody who logs in without being authorized to do so. By clicking on it he accepts responsibility for his actions.

I have my new user sign an internal account application form that states that they have read and understood our University's Computing Ethics policy. The policy is available online and as a print-out for them. Thus, in case of problems, I just have to say 'According to Section x of the Computing Ethics Policy, which, by the way, you acknowledged in writing to have read and understood, you did ...".
_________________________
There are two types of vessels, submarines and targets.

Top
#70549 - 2002-12-10 02:31 AM Re: Legal Notice Registry Edits
Waltz Offline
Seasoned Scripter

Registered: 2002-08-01
Posts: 485
Loc: Waterloo, Ontario, Canada
...understood...
...your explanation is well stated...
_________________________
We all live in a Yellow Subroutine...

Top
Page 1 of 1 1


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

Who's Online
1 registered (Henriques) and 2516 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.071 seconds in which 0.035 seconds were spent on a total of 11 queries. Zlib compression enabled.

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