Hide CMD.EXE at Logon

G

Guest

I'm using NT4 as our server and Win2k workstations. There is a logon script
that gets run whenever a user logs on to a workstation that maps printers,
etc. The problem is that users see the script running and close it before it
completes.

So is there an easy way to "hide" this batch file as it is running?
 
O

Olaf Engelke [MVP]

Hi,
megascout29 said:
I'm using NT4 as our server and Win2k workstations. There is a logon
script that gets run whenever a user logs on to a workstation that
maps printers, etc. The problem is that users see the script running
and close it before it completes.

So is there an easy way to "hide" this batch file as it is running?

not really easy at all.
You may want to check the KB article
http://support.microsoft.com/default.aspx?scid=kb;EN-US;176197
How to Hide the Logon Script Dialog Box on a Windows Client

for a way to solve it partially.
Another way could be, to configure the logon script to start an exe file,
which would also run, if the batch window is canceled.
The exe file you could create with a utility like bat2exe also from an batch
file, but if this works, may depend from the contents of your script.
Best greetings from Germany
Olaf.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top