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?
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?
howdy,
you can at the start of you bat use @echo off
hope that this helps
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|ADministrati ve Templates|System|Scripts|R un 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
User Configuration|ADministrati
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
ASKER
how I can do this in vb script
if %username% == "PEPE" net use X: \\server\folder /yes
?????
if %username% == "PEPE" net use X: \\server\folder /yes
?????
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Could you please give us an update as to the question, and/or close it please. Thank You ;)
J
J
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