Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Remove the X from the logon script dos window

Featured Replies

Hi, I'm sure somebody must have had this problem before..

I have logon scripts for users and I have managed to minimize them on startup when the user logs in, but I have observed users closing the login window before it's finished.

Is there anyway to stop users from being able to close the logon dos window?

Thanks


  • Author

hi

those links didn't work.

Yep, the board software is a bit "hysterical", from time to time.

These work:

http://www.msfn.org/board/index.php?showtopic=78097

http://www.msfn.org/board/index.php?showtopic=49103

The ones in this post:

http://www.boot-land.net/forums/index.php?...=3155&st=15

do work. :)

General explanation, this link:

hxxp://www.msfn.org/board/Release_cmdhideexe_t78097.html

really means:

hxxp://www.msfn.org/board/index.php?showtopic=78097

the latter shold work with any of the board settings and "stupid" friendly names, and the various version of them.

Current valid link to the same thread is:

hxxp://www.msfn.org/board/release-cmdhide-exe-t78097.html

it seems like for some time an underscore "_ " was used instead of the minus "- "sign. :unsure:

jaclaz

Hello!

Is there anyway to stop users from being able to close the logon dos window?

Try free ConsoleNoClose by Uwe Sieber:

http://www.uwe-sieber.de/dosfon_e.html

ConsoleNoClose disables the X button and removes the Close system

menu item of all console windows when they become active.

It runs invisible in the background.

If it's started when another instance is running, it ends and

leaves the previous instance untouched.

To remove a previous instance from memory, run it with parameter /R.

To do it for exactely one console window, start it with parameter /1.

It will then disable the X button of the first console window that

becomes active. Then it ends.

Started with /ALL it deactivates all menus of console windows. They

cannot be closed, maximized, minimized then. No access to settings

anymore.

Cheers, Roman

Edited by modicr

  • 2 weeks later...
  • Author

Thank you.

Here is what I did:

Create a script called invisible.vbs:

CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False

wscript.quit

Then in the login.bat file I put a command like so:

wscript.exe "\\mydomain.local\netlogon\invisible.vbs" "\\mydomain.local\netlogon\loginscript.bat"

This is good enough.. It minimizes the logon window and hides it behind the start bar when logging in..

If you have a very fast PC and fast reflexes it is possible to close the window as soon as you log in, but you have to be very determined and quick at it..

Not really a major problem.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.