Create a batch file that calls the actual logon script. Using Notepad, create a file that has the following entry:
START /MIN LOGON.BAT
Save the batch file and specify this file as the logon script name for the user accounts in User Manager for Domains. Now, when the users log on to Windows NT, they will initially run the above batch file, which, in turn, calls the logon script and starts it minimized. The last entry in the real logon script file must be EXIT so the file will close properly.
This works great and solves the problem of users seeing the commands being processed in the actual logon script.
To have the logon script dialog box minimized during logon and support all clients, do the following:
1. For the initial preparation, insert a pause statement into the logon script specified in User Manager for Domains. This pause will be important because it is needed to access the properties of the logon script window.
2. Log on to the workstation as the user inquestion and, when the logon script pauses, select Properties from the Control menu.
3. Select the Layout tab in Windows NT 4.0 or the Screen Size and Position tab for Windows NT 3.51, and set the Width and Height on the Screen Buffer Size and Window Size to 1.
3. Set the Window Position to 0 for the Left setting and set the Top position to the highest number possible (this will vary depending on the screen resolution). This will put the Window in the lower left-hand corner of the screen.4. Select OK after changing the settings and then you will be presented with an Apply Properties dialog box.
5. Select "Save properties for future windows with the same title" and then select OK.
6. Log off as the user, remove the pause from thelogon script, and then log back on. The dialog box is still present, but in the lower left corner of the screen out of the users way.
Akash