Page 2 of 2 <12
Topic Options
#70597 - 2002-10-07 10:55 AM Re: Cannot get Break command to work
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
kixtart.org/downloads

I have last successfull consistent breaks on 3.6x versions...
_________________________
!

download KiXnet

Top
#70598 - 2002-10-07 11:01 AM Re: Cannot get Break command to work
Ghost Offline
Starting to like KiXtart

Registered: 2000-09-14
Posts: 171
Disable Keyboard

What about this, did a search on the net and found this, could be of some help.

Click Me!

Also Click Me!

[Smile]

[ 07. October 2002, 11:02: Message edited by: Ghost ]
_________________________
Who are you? Who slips into my robot body and whispers to my ghost?

Top
#70599 - 2002-10-07 11:14 AM Re: Cannot get Break command to work
Uffculme School Offline
Fresh Scripter

Registered: 2002-10-04
Posts: 23
Loc: Uffculme, Devon, England
The Delphi one looked good, but there was no way of re-enabling the keyboard or mouse! The same problem occurs in VB.

I'll keep trawling.

Top
#70600 - 2002-10-07 11:31 AM Re: Cannot get Break command to work
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
mm...

what about just letting this way go and writing small reg-file which is imported from the main batch.
it does not have to have anything else but write to:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run

write there call for the kix and script and it will run fully separated and no user can interfier with it as it's not seen.
_________________________
!

download KiXnet

Top
#70601 - 2002-10-07 11:32 AM Re: Cannot get Break command to work
Ghost Offline
Starting to like KiXtart

Registered: 2000-09-14
Posts: 171
Almost cracked it.

Click Me!

Not a bad suite of apps for $20, worth a look at the trial.

[Smile]
_________________________
Who are you? Who slips into my robot body and whispers to my ghost?

Top
#70602 - 2002-10-07 03:54 PM Re: Cannot get Break command to work
Uffculme School Offline
Fresh Scripter

Registered: 2002-10-04
Posts: 23
Loc: Uffculme, Devon, England
Hi all!!
Thanks to Lonkero, I have written the C++ exes, one to enable, and one to disable. ( See Editing MSNET32.dll ) We put the disable exe at the beginning of the script, and the enable one at the end. With that, and editing MSNET32.dll, there is no way out now!

If anyone wants the exes or the edited MSNET32.dll (On the "please wait while your logon script executes" dialog, the Cancel button is disabled and invisible) just email or private message me.

Thanks to all who contributed [Big Grin] [Big Grin]

Top
#70603 - 2002-10-07 03:59 PM Re: Cannot get Break command to work
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
if it's ok, I might like to put those online...

if you could package the exe's in zip and mail to me I would be thankfull.
the dll still probably is protected by some copyrights...
 
_________________________
!

download KiXnet

Top
#70604 - 2002-10-07 04:28 PM Re: Cannot get Break command to work
Uffculme School Offline
Fresh Scripter

Registered: 2002-10-04
Posts: 23
Loc: Uffculme, Devon, England
Hi, there's been a development.

You can have all the bits, but I need to rectify a few things first.

It would seem that on a slower machine than the one we were using (ie most of our workstations!) there is time to press control alt delete and stop it as it pops up. You have to be quick, but its possible. Thats if you run the CADDisable in the Kix script. If you run it in the batch file before start /wait kix32.exe, you can actually stop CAdDisab.

My office(and I ) are packing up and going home (were in a school) so I'll come back to it in the morning.

Cheers guys [Embarrassed]

Top
#70605 - 2002-10-07 04:30 PM Re: Cannot get Break command to work
Jack Lothian Offline
MM club member
*****

Registered: 1999-10-22
Posts: 1169
Loc: Ottawa,Ontario, Canada
Our solution traps logoffs & re-initializes the registry but in schools security is not the only problem. A much more significant problem is students who don't log off & then the next student sits down & starts working on the 1st student's account. Another serious problem is students who switch machines during class without logging out. This kind of trouble is far worse on a day-to-day basis than the would-be-hackers because it happens frequently & it causes students to lose or mis-place their work. The complaining from the student & teachers becomes very serious if you don't address this.

We colour code the screens & screen-savers so a teacher can tell exactly what type of account is active & if the machine is in a proper logout status. At the start & end of classes the teacher can visually sweep the class to ensure all is well. Any machine not displaying the correct colours must be manually re-initialized by the teacher pressing a desktop icon.

We attempted to put in place a solution that both addresses security & ensured proper control of student's work.

A final note,

