Tuesday, December 3, 2019

Fix Veeam Backup Error VSSControl -2147212529

1. Login to the VM and run Powershell or CMD prompt from an administrator-level login.

2. Run vssadmin list providers

3. (FYI. This is for VMware or Nutanix Acropolis VM's, not Hyper-V)...

Anyway...you will see this a reference to Hyper-V:

"Hyper-V IC Software Shadow Copy Provider"

Open up regedit and delete the key:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VSS\Providers\{74600e39-7dc5-4567-a03b-f091d6c7b092}]
@="Hyper-V IC Software Shadow Copy Provider"
"Type"=dword:00000002
"Version"="1.0.0.0"
"VersionId"="{c797fff9-2c3e-453c-a3e9-cc7673a6c732}"


4. Reboot the server.

5. Kick off the backup again and it will run. Thank you Micro$oft for buying your Hyper-V components into the OS so deeply...good grief.

Reference Article: https://www.veeam.com/kb1785
Share:

Check Problems on Multiple Windows Servers with PowerShell

1. On Linux create a file with vi and hit "i" on the keyboard and paste the data in. On Windows create a file and save it with "All Files" and put .ps1 as the extension. Powershell on Linux does not have the get-eventlog command.

2. Don't forget to change the hostname or point to the file with the list of hostnames:

$logs = get-eventlog system -ComputerName typemyservername -source Microsoft-Windows-Winlogon -After (Get-Date).AddDays(-7);
$res = @(); ForEach ($log in $logs) {if($log.instanceid -eq 7001) {$type = "Logon"} Elseif ($log.instanceid -eq 7002){$type="Logoff"} Else {Continue} $res += New-Object PSObject -Property @{Time = $log.TimeWritten; "Event" = $type; User = (New-Object System.Security.Principal.SecurityIdentifier $Log.ReplacementStrings[1]).Translate([System.Security.Principal.NTAccount])}};
$res

Reference:

https://www.codetwo.com/admins-blog/how-to-check-event-logs-with-powershell-get-eventlog/
Share: