created | modified |
---|---|
2024-12-09 17:42:31 UTC |
2024-12-12 11:45:42 UTC |
cls
cd 'C:\Program Files\Microsoft Data Protection Manager\DPM\bin\'
.\SetDpmServer.exe -dpmServerName TT-DPM06.corp.technologytoolbox.com
TT-ADMIN04 - DPM Management Shell
cls
$productionServer = 'STORM'
.\Attach-ProductionServer.ps1 `
-DPMServerName TT-DPM06 `
-PSName $productionServer `
-Domain TECHTOOLBOX `
-UserName jjameson-admin
That doesn't work…
Error:
Data Protection Manager Error ID: 307
The protection agent operation failed because DPM detected an unknown DPM protection agent on storm.corp.technologytoolbox.com.Recommended action:
Use Add or Remove Programs in Control Panel to uninstall the protection agent from storm.corp.technologytoolbox.com, then reinstall the protection agent and perform the operation again.
cls
msiexec /x `{356B3986-6B7D-4513-B72D-81EB4F43ADE6`}
cls
msiexec /x `{CC6B6758-3A68-4BBA-9D61-1F3278D6A7EA`}
Important
Restart the computer to complete the removal of the DPM agent.
Restart-Computer
$installerPath = "\\TT-FS01\Products\Microsoft\System Center 2019" `
+ "\DPM\Agents\DPMAgentInstaller_x64.exe"
$installerArguments = "TT-DPM06.corp.technologytoolbox.com"
Start-Process `
-FilePath $installerPath `
-ArgumentList "$installerArguments" `
-Wait
TT-ADMIN04 - DPM Management Shell
cls
$productionServer = 'STORM'
.\Attach-ProductionServer.ps1 `
-DPMServerName TT-DPM06 `
-PSName $productionServer `
-Domain TECHTOOLBOX `
-UserName jjameson-admin
cls
[array] $excludeProcesses = Get-MpPreference | select -ExpandProperty ExclusionProcess
$excludeProcesses +=
"$env:ProgramFiles\Microsoft Data Protection Manager\DPM\bin\DPMRA.exe"
Set-MpPreference -ExclusionProcess $excludeProcesses
Set-MpPreference -LowThreatDefaultAction Remove
Set-MpPreference -ModerateThreatDefaultAction Remove
Set-MpPreference -HighThreatDefaultAction Remove
Set-MpPreference -SevereThreatDefaultAction Remove
Run antivirus software on the DPM server
From <https://docs.microsoft.com/en-us/system-center/dpm/run-antivirus-server?view=sc-dpm-2019>