Disable closing logon script windows

Is there any way  avoid user from closing nt logon script window?
I know there's the chance to hide or run minimized that window.
fmalinveAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
nielspConnect With a Mentor Commented:
About an evaluation copy of KiXtart: you can find it in the Windows NT Resource Kit and at the Microsoft site, and it's freeware! There are several sites where you can download it too. At this moment I don't have URL's, but try a search-engine.

0
 
nielspCommented:
I haven't tested this, but maybe something like this works:

C
LOGIN.BAT:

start LOGIN2.BAT /MIN

where LOGIN2.BAT contains the real batchfile
0
 
nielspCommented:
I haven't tested this, but maybe something like this works:

LOGIN.BAT:

start LOGIN2.BAT /MIN

where LOGIN2.BAT contains the real batchfile
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
nielspCommented:
H'm, one hit on the Submit-key too many. Sorry!
0
 
fmalinveAuthor Commented:
I have just tried this solution that works well but users are able to  maximize and CLOSE this window stopping script.
0
 
nielspCommented:
You can use KiXtart to create a login script. According to it's manual, it's not possible to prevent users from interrupting a program. But when you use the KiXtart Break-command, an user will be automaticly logged off when interrupting the KiXtart script
0
 
fmalinveAuthor Commented:
Where can i download an evaluation copy of KiXtart?
0
 
Tim HolmanCommented:
Here's a crude way :

In all workstations, under HKLM\Software\Microsoft\Windows\CurrentVersions\Run, put SHUTDOWN.EXE

At the end of your login script, put in an entry to remove it.

Or - use mandatory profiles to deliver drive mappings / programs to run etc.
0
 
mitrakisCommented:
If your users close the logon script window, hide it ;)

Navigate to HKEY_USERS\<each user>\Console

Edit or Add Value the following two REG_DWORD values:
"WindowSize" and with the Radix at Hex, set it to 050005

"WindowPosition" and with the Radix at Hex, set it to 04FF06FF

This makes the Window very small and positions it off screen so they can't see it and hence can't close it.

If (when running a command prompt) this window is invoked, just maximize it, right click the title bar, and size/position it using the Layout tab in Properties. When you click OK, check Modify shortcut...

Best regards
-Stavi-
0
 
mitrakisCommented:
Here's a "better" way to prevent users from aborting logon scripts:
http://www.jsiinc.com/TIP0700/rh0742.htm

-Stavi-
0
 
mitrakisCommented:
The prog "Launcher" does the same thing (and much more) furthermore it's for free.
Just to give you an alternative.

Get it from here directly:
http://senna.eng.monash.edu.au/~jobst/WindowsNT/LauncherAndGina_09h.zip

Regards
-Stavi-
0
 
fmalinveAuthor Commented:
Using Kixtart has solved my problem. User can interrupt script only by using task manager but this invoke a log-off.
This means i have to test my script very well!
Nielsp, send a proposed answer to get points.
0
 
fmalinveAuthor Commented:
Comment accepted as answer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.