• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1254
  • Last Modified:

WinXP: Eject 4mm dat Tape after ntbackup

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???

Tanks!
0
oinos
Asked:
oinos
1 Solution
 
CrazyOneCommented:
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.
0
 
CrazyOneCommented:
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
[/oeject_operation_id]
[/a[start|stop|queue]]
[/b]
where:

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
where:

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.
0
 
CrazyOneCommented:
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".
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
oinosAuthor Commented:
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!
0
 
CrazyOneCommented:
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.
0
 
SysExpertCommented:
c:\winnt\system32\ntbackup.exe eject

also
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":
               http://support.microsoft.com/default.aspx?scid=kb;en-us;Q239892

I hope this helps !
0
 
Asta CuCommented:
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:
http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt

Thanks,
":0)
Asta
0
 
Asta CuCommented:
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:
http://www.microsoft.com/windowsxp/pro/downloads/servicepacks/sp1/ordercd.asp
Microsoft Windows XP Service Pack 1 Installation and Deployment Guide
http://www.microsoft.com/WindowsXP/pro/downloads/servicepacks/sp1/spdeploy.asp 

Windows XP Service Pack 1 information
http://www.microsoft.com/WindowsXP/pro/downloads/servicepacks/sp1/default.asp
 
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:

http://www.microsoft.com/windows/ie/default.asp 
http://www.microsoft.com/windows/ie/evaluation/ie6sp1.asp 
The following link shows you the list of fixes included in IE 6 SP1
http://support.microsoft.com/common/canned.aspx?R=d&H=List%20of%20Fixes%20in%20Microsoft%20Internet%20Explorer%206%20SP1&LL=support&Sz=kbIE600sp1fix&Fr=&DU=&SD=GN&LN=EN-US&CND=1&VR=&CAT=&VRL=&SG=&MaxResults=150

If more is needed, please let us know.
Good luck,
":0) Asta
0
 
jonnyz0109Commented:
Oinos,
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:

RECOMMENDATION: PAQ/No Refund

Please leave any comments here within 7 days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Thanks,

jonnyz0109
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. http://www.experts-exchange.com/Community_Support/
0
 
SpideyModCommented:
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now