HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Windows/diagnostics/system/BITS/RC_BITSACL.ps1
# Copyright © 2015, Microsoft Corporation. All rights reserved.
# :: ======================================================= ::

#====================================================================================
# Initialize
#====================================================================================
Import-LocalizedData -BindingVariable Strings_RC_BITSACL -FileName CL_LocalizationData
$detected = $false

#====================================================================================
# Main
#====================================================================================
Write-DiagProgress -Activity $Strings_RC_BITSACL.ID_RC_BITSACL_Progress

$sd = sc.exe sdshow bits
$bitsAcl = 'D:(A;CI;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)S:(AU;SAFA;WDWO;;;BA)'

if($sd[1].IndexOf($BitsAcl) -eq -1)
{
	$detected = $true
}

Update-DiagRootCause -ID 'RC_BITSACL' -Detected $detected -Parameter @{'bitsAcl' = $bitsAcl}
return $detected