?
Solved

Run login script minimized

Posted on 1998-03-16
4
Medium Priority
?
701 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
mnguyen021997 earned 600 total points
ID: 1571371
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
ID: 1571372
Thanks for your help
0
 

Expert Comment

by:wael022398
ID: 1571373
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
ID: 1571374
wael,

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

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
An article on effective troubleshooting
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

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