Schools are unique in many ways & their security needs are very different from private industry. In schools, security is a physical thing. You are trying to stop students from damaging the machine & OS. A student trying to high-jack a server or another student's machine is very rare. Stealing the mouse ball, putting pencils in the CD-ROM drive, deleting files, souping up the desktop & downloading games or porn are the order of the day.

One of the things that almost every successful system in schools has is an image refresh function. No matter what OS or security you have in a school, students will find a way to disable it. Without this refresh function, school labs will always be in a state of disfunctionality. You must be able to return the OS back to is orginal state every week & it must be relatively fast.

In my opinion, investing in this type of software is far more important than investing in security software. We spent most of our programming efforts on this function as well. In schools, these things are further complicated by the fact that really expensive corporate solutions are not financially feasible. (We use PCR-Dist a ghost derivative. They use to give it free to K-12 schools but it is still cheap & very powerful.)

I recommand you do a search of the web on computer security in schools & libraries. You will get lots of ideas.

Some further thoughts on security: Keyboard control is important because some hot keys bypass the registry restrictions. We use the freeware utilities "killf3" &"wkeykill". Also, junk wordpad & paint. Both allow creative students to circumvent restrictions. Paint in particular allows students to change the desktop.

Jooel,

An improved version of eliminating "ctrl-alt-del" utility is offered here:

DX21 software

Somebody on this board is related to this site but I forgot who. They have an extensive kixtart area as well.

[ 07. October 2002, 20:51: Message edited by: Jack Lothian ]
_________________________
Jack

Top
#70606 - 2002-10-07 11:53 PM Re: Cannot get Break command to work
BrianTX Offline
Korg Regular

Registered: 2002-04-01
Posts: 895
Hmm.. I have a thought... you could have a hidden script messing with the RUN key under local machine in the registry...

When the computer is booted, a RUN key will already exist that shuts down the computer OR makes it completely lock. A prior RUN key will be a script that checks whether or not there is a value (registry) set for logon script completed successfully and will remove the RUN key that locks the computer while spawning a process that will wait for the first process to complete and put the key back into the registry..... If you cancel the logon script, the machine will be locked.. If you log on and then log off and back on without the logon script, the machine will still be locked... Essentially, the moment the locking part is taken out of the registry will be a split second before it would have been executed, at which point it will be rewritten to the registry.

Just an idea.. probably could use some refinement.

Brian

[ 07. October 2002, 23:54: Message edited by: BrianTX ]

Top
#70607 - 2002-10-08 12:36 AM Re: Cannot get Break command to work
Jack Lothian Offline
MM club member
*****

Registered: 1999-10-22
Posts: 1169
Loc: Ottawa,Ontario, Canada
Unfortunately, I believe that on Win9x machines, the "run" commands in the registry run after logon.
_________________________
Jack

Top
#70608 - 2002-10-08 03:53 AM Re: Cannot get Break command to work
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Yes, they do. However, one could utilize the WININIT.INI whcih has the ability to copy files before anybody logs into the computer. I'm using this in the UpdateFileOnReboot() UDf in order to replace in-use files upon reboot. Maybe there are other usable functions in that .INI file.
_________________________
There are two types of vessels, submarines and targets.

Top
#70609 - 2002-10-08 02:52 PM Re: Cannot get Break command to work
Waltz Offline
Seasoned Scripter

Registered: 2002-08-01
Posts: 485
Loc: Waterloo, Ontario, Canada
This may be of use...Disable Ctrl-Alt-Del
_________________________
We all live in a Yellow Subroutine...

Top
#70610 - 2002-10-08 03:03 PM Re: Cannot get Break command to work
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
actually, I have a exe's already for this in:
http://www.gwspikval.com/jooel/files/

logonfiles.zip includes exe for disable and enable.
thanks to Matthew Pearce.
 
_________________________
!

download KiXnet

Top
#70611 - 2002-10-08 04:26 PM Re: Cannot get Break command to work
Jack Lothian Offline
MM club member
*****

Registered: 1999-10-22
Posts: 1169
Loc: Ottawa,Ontario, Canada
Good idea Jooel & good follow through by Matt. As I mentioned earlier, I wish we had found this solution 3 years ago.
_________________________
Jack

Top
Page 2 of 2 <12


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

Who's Online
1 registered (Allen) and 675 anonymous users online.
Newest Members
batdk82, StuTheCoder, M_Moore, BeeEm, min_seow
17885 Registered Users

Generated in 0.071 seconds in which 0.026 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