Search
  • For Individuals
      « Back
    • Windows Data Recovery

      Recovers lost or deleted Office documents, emails, presentations & multimedia files.

      Free Standard Professional Premium

    • Mac Data Recovery

      Recovers deleted files, photos, videos etc. on Mac.

      Free Standard Professional Premium

    • Photo Recovery

      Recover photos, videos, & audio files from all cameras and storage on Windows or Mac.

      Free Standard Professional Premium

    • Video Repair
    • Photo Repair
    • iPhone Data Recovery
  • For Business
      « Back
    • Email Repair & Converter

      Repair for Exchange Converter for EDB Converter for OST Converter for NSF Converter for OST MBOX Repair for Outlook

    • Database & File Repair

      Repair for MS SQL Repair for Access Repair for QuickBooks Software Repair for Excel Extractor for Windows Backup Repair for MySQL

    • Data Recovery & Erasure

      Data Recovery Professional Data Recovery Technician Mac Recovery for Technician Virtual Machine Recovery File Erasure Software Mobile Erasure Drive Erasure File Eraser Software File Eraser Software for Mac

    • Toolkit

      Exchange Toolkit Outlook Toolkit File Repair Toolkit MS SQL Toolkit Data Recovery Toolkit

    • Forensic

      Email Forensic Exchange Auditor Log Analyzer for MySQL Log Analyzer for MS SQL

  • Store
  • Partners
  • Services
  • Offers
  • Support

 

  • For Individuals
    DIY software for anyone who works with data.

    Windows Data Recovery Recovers lost or deleted Office documents, emails, presentations & multimedia files

    Free Standard Professional Premium

    Mac Data Recovery Especially for Mac users to recover deleted documents and multimedia files from macOS

    Free Standard Professional Premium

    Video Repair Windows Mac Repair multiple corrupt videos in one go. Supports MP4, MOV & other formats.

    StandardPremium

    Photo Recovery Windows Mac Recover photos, videos, & audio files from all cameras and storage on Windows or Mac.

    Standard Professional Premium

    iPhone Data Recovery Windows Mac Recover deleted photos, videos, contacts, messages etc. directly from iPhone & iPad

    Recover Erase Toolkit

    Photo Repair Windows Mac Repair multiple corrupt photos in one go. Supports JPEG & other formats.

    Standard Professional Premium


  • For Business
    • Email Repair
    • Email Converter
    • File Repair
    • Data Recovery & Erasure
    • Toolkit
    • Forensic

    Exchange Repair Repair corrupt EDB file & export mailboxes to Live Exchange or Office 365

    Outlook PST Repair Repair corrupt PST & recover all mailbox items including deleted emails & contacts

    OLM Repair Repair Outlook for Mac (OLM) 2011 & 2016 backup files & recover all mailbox items

    Exchange Toolkit Repair EDB & Exchange backup file to restore mailboxes, convert OST to PST, & convert EDB to PST

    Active Directory Repair Repair corrupt Active Directory database (Ntds.dit file) & extract all objects in original form

    EDB to PST Convert online & offline EDB file & extract all mailbox items including Public Folders in PST

    OST to PST Convert inaccessible OST file & extract all mailbox items including deleted emails in PST

    NSF to PST Convert IBM Notes NSF file & export all mailbox items including emails & attachments to PST

    MBOX to PST Convert MBOX file of Thunderbird, Entourage & other clients, & export mailbox data to PST

    OLM to PST Convert Outlook for Mac Data File (OLM) & export all mailbox data to PST in original form

    GroupWise to PST Convert GroupWise mail & export all mailbox items - emails, attachments, etc. - to PST

    EML to PST Convert Windows Live Mail (EML) file & export mailbox data - emails, attachments, etc. - to PST

    Office 365 to PST Connect to Office 365 account & export mailbox data to PST and various other formats

    DBX to PST Convert Outlook Express (DBX) file & export all mailbox data - emails, attachments, etc. - to PST

    SQL Repair Repair corrupt .mdf & .ndf files and recover all database components in original form

    Access Repair Repair corrupt .ACCDB and .MDB files & recover all records & objects in a new database

    QuickBooks Repair Repair corrupt QuickBooks® data file & recover all file components in original form

    MySQL Repair Repair MyISAM & InnoDB tables and recover all objects - keys, views, tables, triggers, etc.

    Excel Repair Repair corrupt Excel (.XLS & .XLSX) files and recover tables, charts, chart sheet, etc.

    BKF Repair Repair corrupt backup (BKF, ZIP, VHDX and .FD) files and restore complete data

    Database Converter Interconvert MS SQL, MySQL, SQLite, and SQL Anywhere database files

    PowerPoint Repair Repair corrupt PPT files and restore tables, header, footer, & charts, etc. like new

    File Repair Toolkit Repair corrupt Excel, PowerPoint, Word & PDF files & restore data to original form

    Data Recovery Windows Mac Recover lost or deleted data from HDD, SSD, external USB drive, RAID & more.

    Technician Toolkit

    Tape Data Recovery Retrives data from all types and capacities of tape drives including LTO 1, LTO 2, LTO 3, & others.

    Virtual Machine Recovery Recover documents, multimedia files, and database files from any virtual machine

    File Erasure Permanently wipe files and folders, and erase traces of apps and Internet activity.

    Standard Corporate

    Mobile Erasure Certified and permanent data erasure software for iPhones, iPads, & Android devices

    Drive Erasure Certified and permanent data erasure software for HDD, SSD, & other storage media Windows Mac

    Exchange Toolkit 5-in-1 software toolkit to recover Exchange database, convert EDB to PST, convert OST to PST, restore Exchange backup, and reset Windows Server password.

    Outlook Toolkit Comprehensive software suite to repair PST files, merge PST files, eliminate duplicate emails, compact PST files, and recover lost or forgotten Outlook passwords.

    File Repair Toolkit Powerful file repair utility to fix corrupt Word, PowerPoint, and Excel documents created in Microsoft Office. It also repairs corrupt PDF files and recovers all objects.

    MS SQL Toolkit 5-in-1 software toolkit to repair corrupt SQL database, restore database from corrupt backup, reset database password, analyze SQL logs, & interconvert databases.

    Data Recovery Toolkit Software helps to recovers deleted data from Windows, Mac and Linux storage devices. Also supports recovery from RAIDs & Virtual Drives.

    Email Forensic Advanced email forensic solution for cyber experts to audit, analyze, or investigate emails & gather evidences.

    Exchange Auditor Exchange Server monitoring solution to automate audits, scans and generate reports ìn real-time.

    Log Analyzer for MySQL Analyze forensic details of MySQL server database log files such as Redo, General Query, and Binary Log.

    Log Analyzer for MS SQL Track & analyze MS SQL Server database transactions log files.

    Email Forensic
    STELLAR EMAIL FORENSIC

    Advanced email forensic tool to analyze and collect the mailbox data of email clients

    Learn More arrow


    All Products arrow

    All Products arrow

    All Products arrow

    All Products arrow

  • Our Partners
  • Lab Services
  • microphone-icon-android

    Trending Searches

    Data Recovery

    Photo Recovery

    Video Repair

    iPhone Data Recovery

    File Erasure Software

    Exchange Repair

    OST to PST

    PST Repair

    Raid Recovery

    MS SQL Repair

  • English Deutsch Français Nederlands Italiano Español 日本語 简体中文
  • Support
