system center
251 TopicsGui 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."122Views0likes1CommentOrchestrator 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.334Views1like1Commentdeployment 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?69Views0likes0CommentsCannot 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: Hungarian606Views2likes3CommentsSystem 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.943Views1like4CommentsUnable to patch Windows Server 2025/24H2
Windows updates will not display in software center for 2025/24H2 clients. Currently running SCCM version 2503 hotfix rollup KB32851084. SCCM client version on test server is 5.00.9135.1013. Test server OS is 24H2 build 2600.2894. I have verified that the 24H2 product is enabled in the software update point configuration and within the ADR. ADR preview shows the 24H2 update (KB5068861). I see KB5068861 under the deployments tab of the test server device. I have a daily maintenance window on the collection, and this shows on the test client within "installation status -->upcoming" tab in software center. I do realize that this hotfix rollup included a fix for 2025 OS. Windows Server 2025 updates use the incorrect Maximum run time value in the properties for the software update component. The value can lead to update installations being incorrectly canceled. I did change the maximum run time for KB5068861 from 10 minutes to 60 minutes. Could this be a metadata related issue with the existing KB that is currently downloaded to SCCM (via WSUS)? I hope I'm not missing something obvious but do welcome an easy resolution if that's the case. Thanks for any suggestions or troubleshooting suggestions.738Views0likes0Comments