WinXP: Eject 4mm dat Tape after ntbackup

Posted on 2002-05-16
Last Modified: 2012-08-13
I tried with   rsm eject /pf"..." /astart
but it doesn't work.
Also modify  HKEY_CURREN_USER\Software\Microsoft\Ntbackup\UserInterfaceat  EjectTapeFlag --> 1   Same story!

Anybody can help me???

Question by:oinos
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 44

Expert Comment

ID: 7015398
Try this and see if this corrects the problem

Start > Run gpedit.msc

Local Computer Policy > Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options.

Right-click Allowed to eject removable......... and press Security. Select:
Administrators - Only administrators can eject removable media.
Administrators and Power Users - Administrators and Power users can eject removable media.
Administrators and Interactive Users - Administrators and Interactive (Standard users) can eject removable media.
LVL 44

Expert Comment

ID: 7015410
This is from the Windows Help about the command lines
Eject command
The media to be ejected can be specified by either the physical-media ID (PMID) or the physical media name.

The syntax of the eject command is as follows:

rsm eject /p[g|f]physical_media_id

physical_media_id specifies the physical media to eject. Either the friendly name or the GUID can be specified.

eject_operation_id specifies the GUID for the particular eject operation. The optional /o switch can be used in conjunction with the /a switch and the stop parameter to terminate a particular eject operation. This can also be used in conjunction with the /a switch and the start parameter to display the GUID of the particular eject operation.

The /a switch is optional, with the default parameter being start. One of the following optional parameters may also be used with the /a switch:

Start starts the eject operation immediately. The media is ejected until a timeout occurs, or unless another eject command is issued with the /a switch and the stop parameter. Such eject commands must also specify the eject operation GUID using the /o switch. The timeout parameter is specified in the library object (for all eject operations) for the library. To set this timeout parameter, you must use the Removable Storage API. Can also be used in conjunction with the /o switch to display the GUID of a particular eject operation.

Stop terminates the eject operation prior to a timeout expiring. The particular eject operation can be determined using the GUID displayed when the start parameter is used with the /a switch and the /o switch.

Queue queues the media for later ejection. This can be used for libraries with multi-slot inject/eject (IE) ports.

The optional /b switch displays only the eject operation GUID for scripting purposes.
Ejectatapi command
Ejects media from an ATAPI changer by specifying the changer number. You should manually stop the Ntmssvc service before issuing this command.

The syntax of the ejectatapi command is as follows:

rsm ejectatapi /natapi_changer_number

atapi_changer_number is the numeral found at the end of the string for the device name of the changer. For example, \\.\CdChanger0 has 0 as the ATAPI changer number.
LVL 44

Expert Comment

ID: 7015419
Also see if the permissions are set

Start > Run compmgmt.msc

Right Click on Computer Management (Local) > Storage > Removable Storage and select "Properties" and then click on the "Security Tab".
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.


Author Comment

ID: 7021276
Sorry CrazyOne but all settings seems ok... perhaps I wrong something in the parameter "physical_media_id" of the "rsm eject /p.." command. I see my tape device as \\.\Tape0 but I also tried the media name (tape label): in both case no success!
LVL 44

Expert Comment

ID: 7021359
Hmmm not sure what to tell you other then something I read looking into this mentioned that the media drive had to support this method of ejecting. In other words the drive has to have some coding in its electronics that understands the command that is being sent. Not sure if that is relevant in your case or not.
LVL 63

Expert Comment

ID: 7023190
c:\winnt\system32\ntbackup.exe eject

From: AvonWyss   Date: 01/31/2002 12:37PM PST Eject tape eject
               Maybe you've already read this KB article, but it has a sample batch file for automated backup which     also uses "RSM eject":

I hope this helps !
LVL 27

Expert Comment

by:Asta Cu
ID: 7135350
Have you been helped here or is more needed?  Since time has passed since your last comment, an update is appreciated (in case things have changed).  If you've been helped, convert the expert's comment to the Accepted Answer to grade and close it.  If more than one helped you, ask for a point split by posting a zero point question in the Community Support topic area, include this link and details with your request (expert name and point values to each).

This is the Community Support link:

LVL 27

Expert Comment

by:Asta Cu
ID: 7289074
Hopefully you've already been helped, and this question remains open today for your next action.  If you've been helped, please convert that expert's comment to the answer to grade and close this.  If more than one helped you resolve this, request a Point Split via a zero point question in the Community Support topic area with details and this question link (URL).  

This may interest you, if not already done, follows.

Windows XP Service Patch 1 (CRITICAL UPDATE) was available using WindowsUpdate recently (huge), more information and links about there here, if you're not already aware.

CD Options here:
Microsoft Windows XP Service Pack 1 Installation and Deployment Guide 

Windows XP Service Pack 1 information
Internet Explorer 6 Service Patch 1 (CRITICAL UPDATE) was available from WindowsUpdate yesterday and highly recommended to fix significant problems.  You may wish to check WindowsUpdate directly.  Some more insights about these updates here: 
The following link shows you the list of fixes included in IE 6 SP1

If more is needed, please let us know.
Good luck,
":0) Asta

Expert Comment

ID: 8608961
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:


Please leave any comments here within 7 days.



EE Cleanup Volunteer
If you feel that your question was not properly addressed, or that none of the comments received were appropriate answers, please post a request in Community support (with a link to this page) to refund your points.

Accepted Solution

SpideyMod earned 0 total points
ID: 8618533
per recommendation

Community Support Moderator @Experts Exchange

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Disclosure: Use this tutorial only when no other options helps to get Windows XP running without any problems and you don't want to format the drive. The back up of the data is the responsible of the user, however there is a description of how t…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question