Exchange Server 4 minute read

How to Fix Error – Usage Error Invalid argument ‘Storage’. Options must be preceded by ‘-‘ or ‘/’?

Published on July 20th, 2022
Ravi Singh
Written By
Ravi Singh
Shaun Hardneck
Approved By
Shaun Hardneck

Summary: While running the ESEUtil command to clear the white space, you may encounter the error - Usage Error Invalid argument 'Storage'. Options must be preceded by '-' or '/'. In this post, we have mentioned the possible solutions to resolve this error. In case the database gets corrupted, you can use an Exchange repair software that can help you fix the issue in a few clicks.

How to Fix Error – Usage Error Invalid argument ‘Storage’. Options must be preceded by ‘-‘ or ‘/’?

Contents

  • Solutions to Fix the Usage Error: Invalid argument ‘Storage’. Options must be preceded by ‘-‘ or ‘/’ Error
  • To Conclude

One of the jobs of an Exchange Server administrator is to monitor the storage. If the Exchange Server went out of disk space, the business may come to a halt as the users may not be able to send and receive emails or save their data. Also, you may end up with dismounted Exchange databases or corrupt transaction logs. You can delete the data to reduce the database size. But when any data is deleted, the used space is not reclaimed as Exchange Server makes this space available for new data instead of reducing the database size. This space is known as white space.

You can clear off the white space by using the native tool – ESEUtil. This tool can go through all the databases and reclaim the unused space being cluttered by white space.

eseutil /ms <EDB File path>
clear off the white space in exchange database

Depending on the size of the database, this process may take a considerable amount of time to complete. It could be the reason that the operation may fail with an error (see the below image).

access to the source database failed eseutil command

Most of the time, the error occurs if the database is mounted. It will not allow you to execute the command. In such a case, you can dismount the database. Follow these steps:

  • Open the Exchange Admin Center (EAC).
  • Click on Servers.
  • Click on Databases.
check database in exchange admin center
  • Highlight the database to dismount.
  • Click on the More Options button (…).
  • Click on Dismount.
dismount the database in exchange admin center

Alternatively, you can use the Exchange Management Shell (EMS) to dismount the database. Execute the following PowerShell command.

Dismount-Database "<database name>" -Confirm:$False
dismount database using exchange powershell commands

When the maintenance process is complete, run the below command to mount it again.

Mount-Database "<database name>" -Confirm:$False
mount exchange database using powershell cmdlets

