Solved

BAT in start session

Posted on 2004-08-12
6
618 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
Comment Utility
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
Comment Utility
howdy,

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

hope that this helps
0
 
LVL 9

Expert Comment

by:jdeclue
Comment Utility
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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

Author Comment

by:informatica-csj
Comment Utility
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
Comment Utility
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
Comment Utility
Could you please give us an update as to the question, and/or close it please. Thank You ;)

J
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

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…
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
This video discusses moving either the default database or any database to a new volume.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

728 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now