Solved

Disable closing logon script windows

Posted on 2000-05-12
13
208 Views
Last Modified: 2013-12-28
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.
0
Comment
Question by:fmalinve
  • 5
  • 4
  • 3
  • +1
13 Comments
 
LVL 1

Expert Comment

by:nielsp
ID: 2804504
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
 
LVL 1

Expert Comment

by:nielsp
ID: 2804507
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
 
LVL 1

Expert Comment

by:nielsp
ID: 2804522
H'm, one hit on the Submit-key too many. Sorry!
0
 

Author Comment

by:fmalinve
ID: 2804546
I have just tried this solution that works well but users are able to  maximize and CLOSE this window stopping script.
0
 
LVL 1

Expert Comment

by:nielsp
ID: 2804906
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
 

Author Comment

by:fmalinve
ID: 2804926
Where can i download an evaluation copy of KiXtart?
0
Do email signature updates give you a headache?

Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

 
LVL 23

Expert Comment

by:Tim Holman
ID: 2805274
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
 
LVL 3

Expert Comment

by:mitrakis
ID: 2805805
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
 
LVL 3

Expert Comment

by:mitrakis
ID: 2805812
Here's a "better" way to prevent users from aborting logon scripts:
http://www.jsiinc.com/TIP0700/rh0742.htm

-Stavi-
0
 
LVL 1

Accepted Solution

by:
nielsp earned 100 total points
ID: 2806229
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
 
LVL 3

Expert Comment

by:mitrakis
ID: 2806445
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
 

Author Comment

by:fmalinve
ID: 2816851
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
 

Author Comment

by:fmalinve
ID: 2863626
Comment accepted as answer
0

Featured Post

Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

Join & Write a Comment

A few months ago I had an issue with LaserJet 1020 printer which was installed to XP and Windows 7.  It was installed to XP and working, but when I tried to connect from a Windows 7 PC, it would attempt connection and then fail.  Sometimes the Spool…
A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now