1-800-691-1991 | 9am - 8pm ET

Parameter is not valid. Failed to open Veeam Backup and Replication.

KB ID: 1079
Product: Veeam Backup & Replication
Version: 4.x
Published: 2011-07-19
Last Modified: 2020-08-13


Backup and Replication won't open, but jobs will still continue to run.  Error occurs when opening the Veeam Software.  

"Parameter is not valid"

When opening the Veeam.Backup.Shell.exe, the following error occurs: Parameter is not valid

User-added image

When you press OK, the service will shut off again, and Backup and Replication will not open.  Jobs will continue to run in this state.


The number of sessions in the sessions history within the Veeam database become so large that Veeam fails to start with described error message box.


To workaround the problem you may use the following script. The script will delete sessions history but it will keep the information about last 1000 session from the database.


declare @bsess as table([id] uniqueidentifier)

insert into @bsess(id)
select from BSessions b where not in
      select top 1000 id from BSessions order by creation_time DESC

delete BSessionInfo
where session_id in (select id from @bsess)

delete BSessions
where id in (select id from @bsess)

To run the script you may use SQL management studio or you may also follow next steps:

1. Stop Veeam services

2. Save the file to any file, "script.sql" for example.

3. Run the following command: sqlcmd -S COMPUTER\INSTANCE -d VeeamBackup -i
PATHTOSCRIPT\script.sql -o c:\resetresult.txt

where COMPUTER is the name of computer with database, INSTANCE is the name of instance (VEEAM for default installation), PATHTOSCRIPT is the path to the script.

4. Start the services

More information

As always, Veeam recommends backing up the database before running the SQL script as a precaution.

KB ID: 1079
Product: Veeam Backup & Replication
Version: 4.x
Published: 2011-07-19
Last Modified: 2020-08-13

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.

ty icon

Thank you!

We have received your request and our team will reach out to you shortly.


error icon

Oops! Something went wrong.

Please go back try again later.