To install SharePoint we attaching SharePoint setup ISO. It seems due to the same after installation complete, it is looping this error after login to server.
This issue I face in SharePoint 2013 to SharePoint 2019 and the solution will work for all the version mentioned. So just run the below powershell script it will delete the .CMD file from startup and after that command popup won’t appear after login to server.
$path="C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup" $file= Get-ChildItem $path -Recurse -Force -Filter SharePointServerPreparationToolStartup* | Where-Object {!$_.PSIsContainer} if($file -ne $null) { $file | Remove-Item Write-Host "File $($file.Name) removed successfully" -ForegroundColor green } else { Write-Host "File not found" -ForegroundColor red }