No snap-ins have been registered for Windows PowerShell

PowerShell script exchange

No snap-ins have been registered for Windows PowerShell

Veeam Logoby v.Eremin » Tue Dec 01, 2015 2:10 pm 2 people like this post

Challenge

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

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

Cause

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.

Solution

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:


Thanks!
v.Eremin
Veeam Software
 
Posts: 13279
Liked: 969 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Return to PowerShell



Who is online

Users browsing this forum: No registered users and 7 guests