Solved

Run login script minimized

Posted on 1998-03-16
4
689 Views
Last Modified: 2013-12-19
Does anyone know a way to run a login script minimized. For example, everytime you logon to an NT domain, your login script runs in a DOS windows. Is ther any way to run the login script minimzed so users don't see a DOS windows open up?

Thanks.
0
Comment
Question by:mpopal
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
mnguyen021997 earned 200 total points
Comment Utility
in your logon script name section of your user environment profile (where you list your logon batch file or cmd file) try this:

cmd.exe /c start /min [name of batch file]

cmd.exe also has some other flags which maybe usefull so type cmd.exe /?
0
 
LVL 3

Author Comment

by:mpopal
Comment Utility
Thanks for your help
0
 

Expert Comment

by:wael022398
Comment Utility
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 windows 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....



0
 
LVL 3

Author Comment

by:mpopal
Comment Utility
wael,

Thanks a lot. I had no idea that could be done. Thanks again!
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

771 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

12 Experts available now in Live!

Get 1:1 Help Now