Solved

login scripts

Posted on 2006-11-29
5
164 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Greetings, Experts! First let me state that this website is top notch. I thoroughly enjoy the community that is shared here; those seeking help and those willing to sacrifice their time to help. It is fantastic. I am writing this article at th…
This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
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…

839 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