Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

BAT in start session

Posted on 2004-08-12
6
Medium Priority
?
628 Views
Last Modified: 2010-04-14
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?
0
Comment
Question by:informatica-csj
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 6

Expert Comment

by:tanelorn
ID: 11786009
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
0
 
LVL 9

Expert Comment

by:BigC666
ID: 11786490
howdy,

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

hope that this helps
0
 
LVL 9

Expert Comment

by:jdeclue
ID: 11786494
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


0
10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

 

Author Comment

by:informatica-csj
ID: 11790711
how I can do this in vb script

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

?????
0
 
LVL 9

Accepted Solution

by:
jdeclue earned 150 total points
ID: 11793485
How are you starting the batch file. Is this a login script (set in the user account)... or is it through AD group policy? If it is either of these then you would have to use a cmd or bat file to kick off the vbscript, defeating the purpose.

J
0
 
LVL 9

Expert Comment

by:jdeclue
ID: 11911848
Could you please give us an update as to the question, and/or close it please. Thank You ;)

J
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Files go missing when using DFS (Distributed File System) Replication and how to recover them and fix it.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

715 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