Eject a Tape in Windows 2000

Posted on 2003-03-14
Medium Priority
Last Modified: 2007-12-19


I have a backup scheduled using NTBackup that runs nightly to a standalone tape unit installed in the server running the backup.

All straightforward really.

On NT4, you could issue a "ntbackup eject" to pop the tape out at the end of the backup.

Is there a way to accomplish the same thing with Windows 2000.  Issue a command line command to the Removable Storage Manager somehow?


Question by:muff
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
  • 2

Accepted Solution

tc982 earned 750 total points
ID: 8135594
Try this :

here you can find the bat file we use to backup our device.

It uses no tape sets, and writes to a tape everyday!

---begin of bat file ---
for /f "Tokens=1 Delims=/ " %%i in ('date /t') do  set daytag=%%i
for /f "Tokens=2-4 Delims=/ " %%i in ('date /t') do  set datetag=%%i/%%j/%%k
for /f "Tokens=1" %%i in ('time /t') do set timetag=%%i
set dtt=%timetag% on %daytag% %datetag%
; Achter de /LF moet de naam staan die je vind in de removable storage manager in de
; computermanagment console.
C:\WINNT\system32\rsm.exe refresh /LF"OnStream ADR50 Drive SCSI Sequential Device"
; At the /LF , you should give the device name as stated in the removable storage manager wich is located at the device manager
sleep 30
; you can find Sleep.exe in the NT resource kit

C:\WINNT\system32\ntbackup.exe backup "@C:\backup\matterhorn.bks" /n "%computername% %dtt%" /d "%computername% %dtt%" /v:no /r:no /rs:no /hc:on /m normal /j "%computername% %dtt%" /l:s /v:yes /p "miniQic" /um

; The .bks file you have to create using ntbackup. Just create a job and save the selection. Do not forget to change the pathname and filename above.
; Where you see miniQic that is just the name of the pool. Change it with the pool name found in the Removable Storage Manager! (eg DDs 4D)

C:\WINNT\system32\rsm.exe eject /PF"%computername% %dtt% - 1" /astart

; and last : eject the tape!
--end of bat file---

Expert Comment

ID: 8136939
rsm eject

Author Comment

ID: 8136968

Not in this case SuperCitrixMan, issuing "rsm eject" just returns asking for more options.


Expert Comment

ID: 8136980
Well to be exact:

rsm eject /A

If you type in "rsm" you can see a list of commands, eject is one of them, so if you type "rsm eject" you see another list.  Hope that helps.

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Active Directory can easily get cluttered with unused service, user and computer accounts. In this article, I will show you the way I like to implement ADCleanup..
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

770 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