Jump to content

Remove the X from the logon script dos window


dubsdj
 Share

Recommended Posts

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

Link to comment
Share on other sites


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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • 2 weeks later...

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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...