How to Check Software Center Business Hours of Remote Computer | ConfigMgr

Troubleshooting software update deployments in ConfigMgr often requires checking whether Software Center business hours are correctly configured. While it’s easy to verify on a local machine, doing the same on a remote computer can be tricky. In this guide, we’ll walk through how to quickly check Software Center business hours remotely using PowerShell, explore log-based validation, and highlight compliance settings for remediation.

Check Software Center Business Hours with PowerShell

With this PowerShell script, you can easily check the SCCM Software Center business hours configured on remote or local computers.

$computer = "Desktop01"
$cmClientUserSettings = [WmiClass]"\\$computer\ROOT\ccm\ClientSDK:CCM_ClientUXSettings"
$businessHours = $cmClientUserSettings.GetBusinessHours()
$businessHoursCI = [string]$businessHours.StartTime + "," + [string]$businessHours.EndTime + "," + [string]$businessHours.WorkingDays
#Return $businessHoursCI

Write-Host "Business Hours"
Write-Host "--------------"
Write-Host "Start Time   : $($businessHours.StartTime)"
Write-Host "End Time     : $($businessHours.EndTime)"
Write-Host "Working Days : $($businessHours.WorkingDays)"

Write-Host ""
Write-Host "Days of the week are calculate with this table : Sun=1, Mon=2, Tue=4, Wed=8, Thu=16, Fri=32, Sat=64"
Write-Host "Monday – Friday is calculated as 2+4+8+16+32 = 62"

Remediate with SCCM Compliance Settings

The article below offers a detailed walkthrough for checking Software Center business hours with PowerShell and resolving misconfigurations through Compliance Settings.

https://powersheller.wordpress.com/2012/11/20/sccm-2012-setting-software-center-business-hours-with-a-compliance-configuration-item/

Validate Business Hours in UpdatesDeployment.log

You can also identify the Software Center business hours for a given day by reviewing the UpdatesDeployment.log file on the client computer. Look for the SERVICEWINDOWEVENT START and SERVICEWINDOWEVENT END entries. For example, the log may show that the service window (non‑business hours) started at 22:00 and ended at 05:00. During this window, all required software updates will be installed.

SCCM UpdateDeployment.log | Software Center Business Hours

Related Posts:

Subscribe to Techuisitive Newsletter

Be the first to know about our new blog posts. Get our newsletters directly in your inbox and stay up to date about Modern Desktop Management technologies & news.

Scroll to Top