Microsoft KB Archive/172715

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Article ID: 172715

Article Last Modified on 8/17/2005



APPLIES TO

  • Microsoft Exchange Development Kit 5.5
  • Microsoft Exchange Server 4.0 Standard Edition
  • Microsoft Exchange Server 5.0 Standard Edition
  • Microsoft Exchange Server 5.5 Standard Edition



This article was previously published under Q172715

SYMPTOMS

The HrBackupPrepare() function returns the error "Access Denied" (error number 5) if the Windows NT account of the caller is a member of the Backup Operators, but has a different ID from the Exchange Service "Log On As" account.

RESOLUTION

The user should back up Exchange remotely. If the Windows NT account has to log on to the same machine where Exchange Server resides (local), the ID should be the same as the Exchange Service.

STATUS

Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

BackTest is an EDK sample that uses HrBackupPrepare(), where the problem can be reproduced.

Steps to reproduce the problem

To reproduce the problem, follow these steps:

  1. Create a new domain user, and then name it Account1.
  2. Add Account1 to the Backup Operator group.
  3. Run the BACKTEST utility under Account1 on the computer that is running Microsoft Exchange Server. To run the BACKTEST utility, type the following command:

    backtest -S:machine1 -B:dsa.bk -T:DSA

    Note Replace machine1 with the name of the computer that is running Exchange Server. Replace dsa.bk with the name of your backup file. DSA is a backup type that is used to back up directories. If you want to back up information stores, replace DSA with MDB.

The backup fails with access denied.

REFERENCES

For additional information about how to use the BACKTEST utility, visit the following Microsoft Developer Network (MSDN) Web site:


Additional query words: back test

Keywords: kbapi kbmsg kbprb KB172715