CMD.EXE

  • Thread starter Thread starter Storm Tattoo
  • Start date Start date
S

Storm Tattoo

If anyone could help with this I would greatly appreciate it.

I have created a .CMD, it maps a drive, copies files in that share to the
client and deletes the mapping. This is placed a Group Policy for those
users' Logon Script. There are other scripts running.

When the clients logoff they get the End Program box for CMD.EXE.

Does anyone know why this would dialog box appears or could anyone give me
any pointers as to how to resolve this?

Thanks very much in advance.

ST.
 
No I don't mind, this is driving me nuts!! Obviously I have changed
personell, server and share names.

@ECHO OFF

REM *****************************************************

REM * AUTHOR :- author *

REM * PLACE FONTS IN HEALTHCARE USERS FONT FOLDER *

REM *****************************************************



REM This script is run by the following Group Policy:

REM Domain\OU\OU\OU\OU



REM Windows 2000 Clients

NET USE E: \\Server\Share$

XCOPY E:\*.* C:\WINNT\FONTS

NET USE E: /DELETE /Y



REM Windows XP Clients

REM XCOPY \\Server\Share$ C:\WINDOWS\FONTS



It does the copy fine, the fonts are there. It's just that CMD.EXE stays in
the Task Manager Processes list and gives the End Now dialog when the user
logs off or shuts the machine down.



Many thanks for you help.
 
Back
Top