Manage Learn to apply best practices and optimize your operations.

Deleting "in use by you or other program" nsf files

This quick tip lets an administrator delete a nsf file via Notes.

If you are trying to delete a .nsf file via notes and it gives you the "Cannot delete as it is being used by another person or program" message, try the following.

Make sure no one is really in the database, then perform a dbcache flush on the console. Immediately after that, rename via OS the .nsf file to a .ntf file and Domino will let go and you can delete it.

MEMBER FEEDBACK TO THIS TIP

Performing a "drop abc.nsf" (yes a file name and not a user name) seems to shake people off it. Then do a dbcache flush and quickly rename the file to a non-Notes name (e.g. abc.bad). I would not rename it to a NTF file or any other Notes supported file extention, as Domino may grab ahold of it again.

—Neeraj J.

******************************************

All you have to do is close Notes and then delete the nsf file. Reopen Notes and you can recreate the new copy if it's needed.

—Maria J.

******************************************

This is to clarify the tip a bit more for those who don't understand. This tip was meant for administrators who don't have the luxury of just shutting down or rebooting a server to remove a database. It is not a Notes Client tip.

As well..the only way you Domino will let go of the file is to change it to another Domino extension. If you try .txt or something silly like that, Domino will not let you.

—Phil Jimenez, tip author


Do you have comments on this tip? Let us know.

This tip was submitted to the SearchDomino.com tip exchange by member Phil Jimenez. Please let others know how useful it is via the rating scale below. Do you have a useful Notes/Domino tip or code to share? Submit it to our bimonthly tip contest and you could win a prize and a spot in our Hall of Fame.

Dig Deeper on Lotus Notes Domino Administration

SearchWindowsServer

Search400

  • Favorite iSeries cheat sheets

    Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/Search400.com community. These cheat ...

  • HTML cheat sheet

    This is a really cool cheat sheet if you're looking to learn more about HTML. You'll find just about everything you every wanted ...

  • Carol Woodbury: Security

    Carol Woodbury

SearchDataCenter

SearchContentManagement

Close