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
Solved

BAT in start session

Posted on 2004-08-12
6
622 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
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
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 

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 50 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

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…
The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

789 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