dubsdj Posted September 23, 2009 Posted September 23, 2009 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
jaclaz Posted September 23, 2009 Posted September 23, 2009 Wouldn't any of the "cmd hide" app do? A few:http://www.boot-land.net/forums/index.php?...c=3155&st=8http://www.boot-land.net/forums/index.php?...=3155&st=15jaclaz
jaclaz Posted September 24, 2009 Posted September 24, 2009 Yep, the board software is a bit "hysterical", from time to time.These work:http://www.msfn.org/board/index.php?showtopic=78097http://www.msfn.org/board/index.php?showtopic=49103The ones in this post:http://www.boot-land.net/forums/index.php?...=3155&st=15do work. General explanation, this link:hxxp://www.msfn.org/board/Release_cmdhideexe_t78097.htmlreally means:hxxp://www.msfn.org/board/index.php?showtopic=78097the 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.htmlit seems like for some time an underscore "_ " was used instead of the minus "- "sign. jaclaz
modicr Posted September 26, 2009 Posted September 26, 2009 (edited) 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.htmlConsoleNoClose disables the X button and removes the Close systemmenu 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 andleaves 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 thatbecomes active. Then it ends.Started with /ALL it deactivates all menus of console windows. Theycannot be closed, maximized, minimized then. No access to settingsanymore.Cheers, Roman Edited September 26, 2009 by modicr
dubsdj Posted October 5, 2009 Author Posted October 5, 2009 Thank you.Here is what I did: Create a script called invisible.vbs:CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, Falsewscript.quitThen 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.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now