However, when running the ESEUtil command to clear the white space, you may end up with a strange issue and the process may halt with the error Usage Error: Invalid argument ‘Storage’. Options must be preceded by ‘-‘ or ‘/’.

Solutions to Fix the Usage Error: Invalid argument ‘Storage’. Options must be preceded by ‘-‘ or ‘/’ Error

Here are some solutions you can try to fix this error.

  1. When you specify the full path of the EDB file, enclose the path with double quotes to ensure that all characters are noted in the command, especially if you have any characters or spaces in the folder names.
  2. You must ensure that there is enough space to run the command and that your hard drive is not full. Also, ensure that the database is not mounted.
  3. Another option to try to resolve the matter is to restart the Information Store service. It’s important that this is done during a maintenance window as it will stop all users from sending and receiving emails, accessing public folders, and other features of Exchange Server. To restart the Information Store service, open Services, right-click on Microsoft Exchange Information Store, and then click on Restart.

To Conclude

If the issue is not resolved, there could be corruption in your Exchange Server database, especially if you ended up with no disk space. In such cases, the database will not mount and you end up with a database marked as Dirty Shutdown. You can use the ESEUtil with soft recovery to recover the database. If the problem persists, you need to run the hard recovery. However, it is strongly suggested not to perform hard recovery as it purges any data which is deemed corrupted, resulting in data loss.

The best solution, in this case, is to create a new database and export all the mailboxes to the new database. But since the Exchange database would not mount, this is not possible natively. If the database is mounted, you could use the move request command but you will not be able to move any mailbox if the database or items are corrupt. Also, you will not be able to move public folders easily.

In such cases, applications such as Stellar Repair for Exchange can come in handy. Stellar Repair for Exchange can open corrupt EDB files from any Exchange Server version. You can simply select all the mailboxes and export them directly to a live Exchange Server database. You can also granularly export recovered user mailboxes, shared mailboxes, disabled mailboxes, and public folders to PST and other formats, such as MSG, PDF, EML, and HTML. You can also use the application as a migration tool as it can export the recovered databases directly to an Office 365 tenant.

About The Author

Ravi Singh

Ravi Singh is a Senior Writer at Stellar®. He is an expert Tech Explainer, IoT enthusiast, and a passionate nerd with over 7 years of experience in technical writing. He writes about Microsoft Exchange, Microsoft 365, Email Migration, Linux, Windows, Mac, DIY Tech, and Smart Home. Ravi spends most of his weekends working with IoT (DIY Smart Home) devices and playing Overwatch. He is also a solo traveler who loves hiking and exploring new trails.

Best Selling Products

Stellar Repair for Exchange

Stellar Repair for Exchange

Software recommended by MVPs & Administr

Read More
Stellar Toolkit for Exchange

Stellar Toolkit for Exchange

5-in-1 suite of specialized tools, highl

Read More
Stellar Converter for EDB

Stellar Converter for EDB

Stellar Converter for EDB is a professio

Read More
Stellar Converter for OST

Stellar Converter for OST

Powerful software trusted by Microsoft M

Read More

Table of Contents    arrow

  1. Solutions to Fix the Usage Error: Invalid argument ‘Storage’. Options must be preceded by ‘-‘ or ‘/’ Error
  2. To Conclude

Categories

offer banner

Related Posts

related post
Exchange Server

Microsoft Exchange Servers Worldwide Hit by a New IIS Backdoor

Stellar Author Ravi Singh July 5, 2022 Read More
related post
Exchange Server

New ToddyCat APT Gang Targeting Microsoft Exchange Servers

Stellar Author Ravi Singh June 24, 2022 Read More
related post
Exchange Server

‘BlackCat’ Ransomware Crew Targeting Unpatched Microsoft Exchange Servers

Stellar Author Ravi Singh June 21, 2022 Read More

Free Trial for 60 Days

Stellar Official Website

Stellar Data Recovery Inc.
48 Bridge Street Metuchen,
New Jersey 08840,
United States

ALSO AVAILABLE AT

Partner Logo

About

  • About us
  • Career
  • ISMS Policy
  • Privacy Policy
  • Terms of Use
  • License Policy
  • Refund Policy
  • End User License Agreement

RESOURCES

  • Blog
  • Articles
  • Product Videos
  • Knowledge Base
  • Case Studies
  • Whitepapers
  • Software Catalog

NEWS & EVENTS

  • News
  • Events

PARTNERS

  • Affiliates
  • Resellers
  • Distributors

Useful Links

  • Contact Us
  • Support
  • Special Offers
  • Student Discounts
  • Awards & Reviews
  • Downloads
  • Store
  • Sitemap
Follow Us

tw in yt

Stellar & Stellar Data Recovery are Registered Trademarks of Stellar Information Technology Pvt. Ltd. © Copyright 2022 Stellar Information Technology Pvt. Ltd. All Trademarks Acknowledged.

Hippa Logo tuv footer partner logo DMCA.com Protection Status
We use cookies on this website. By using this site, you agree that we may store and access cookies on your device Read More Got it!