If you're just trying to schedule something to run from the command
line, you can use schtasks.exe and specify alternate credentials using
the /RU switch.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Medeiros, Jose
Sent: Tuesday, May 10, 2005 12:13 PM
To: [email protected]
Subject: RE: [ActiveDir] Shutdown script not working.

Hi Alain, 

I am not sure I understand what you mean. Why would Microsoft not want
you to schedule some thing using the command line? I am sure I am just
missing some thing that Microsoft changed in Windows 2000 server. What
Security context are you referring too?

I am logged in as an admin when I schedule it using the AT command, and
the script runs without any changes using " Scheduled Tasks ". 

Thank you for the help, 

Jose :-)

------------------------------------------------------------------------
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Alain Lissoir
Sent: Tuesday, May 10, 2005 9:55 AM
To: [email protected]
Subject: RE: [ActiveDir] Shutdown script not working.


Have you compared the security context of the AT service in the
services.msc
snapin?
That should be the difference ... 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Medeiros, Jose
Sent: Tuesday, May 10, 2005 9:43 AM
To: [email protected]
Subject: [ActiveDir] Shutdown script not working.

Greetings,

I have a question that I have never had answered and I am hoping that
some
one may know the answer. I have a shutdown script using the shutdown
tool
from the resource kit. It has always worked on 3.51 & 4.0 servers when I
schedule it using the AT command, however on my 2000 server's it appears
to
run and clears it self and does nothing. If I schedule the same script
through scheduled task then it works correctly. Why won't it work using
the
AT Command? What am I doing wrong?
--------------------------------------------------------
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

C:\>at
Status ID   Day             Time          Command Line
------------------------------------------------------------------------
----
        1   Next W          1:26 AM       c:\support\tools\shutdown.cmd

C:\>

--------------------------------------------------------------------

Sincerely, 

Jose Medeiros
408-449-6621 Cell



List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to