CMD.EXE

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Guest
Archived from groups: microsoft.public.win2000.group_policy (More info?)

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.
 
Archived from groups: microsoft.public.win2000.group_policy (More info?)

Something in your script is causing a hang condiiton. Do you mind posting
the script here?

--
--
Brian Desmond
Windows Server MVP
desmondb@payton.cps.k12.il.us

Http://www.briandesmond.com


"Storm Tattoo" <sebsbach@yahoo.co.uk> wrote in message
news:OA8S0qDWEHA.3892@TK2MSFTNGP10.phx.gbl...
> 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.
>
>
 
Archived from groups: microsoft.public.win2000.group_policy (More info?)

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.



"Brian Desmond [MVP]" <desmondb@payton.cps.k12.il.us> wrote in message
news:#OG8RDLWEHA.1048@tk2msftngp13.phx.gbl...
> Something in your script is causing a hang condiiton. Do you mind posting
> the script here?
>
> --
> --
> Brian Desmond
> Windows Server MVP
> desmondb@payton.cps.k12.il.us
>
> Http://www.briandesmond.com
>
>
> "Storm Tattoo" <sebsbach@yahoo.co.uk> wrote in message
> news:OA8S0qDWEHA.3892@TK2MSFTNGP10.phx.gbl...
> > 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.
> >
> >
>
>