Link to home
Start Free TrialLog in
Avatar of informatica-csj
informatica-csj

asked on

BAT in start session

I have a BAT file when a user starts a session in a windows2000 or XP.

The problem is that, on login process appears a minimized windows of DOS making de BAT steps.

It's possible to hide thi minimized window?
Avatar of tanelorn
tanelorn

not really,  all you can do is minimize it.

what I would do is convert it into a vb script,  when the vbscript runs, you can configure if it will be visible or not...

is it a big long bat file,  or simple..  

Tanelorn
howdy,

you can at the start of you bat use @echo off

hope that this helps
If you put the script into a Group Policy you can set them to run invisible.

User Configuration|ADministrative Templates|System|Scripts|Run Logon Scripts Visible is the policy.

If the Logon script is called from the GPO (Active Directory) as a CMD file and this setting is set to Disabled, it should hide the logon script.

Let me know if you need help with this.

J


Avatar of informatica-csj

ASKER

how I can do this in vb script

if %username% == "PEPE" net use X: \\server\folder /yes

?????
ASKER CERTIFIED SOLUTION
Avatar of jdeclue
jdeclue

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Could you please give us an update as to the question, and/or close it please. Thank You ;)

J