You cannot schedule a remote job by using the AT command from a Windows XP-based computer

Article translations Article translations
Article ID: 843250 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

When you try to schedule a job on a Microsoft Windows NT 4.0-based computer by using the at command from a Microsoft Windows XP-based computer, you may receive the following error message:
The authentication service is unknown.
When you try to schedule a job on a Microsoft Windows 2000-based computer or on a Microsoft Windows Server 2003-based computer by using the at command from a Windows XP-based computer that is in an untrusted domain, you may receive the following error message:
Access is denied.

CAUSE

This problem may occur if one of the following conditions is true:
  • You install the MS04-011 security update on your Windows XP-based computer.

    For additional information about the MS04-011 security update, click the following article number to view the article in the Microsoft Knowledge Base:
    835732 MS04-011: Security update for Microsoft Windows
    The MS04-011 security update includes the following changes:
    • The security update changes the remote procedure call (RPC) bind on the client in Netapi32.dll when a call is made to the NetScheduleJobAdd function.
    • The security update includes a call to the RpcBindingSetAuthInfoEx function that has the RPC_C_AUTHN_LEVEL_PKT_PRIVACY authentication-level constant. This call matches the server-side call to the RpcServerRegisterAuthInfo function that has the RPC_C_AUTHN_WINNT authentication-level constant.
    Because the Windows NT 4.0 Schedule service (Atsvc.exe) does not register a security provider, Atsvc cannot accept the authenticated call. Windows 2000-based computers and Windows Server 2003-based computers that are in untrusted domains cannot accept the authenticated call when your authentication credentials cannot be validated.
  • You try to schedule a job on an untrusted Windows 2000-based computer or on an untrusted Windows Server 2003-based computer from a Windows XP-based computer after you install the KB831003 hotfix.

    For additional information about the KB831003 hotfix, click the following article number to view the article in the Microsoft Knowledge Base:
    831003 Scheduled tasks that use NTAUTHORITY\SYSTEM do not run correctly

RESOLUTION

Service pack information

To resolve this problem, obtain the latest service pack for Microsoft Windows XP. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
322389 How to obtain the latest Windows XP service pack

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

This hotfix requires Windows XP Service Pack 1.

Restart requirement

You must restart your computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
Windows XP, 32-bit versions
   Date         Time   Version        Size     File name
   --------------------------------------------------------
   07-Jun-2004  17:45  5.1.2600.1539  376,832  Netapi32.dll
Windows XP, 64-bit versions
   Date         Time   Version        Size     File name      Platform
   -------------------------------------------------------------------
   07-Jun-2004  18:00  5.1.2600.1539  905,728  Netapi32.dll   IA-64
   07-Jun-2004  17:45  5.1.2600.1539  376,832  Wnetapi32.dll  x86

WORKAROUND

To work around the problem where you cannot schedule a job on an untrusted Windows 2000-based computer or on an untrusted Windows Server 2003-based computer from a Windows XP-based computer after you install the KB831003 hotfix, use one of the following methods.

Method 1

  1. Type the following command at a command prompt, and then press ENTER:
    net use \\untrusted_server_name\ipc$ /savecred
  2. When you are prompted, type your user name for the untrusted domain, and then press ENTER.
  3. When you are prompted, type your password for the untrusted domain, and then press ENTER.
  4. Run the scheduled task by using the at command.

Method 2

  1. Click Start, and then click Control Panel.
  2. Double-click User Accounts.
  3. On the Advanced tab, click Manage Passwords, and then click Add.
  4. In the Server box, type the name of the server where you want to run the scheduled task.
  5. Type your user name in the User name box, type your password in the Password box, and then click OK.
  6. Click Close, and then click OK.
  7. Run the scheduled task by using the at command.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Microsoft Windows XP Service Pack 2.

MORE INFORMATION

For more information about the NetScheduleJobAdd function, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/aa370614.aspx
For more information about the RpcServerRegisterAuthInfo function, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/aa378438.aspx
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Properties

Article ID: 843250 - Last Review: June 5, 2007 - Revision: 2.8
APPLIES TO
  • Microsoft Windows XP 64-Bit Edition Version 2003
  • Microsoft Windows XP 64-Bit Edition Version 2002
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
Keywords: 
kbautohotfix kbqfe kbhotfixserver kbwinxpsp2fix kberrmsg kbwinxppresp2fix kbfix kbbug KB843250

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com