Microsoft KB Archive/288856

= Error Message &quot;Access Denied to Tape Media&quot; When You Start Windows 2000 Backup =

Article ID: 288856

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Service Pack 1

-



This article was previously published under Q288856



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
When you start the Windows 2000 Backup program, you may receive the following error message:

Access Denied to Tape Media

The current user account does not have rights to access the media managed by Removable Storage. As a result, no tape devices are available to this account.

If desired, an administrator can grant access to this account by running Backup to create media pools for this application, then granting this account rights to access each pool.

[ ] Do Not show this message again. OK

This message is displayed even if you are an administrator.

In addition, when you attempt to prepare a piece of media, you receive the two confirmation pages that confirm that a free media label has been written for the media, but a work queue item is not posted, and the media never gets prepared.



CAUSE
This issue can occur if the internal Removable Storage Manager (RSM) database is corrupted. This corruption prevents media pools from being created or accessed.



RESOLUTION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

The RSM database is located in the %SystemRoot%\System32\Ntmsdata folder. When you use Windows 2000 Backup to back up your %SystemRoot% folder, Backup automatically backs up the RSM database to two locations, the backup media itself, and the %SystemRoot%\System32\Ntmsdata\Export folder. Usually, you can use Windows 2000 Backup to restore the Ntmsdata folder, but this advanced restore option does not work if the RSM database is damaged.

To resolve this issue, use one of the following methods to manually initialize or restore an uncorrupted RSM database.

Method One
If you have never performed a %SystemRoot% backup using Windows 2000 Backup, the %SystemRoot%\System32\Ntmsdata\Export folder does not exist. In this case, force the RSM to create a new database:
 * 1) Start the Computer Management tool, double-click Services and Applications, and then click Services.
 * 2) Locate and stop the Removable Storage service (or change the startup type from Automatic to Disabled), and then restart the computer.
 * 3) Start Windows Explorer, open the %SystemRoot%\System32\Ntmsdata folder, and then rename the existing files in this folder so that they have an .old file extension, or copy the files to a different folder.
 * 4) Restart the Removable Storage service (or change the startup type from Disabled to Automatic), and then restart the computer.

After the RSM restarts, it creates a new database.

Method Two
If you backed up the %SystemRoot% folder using the Ntbackup tool before the RSM database was corrupted, force RSM to import the backup RSM database:  Start Registry Editor (Regedt32.exe) Locate and click the following registry key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\NTMS

 If the ImportDatabase REG_DWORD exists, change the value of the ImportDatabase REG_DWORD from 0 to 0x1. If it does not exist, on the Edit menu, click Add Value, and then add the following value:

Value name: ImportDatabase

Data type: REG_DWORD

String: 1

Value: 0x1

 Quit Registry Editor. Either stop and restart Removable Storage service, or restart the computer.</ol>

When RSM starts, it reads the preceding registry key, and then forces the RSM database to be restored from the files located in the %SystemRoot%\System32\Ntmsdata\Export folder.

NOTE: Remote Storage Server (RSS) also automatically backs up the Ntmsdata folder as part of a File Migration session. You can take this media to another computer and use Windows 2000 Backup to restore the RSM database files. You can then copy the database files to the %SystemRoot%\System32\Ntmsdata\Export folder of the original computer, and then use method one.

Keywords: kberrmsg kbprb kbbackup KB288856

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.