Solved

Run login script minimized

Posted on 1998-03-16
4
692 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
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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

809 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