WBAdmin snap-in failed to initailise
The other day we had an issue with the Windows Backup on a Windows 2012 R2 server that had previously backed up OK.
On start-up of the Windows Backup application we received a message saying that the windows backup wbadmin snap-in failed to start and that we should restart the service and retry the snap-in.
When we tried the command line we received a message saying that the command was not available on portable workstations
After some looking around we found that a possible cause was that the registry had this entry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
PortableOperatingSystem = 1
So we changed to 0 as the server would have been tricky to carry and then wbadmin stated that there were no jobs scheduled.
We then ran the following command in order:
- Get-WBPolicy | Remove-WBPolicy
- Remove-WBBackupSet
- Remove-WBCatalog
- get-Service *wb* | Start-Service
- Restart Windows Server Backup
We then found that the backup record was destroyed but that the service could be run in the GUI once more.