This article has been archived. It is offered "as is" and will no longer be updated.
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.
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
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
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:
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.
This hotfix requires Windows XP Service Pack 1.
You must restart your computer after you apply this hotfix.
Hotfix replacement information
This hotfix does not replace any other hotfixes.
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
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.
Type the following command at a command prompt, and then press ENTER:
net use \\untrusted_server_name\ipc$ /savecred
When you are prompted, type your user name for the untrusted domain, and then press ENTER.
When you are prompted, type your password for the untrusted domain, and then press ENTER.
Run the scheduled task by using the at command.
Click Start, and then click Control Panel.
Double-click User Accounts.
On the Advanced tab, click Manage Passwords, and then click Add.
In the Server box, type the name of the server where you want to run the scheduled task.
Type your user name in the User name box, type your password in the Password box, and then click OK.
Click Close, and then click OK.
Run the scheduled task by using the at command.
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.
For more information about the NetScheduleJobAdd function, visit the following Microsoft Web site: