Solved

login scripts

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Finding out how many users have opened a file from read-only remote share 16 96
Domain Share problems 5 54
Need a cheap RFID setup 10 81
Office 2016 Network Activation 2 29
Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

776 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