PowerShell script exchange
Post Reply
Product Manager
Posts: 17070
Liked: 1475 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

No snap-ins have been registered for Windows PowerShell

Post by veremin » Dec 01, 2015 2:10 pm 3 people like this post


While adding Veeam Backup and Replication snap-in, PowerShell returns the following error:

“No snap-ins have been registered for Windows PowerShell version”


The issue is typically caused by presence of two PowerShell instances (32-bit and 64-bit ones) inside 64-bit operating systems and is related to one of the following situations:
  • • Snap-in has been incorrectly registered (or has not been registered at all) for the improper PS instance either automatically or by user via instautil
    • User tries to add 64-bit snap-in from 32-bit PowerShell instance
    • 64-bit PowerShell shortcut is wrongly pointed to SysWOW64
    • Usage of Windows 2008 (R2) with default Powershell 2.0 (there are a lot of weird issues related to it)
    • etc.

Several possible approaches are suggested:
  • • Opening VB&R snap-in via icon in VB&R GUI, Menu -> PowerShell (as described here)
    • Manually registering snap-in
    • Checking corresponding registry hive and manually re-creating missing entities (as described here)
    • Updating default Powershell 2.0 in case of Windows Server 2008 (R2)
    • Reinstalling the latest Update, along with PS snap-in
    • Reinstalling everything from scratch (mostly applicable for those who are on free product version, as there is no historical data, configurable infrastructure, etc. ; might be a tough call for those who are on paid product versions)
More information

If neither of the suggested solutions does the trick for you or you have further questions, open a support case, as follows:

Posts: 6
Liked: never
Joined: Apr 23, 2019 3:43 pm
Full Name: David Lee

Re: No snap-ins have been registered for Windows PowerShell

Post by eeldivad » Apr 24, 2019 4:29 am

I notice we don't need to register the snapin for newer versions of Powershell. I'm using Powershell 5. This might work for older versions too. I simply copy all files/subfolders of c:\Program Files\Veeam\Backup and Replication\Console
to another server anywhere you like. Then use import-module directly with Veeam.Backup.PowerShell.dll

import-module D:\scripts\Powershell\modules\Veeam\Veeam.Backup.PowerShell.dll

Now if you run get-module, you will see Veeam.Backup.Powershell listed

To get the list of commands available just run
get-command -module Veeam.Backup.Powershell

I haven't tested all the functions but they seem to work fine for me

Post Reply

Who is online

Users browsing this forum: Brad.linch and 5 guests