Solved

login scripts

Posted on 2006-11-29
5
161 Views
Last Modified: 2013-05-21
windows 2003 login script does not close cmd window when it done executing.  When it is run as a local batch file if closes fine, but when it is added to the user  profiles it excutes the files correctly but just never closes the cmd window.
0
Comment
Question by:nsmrl
5 Comments
 
LVL 77

Accepted Solution

by:
Rob Williams earned 125 total points
ID: 18039375
Try adding a line to the end of the script with just
Exit
0
 
LVL 43

Assisted Solution

by:Steve Knight
Steve Knight earned 125 total points
ID: 18041138
Or if not somtimes this works:

cls
exit

as unless the window is blank it will remain on

Are you sure it IS completing too.  put an

Echo **** completed **** & pause

on the last line to check it gets there!

Steve
0
 

Author Comment

by:nsmrl
ID: 39185253
Resolved thank you
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

FIPS stands for the Federal Information Processing Standardisation and FIPS 140-2 is a collection of standards that are generically associated with hardware and software cryptography. In most cases, people can refer to this as the method of encrypti…
Downtime reduced, data recovered by utilizing an Experts Exchange Business Account Challenge The United States Marine Corps employs more than 200,000 active-duty Marines with operations in four continents, all requiring complex networking system…
This video discusses moving either the default database or any database to a new volume.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

708 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

19 Experts available now in Live!

Get 1:1 Help Now