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
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".

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.
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Most of the time we are in fix when all of sudden our systems behave weirdly.  Such problems cost time and effort... so it's best to take some preventive actions so that we can avoid such issues or overcome such problems more easily. Preventive M…
cPanel is a Unix based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. cPanel utilizes a 3 tier structure that provides functionality for administrators, rese…
Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now