Page 1 of 1 1
Topic Options
#161077 - 2006-04-24 02:22 PM Prevent Windows from logging off when force closing a kix script
sbostedor Offline
Lurker

Registered: 2006-04-24
Posts: 2
I can't figure out how to keep Windows from logging off the user if they force close a hung KIX script. Is there a variable that needs to be set or something?

Thanks!

Top
#161078 - 2006-04-24 02:34 PM Re: Prevent Windows from logging off when force closing a kix script
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
You can put Break On at the top of the script. This will prevent the user from getting logged of when he/she clicks the x or press Ctrl-C on the keyboard.
In a logon script I’d never use break on because if a user does not want the logon script he/she does not belong on the network and therefore gets logged of.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#161079 - 2006-04-24 02:43 PM Re: Prevent Windows from logging off when force closing a kix script
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
LOL
A well written script will not hang!
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#161080 - 2006-04-24 03:03 PM Re: Prevent Windows from logging off when force closing a kix script
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
LOL
True.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#161081 - 2006-04-24 03:08 PM Re: Prevent Windows from logging off when force closing a kix script
sbostedor Offline
Lurker

Registered: 2006-04-24
Posts: 2
Ha Ha Les ;P

It's not a loging script. It's the free Bozteck One-click VNC script at http://www.vncscan.com/vs/oneclickVNC.htm

Top
#161082 - 2006-04-24 03:22 PM Re: Prevent Windows from logging off when force closing a kix script
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
That's a security nightmare. I use STRCM from systemtools.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#161083 - 2006-04-24 03:33 PM Re: Prevent Windows from logging off when force closing a kix script
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
Yep it sure is.
We use DameWare and on some special pc's we installed VNC as a service that starts automatically at system startup so we can connect to them using VNC if we want/need. Changes to the registry have been made to prevent users from closing VNC and changing the password.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

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 1260 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.056 seconds in which 0.026 seconds were spent on a total of 12 queries. Zlib compression enabled.

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