I can not eject the backup tape after the backup runs after each night. There is an RD-1000 from Dell being used as the backup which is bascally a SATA removable disk. There is an service that Dell uses to eject the tape called RXMON. The service works properly and the tape will eject fine as long as the backup has not run. It may not evern be the backup causing the problem but somthing running every night leaves open handles to the drive. When the command is sent to eject the tape it says that it is busy and can not eject.
I have used Sysinternals "handle.exe" to browse for what is locking the drive busy. I have found 4 processes which equate to IIS and Exchange !!!! What .... Do not know why that care about the drive or when they keep accessing it. Perhaps an index process or somthing but what ever it is it is causing me to not be able to eject the tape !!!
I believe the easiest resolution is to terminate all of the open handles to the device so that the normal eject will function properly. I am of course open to other sujestions. The handle.exe program lets me see the open handles but the close command is not very suiting. It requires the PID in HEX to close the handle. Problem is the PID changes each time and I have to do a HEX conversion in a script along with parsing .... AHhhhhahahhh! Please someone help, this should not be this difficult.
Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!