system center
251 TopicsSCSM 2025 installation failure - _PopulateUserRoles
Let me lay out the full picture first. Windows Server 2025, Remote SQL Server 2022 CU 20 FCI (used for internal reasons, but I also tried using Always On and encountered the same error), and a clean installation of SCSM 2025 Management Server. I also tried CU19, but the same issue occurs. The installation starts without any problems. It goes through all the steps: creates the database, configures registry settings, configures the server, installs services, and imports management packs. But right after that, I get the following error: _"An error occurred while executing a custom action: PopulateUserRoles This upgrade attempt has failed before permanent modifications were made. Upgrade has successfully rolled back to the original state of the system. Once the corrections are made, you can retry the upgrade for this role." Immediately after this, the Event Viewer logs the following Event ID 36882: "The certificate received from the remote server was issued by an untrusted certificate authority. Because of this, none of the data contained in the certificate can be validated. The TLS connection request has failed. The attached data contains the server certificate. The SSPI client process is rundll32 (PID: 5084).” SQL does not require encryption and is not using any custom certificate. Just to clarify, the internal CA certificate is installed on all servers. The event is weird because, at this point, the installation has already created and configured the database. It doesn’t make sense to me, but the event appears at the exact same moment the installation fails. I’ve already checked permissions on both SQL and SCSM. The service account is a local administrator, has "Log on as a service" rights, and is a sysadmin on SQL. I’ve searched everywhere online but haven’t found a solution... Any ideas? Thanks.664Views0likes2CommentsGui to deploy folder contents to multiple VMs
I am trying to improve imaging computers where I work. I need to create a gui for new hires since the imaging process is so complicated. I need the GUI to request necessary computer names that are being imaged and then copy files from a local workstation to the machines that are being imaged on the network that our technicians do not have physical access to. I have turned to Powershell for the solution in an attempt to improve on my knowledge which is basic really. Below is the code I have come up with so far. In this code I am getting the location of the file. I would rather copy the entire folder instead of the file but I couldnt find the code to do that. So, if that is possible please show me how. If not I figure I would have to save these imaging files to a ZIP file. Then I could maybe use this GUI I am working on to move the zip file to the remote computers. Add-Type -AssemblyName System.Windows.Forms # Create the form $form = New-Object System.Windows.Forms.Form $form.Text = "File and Network Location Collector" $form.Size = New-Object System.Drawing.Size(400, 200) # Create the label for file name $fileLabel = New-Object System.Windows.Forms.Label $fileLabel.Text = "File Name:" $fileLabel.Location = New-Object System.Drawing.Point(10, 20) $form.Controls.Add($fileLabel) # Create the text box for file name $fileTextBox = New-Object System.Windows.Forms.TextBox $fileTextBox.Location = New-Object System.Drawing.Point(100, 20) $fileTextBox.Size = New-Object System.Drawing.Size(250, 20) $form.Controls.Add($fileTextBox) # Create the label for network location $networkLabel = New-Object System.Windows.Forms.Label $networkLabel.Text = "Network Location:" $networkLabel.Location = New-Object System.Drawing.Point(10, 60) $form.Controls.Add($networkLabel) # Create the text box for network location $networkTextBox = New-Object System.Windows.Forms.TextBox $networkTextBox.Location = New-Object System.Drawing.Point(100, 60) $networkTextBox.Size = New-Object System.Drawing.Size(250, 20) $form.Controls.Add($networkTextBox) # Create the button to submit $submitButton = New-Object System.Windows.Forms.Button $submitButton.Text = "Submit" $submitButton.Location = New-Object System.Drawing.Point(150, 100) $form.Controls.Add($submitButton) # Add event handler for the button click $submitButton.Add_Click({ $fileName = $fileTextBox.Text $networkLocation = $networkTextBox.Text [System.Windows.Forms.MessageBox]::Show("File Name: $fileName`nNetwork Location: $networkLocation") }) # Show the form $form.ShowDialog() In this portion of the code it is copying from one source to many locations. Thank you for any assistance as this would help my organization a lot. We are getting several new hires who are very new to the industry. This would be a huge blessing. Pardon the change in font size. It did that for no reason, its my first time using the blog, and there appears to be no way to change the sizes lol. Forgive me. #Define the source folder and the list of target computers $sourceFolder = "C:\Path\To\SourceFolder" $destinationFolder = "C:\Path\To\DestinationFolder" $computers = @("Computer1", "Computer2", "Computer3") # Replace with actual computer names # Function to copy the folder function Copy-Folder { param ( [string]$source, [string]$destination ) Copy-Item -Path $source -Destination $destination -Recurse -Force } # Execute the copy operation on each computer foreach ($computer in $computers) { Invoke-Command -ComputerName $computer -ScriptBlock { param ($source, $destination) Copy-Folder -source $source -destination $destination } -ArgumentList $sourceFolder, $destinationFolder } Write-Host "Folder copied to all specified computers."147Views0likes1CommentOrchestrator Scheduling Challenge
Hi. I've been using SC orchestrator for almost a decade now. However, not until today have I needed to run something hourly and on the hour. Presently, when I configure this, in the "Monitor Date/Time activity I specify 0 days, 1 hour, and 0 minutes. Then I check the "Starting" checkbox and enter 0 for "minutes after the hour". Press finish, and come back in and it's unchecked. How can I schedule my hourly job to run at the hour mark? I have a workaround to run at the 1 minute after the hour mark, but that's ... not what we really want.340Views1like1Commentdeployment script fails with division through zero when deploying
I created an installation script with this batch line: setup.exe -s -l1031 -f1".\Provi75inst.iss" This is put into a install.bat file that gets deployed with the software package. I tested it with admin-rights and the software installs fine. When I depoloy it through system center and run it in my softwarecenter, I get this error: 0xC0000094 (-1073741676) I researched that it is a "division through zero" error. What the heck. Does anyone know what is going on here? Is there a difference running the installation in SYSTEM context? Due to company restrictions I can't use PSEXEC to verify this. Any idea?79Views0likes0CommentsCannot update to Update Rollup 3 for System Center 2022
Hi, I tried update my DPM 2022 to the latest version. I tried also via Windows Update and manually but both method is unsuccessful. When I tried windows update method I got the following error message: There were some problems installing updates, but we'll try again later. If you keep seeing this and want to search the web or contact support for information, this may help: (0x80070643) For manually update I run this package but the setup wizard didn't show up: dataprotectionmanager-kb5059073_ce4e4e4b8dd358bd0b79e77235e9945dc96131fa.exe I restarted the server as recommended by Microsoft and tried again but not helped for me. My dpm setup: Virtual Machine Windows Server 2022 Standard Language: English Region: Hungarian659Views2likes3CommentsSystem Center 2022 Update Rollup 3
We’re pleased to announce Update Rollup 3 (UR3) for System Center 2022. This release continues our commitment to stability, security, and platform currency across on‑premises datacenter operations, with targeted fixes and compatibility improvements for Operations Manager, Service Manager, Virtual Machine Manager, and Orchestrator. Details below. Virtual Machine Manager Support for additional Guest OSes & UX improvements Added Windows Server 2025 guest OS support Expanded Linux guest OS coverage: Ubuntu 24.04, RHEL 9, Debian 12, Rocky Linux 8 & 9. Availability Sets are now listed alphabetically to streamline selection. Storage provider security hardening Secure‑by‑default: Adding new storage providers now uses HTTPS by default. Learn more: Update Rollup 3 for System Center 2022 Virtual Machine Manager. Operations Manager Operations & Web Console are more stable since multiple issues are fixed such as console crashes, dashboard performance, favorite report issue. Addressed failures in workflows that use WMIProbe, ensuring the probe correctly falls back and executes. Restored Microsoft Teams notification functionality for environments impacted after UR2. Learn more: Update Rollup 3 for System Center 2022 Operations Manager. Service Manager Platform Stability on New CPUs/OS Builds Eliminated MonitoringHost instability observed on newer processors/OS builds and addressed a GroupCalc‑related crash scenario. Multiple Bug fixes on Self‑Service Portal & Knowledge Article Rendering Note: UR3 can be applied even where UR2 installation had failed, and it includes the bug fixes and enhancements that shipped with UR2. Learn more: Update Rollup 3 for System Center 2022 Service Manager. Orchestrator Platform Updates .NET 8 (LTSC) is now supported. Group Managed Service Accounts (gMSA) are supported. Security improvements Support for TLS 1.3 protocol is enabled. Learn more about bugs fixes: Update Rollup 3 for System Center 2022 Orchestrator We are committed to delivering new features and quality updates with UR releases at regular cadence. For any feedback and queries, you can reach us at systemcenterfeedback@microsoft.com.998Views1like4Comments