kbupdate icon indicating copy to clipboard operation
kbupdate copied to clipboard

Install-KbUpdate hangs on 'Preparing modules for first use ... 00:00:00 remaining'

Open branpurn opened this issue 3 years ago • 5 comments

Hi there, coming from an environment with some peculiarities, but I'm not doing anything particularly unique here. Install-KbUpdate hangs on 'Preparing modules for first use ... 00:00:00 remaining'

Install-KbUpdate -ComputerName Domain_Computer -FilePath \\sccm_site\CM_001_ContentSource\Imports\Update_Remediation\20H2_update\windows10.0-kb5016616-x64_Cum.msu

Preparing modules for first use.
    Default status description.
    [                                                                                                            ]
    00:00:00 remaining.

    [localhost] Test-TargetResource

The process does not appear to progress from here. Verbose output below.

PS C:\Users\admin_acc> Install-KbUpdate -ComputerName Domain_Computer -FilePath \\sccm_site\CM_001_ContentSource\Imports\Update_Remediation\20H2_update\windows10.0-kb5016616-x64_Cum.msu -vERBO
SE
VERBOSE: [15:47:22][Install-KbUpdate] Processing Domain_Computer
VERBOSE: [15:47:22][Install-KbUpdate] Adding Domain_Computer to PSDefaultParameterValues for Invoke-PSFCommand:ComputerName
VERBOSE: [15:47:22][Install-KbUpdate] Initializing remote session to Domain_Computer and also getting the remote home directory
VERBOSE: [15:47:24][Install-KbUpdate] Checking for home downloads directory
VERBOSE: Populating RepositorySourceLocation property for module xWindowsUpdate.
VERBOSE: Performing the operation "Installing file from C:\Users\admin_acc\Downloads\windows10.0-kb5016616-x64_Cum.msu" on target "Domain_Computer".
VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\xWindowsUpdate\2.8.0.0\xWindowsUpdate.psd1'.
VERBOSE: Populating RepositorySourceLocation property for module xWindowsUpdate.
VERBOSE: Installing KB5016616 from C:\Users\admin_acc\Downloads\windows10.0-kb5016616-x64_Cum.msu
VERBOSE: Populating RepositorySourceLocation property for module xWindowsUpdate.
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = ResourceTest,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' =
root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: An LCM method call arrived from computer Domain_Computer with user sid S-1-5-21-59184239-861362498-615583016-555555.
VERBOSE: [Domain_Computer]: LCM:  [ Start  Test     ]  [[xHotfix]DirectResourceAccess]
VERBOSE: [Domain_Computer]:                            [[xHotfix]DirectResourceAccess] Testing whether hotfix is Present.
VERBOSE: [Domain_Computer]:                            [[xHotfix]DirectResourceAccess] Test-StandardArguments, Path was C:\Users\admin_acc\Downloads\windows10.0-kb5016616-x64_Cum.msu.
VERBOSE: [Domain_Computer]:                            [[xHotfix]DirectResourceAccess] The path extension was .msu
VERBOSE: [Domain_Computer]: LCM:  [ End    Test     ]  [[xHotfix]DirectResourceAccess] False in 0.4240 seconds.
VERBOSE: [Domain_Computer]: LCM:  [ End    Set      ]    in  0.7930 seconds.
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Time taken for configuration job to complete is 0.913 seconds
VERBOSE: Populating RepositorySourceLocation property for module xWindowsUpdate.
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = ResourceSet,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' =
root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: An LCM method call arrived from computer Domain_Computer with user sid S-1-5-21-59184239-861362498-615583016-555555.
VERBOSE: [Domain_Computer]: LCM:  [ Start  Set      ]  [[xHotfix]DirectResourceAccess]
VERBOSE: [Domain_Computer]:                            [[xHotfix]DirectResourceAccess] Log name hasn't been specified. Hotfix will use the temporary log C:\WINDOWS\TEMP\tmp3603.tmp.etl .
VERBOSE: [Domain_Computer]:                            [[xHotfix]DirectResourceAccess] Test-StandardArguments, Path was C:\Users\admin_acc\Downloads\windows10.0-kb5016616-x64_Cum.msu.
VERBOSE: [Domain_Computer]:                            [[xHotfix]DirectResourceAccess] The path extension was .msu
VERBOSE: [Domain_Computer]:                            [[xHotfix]DirectResourceAccess] START Install using wsusa.exe

branpurn avatar Sep 14 '22 20:09 branpurn

I think there may be issues with our environment where privileged execution is not allowed outside a single directory access-controlled at root of C: (c:\src)? Perhaps when kbupdate copies it to the user profile's Downloads folder, this is breaking it in our case. Is there a way to circumvent that behavior?

branpurn avatar Sep 14 '22 20:09 branpurn

DSC is weird, unfortunately, and that annoys me too. Try with the latest version that I released last night. I updated DSC to a module that is years newer. That should help resolve a few issues. Let me know!

potatoqualitee avatar Sep 15 '22 06:09 potatoqualitee

Thanks!! Here's an updated execution. Same result against UNC path to the target host.

Pardon my ignorance, I'm familiar with 'wusa.exe', is 'wsusa.exe' the same thing?

Preparing modules for first use.
   Default status description.
   [
   00:00:00 remaining.

   [DRL-48437L] PowerShell DSC resource discovery

Verbose output,

PS C:\Users\admin_acc> Get-KbUpdate -Name KB5016616 -ComputerName 'Domain_Computer2' -Architecture x84 | Save-KbUpdate -Path '\\Domain_Computer2\C$\Users\admin_acc\Downloads'


    Directory: \\Domain_Computer2\C$\Users\admin_acc\Downloads


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----         8/6/2022   4:49 PM      736153698 windows10.0-kb5016616-x64_94a65010a34b5bae2324c9433d1cae0b9d906d8c.msu
-a----         8/6/2022   4:49 PM      736153698 windows10.0-kb5016616-x64_94a65010a34b5bae2324c9433d1cae0b9d906d8c.msu
-a----         8/6/2022   4:49 PM      736153698 windows10.0-kb5016616-x64_94a65010a34b5bae2324c9433d1cae0b9d906d8c.msu


PS C:\Users\admin_acc> Install-KbUpdate -ComputerName Domain_Computer2 -FilePath 'C:\Users\admin_acc\Downloads\windows10.0-kb5016616-x6
4_94a65010a34b5bae2324c9433d1cae0b9d906d8c.msu' -Verbose
VERBOSE: [09:38:56][Install-KbUpdate] Processing Domain_Computer2
VERBOSE: [09:38:56][Install-KbUpdate] Adding Domain_Computer2 to PSDefaultParameterValues for Invoke-PSFCommand:ComputerName
VERBOSE: [09:38:56][Install-KbUpdate] Initializing remote session to Domain_Computer2 and also getting the remote home directory
VERBOSE: [09:38:56][Install-KbUpdate] Checking for home downloads directory
VERBOSE: [09:38:56][Install-KbUpdate] Copying xWindowsUpdate to Domain_Computer2 (remote to C:\Program
Files\WindowsPowerShell\Modules\xWindowsUpdate)
VERBOSE: [09:39:00][Install-KbUpdate] Adding xPSDesiredStateConfiguration to Domain_Computer2
VERBOSE: [09:39:00][Install-KbUpdate] Copying xPSDesiredStateConfiguration to Domain_Computer2 (remote)
VERBOSE: Performing the operation "Installing file from
C:\Users\admin_acc\Downloads\windows10.0-kb5016616-x64_94a65010a34b5bae2324c9433d1cae0b9d906d8c.msu" on target "Domain_Computer2".
VERBOSE: Loading module from path 'C:\Program
Files\WindowsPowerShell\Modules\xPSDesiredStateConfiguration\9.2.0\xPSDesiredStateConfiguration.psd1'.
VERBOSE: Populating RepositorySourceLocation property for module xPSDesiredStateConfiguration.
VERBOSE: Loading module from path 'C:\Program
Files\WindowsPowerShell\Modules\xPSDesiredStateConfiguration\9.2.0\Modules\DscPullServerSetup\DscPullServerSetup.psm1'.
VERBOSE: Loading module from path 'C:\Program
Files\WindowsPowerShell\Modules\xPSDesiredStateConfiguration\9.2.0\Modules\xPSDesiredStateConfiguration.Common\xPSDesiredStateConfigu
ration.Common.psm1'.
VERBOSE: Loading module from path 'C:\Program
Files\WindowsPowerShell\Modules\xPSDesiredStateConfiguration\9.2.0\Modules\DscResource.Common\0.10.3\DscResource.Common.psd1'.
VERBOSE: Loading module from path 'C:\Program
Files\WindowsPowerShell\Modules\xPSDesiredStateConfiguration\9.2.0\Modules\DscResource.Common\0.10.3\DscResource.Common.psm1'.
VERBOSE: Exporting function 'Test-DscObjectHasProperty'.
VERBOSE: Exporting function 'Test-DscPropertyState'.
VERBOSE: Exporting function 'Assert-BoundParameter'.
VERBOSE: Exporting function 'Assert-IPAddress'.
VERBOSE: Exporting function 'Assert-Module'.
VERBOSE: Exporting function 'Compare-DscParameterState'.
VERBOSE: Exporting function 'Compare-ResourcePropertyState'.
VERBOSE: Exporting function 'ConvertFrom-DscResourceInstance'.
VERBOSE: Exporting function 'ConvertTo-CimInstance'.
VERBOSE: Exporting function 'ConvertTo-HashTable'.
VERBOSE: Exporting function 'Get-ComputerName'.
VERBOSE: Exporting function 'Get-LocalizedData'.
VERBOSE: Exporting function 'Get-TemporaryFolder'.
VERBOSE: Exporting function 'New-InvalidArgumentException'.
VERBOSE: Exporting function 'New-InvalidDataException'.
VERBOSE: Exporting function 'New-InvalidOperationException'.
VERBOSE: Exporting function 'New-InvalidResultException'.
VERBOSE: Exporting function 'New-NotImplementedException'.
VERBOSE: Exporting function 'New-ObjectNotFoundException'.
VERBOSE: Exporting function 'Remove-CommonParameter'.
VERBOSE: Exporting function 'Set-DscMachineRebootRequired'.
VERBOSE: Exporting function 'Set-PSModulePath'.
VERBOSE: Exporting function 'Test-DscParameterState'.
VERBOSE: Exporting function 'Test-IsNanoServer'.
VERBOSE: Importing function 'Assert-BoundParameter'.
VERBOSE: Importing function 'Assert-IPAddress'.
VERBOSE: Importing function 'Assert-Module'.
VERBOSE: Importing function 'Compare-DscParameterState'.
VERBOSE: Importing function 'Compare-ResourcePropertyState'.
VERBOSE: Importing function 'ConvertFrom-DscResourceInstance'.
VERBOSE: Importing function 'ConvertTo-CimInstance'.
VERBOSE: Importing function 'ConvertTo-HashTable'.
VERBOSE: Importing function 'Get-ComputerName'.
VERBOSE: Importing function 'Get-LocalizedData'.
VERBOSE: Importing function 'Get-TemporaryFolder'.
VERBOSE: Importing function 'New-InvalidArgumentException'.
VERBOSE: Importing function 'New-InvalidDataException'.
VERBOSE: Importing function 'New-InvalidOperationException'.
VERBOSE: Importing function 'New-InvalidResultException'.
VERBOSE: Importing function 'New-NotImplementedException'.
VERBOSE: Importing function 'New-ObjectNotFoundException'.
VERBOSE: Importing function 'Remove-CommonParameter'.
VERBOSE: Importing function 'Set-DscMachineRebootRequired'.
VERBOSE: Importing function 'Set-PSModulePath'.
VERBOSE: Importing function 'Test-DscParameterState'.
VERBOSE: Importing function 'Test-IsNanoServer'.
VERBOSE: Exporting function 'Assert-BoundParameter'.
VERBOSE: Exporting function 'Assert-IPAddress'.
VERBOSE: Exporting function 'Assert-Module'.
VERBOSE: Exporting function 'Compare-DscParameterState'.
VERBOSE: Exporting function 'Compare-ResourcePropertyState'.
VERBOSE: Exporting function 'ConvertFrom-DscResourceInstance'.
VERBOSE: Exporting function 'ConvertTo-CimInstance'.
VERBOSE: Exporting function 'ConvertTo-HashTable'.
VERBOSE: Exporting function 'Get-ComputerName'.
VERBOSE: Exporting function 'Get-LocalizedData'.
VERBOSE: Exporting function 'Get-TemporaryFolder'.
VERBOSE: Exporting function 'New-InvalidArgumentException'.
VERBOSE: Exporting function 'New-InvalidDataException'.
VERBOSE: Exporting function 'New-InvalidOperationException'.
VERBOSE: Exporting function 'New-InvalidResultException'.
VERBOSE: Exporting function 'New-NotImplementedException'.
VERBOSE: Exporting function 'New-ObjectNotFoundException'.
VERBOSE: Exporting function 'Remove-CommonParameter'.
VERBOSE: Exporting function 'Set-DscMachineRebootRequired'.
VERBOSE: Exporting function 'Set-PSModulePath'.
VERBOSE: Exporting function 'Test-DscParameterState'.
VERBOSE: Exporting function 'Test-IsNanoServer'.
VERBOSE: Exporting function 'New-ResourceSetCommonParameterString'.
VERBOSE: Exporting function 'New-ResourceSetConfigurationString'.
VERBOSE: Exporting function 'New-ResourceSetConfigurationScriptBlock'.
VERBOSE: Importing function 'Assert-BoundParameter'.
VERBOSE: Importing function 'Assert-IPAddress'.
VERBOSE: Importing function 'Assert-Module'.
VERBOSE: Importing function 'Compare-DscParameterState'.
VERBOSE: Importing function 'Compare-ResourcePropertyState'.
VERBOSE: Importing function 'ConvertFrom-DscResourceInstance'.
VERBOSE: Importing function 'ConvertTo-CimInstance'.
VERBOSE: Importing function 'ConvertTo-HashTable'.
VERBOSE: Importing function 'Get-ComputerName'.
VERBOSE: Importing function 'Get-LocalizedData'.
VERBOSE: Importing function 'Get-TemporaryFolder'.
VERBOSE: Importing function 'New-InvalidArgumentException'.
VERBOSE: Importing function 'New-InvalidDataException'.
VERBOSE: Importing function 'New-InvalidOperationException'.
VERBOSE: Importing function 'New-InvalidResultException'.
VERBOSE: Importing function 'New-NotImplementedException'.
VERBOSE: Importing function 'New-ObjectNotFoundException'.
VERBOSE: Importing function 'New-ResourceSetCommonParameterString'.
VERBOSE: Importing function 'New-ResourceSetConfigurationScriptBlock'.
VERBOSE: Importing function 'New-ResourceSetConfigurationString'.
VERBOSE: Importing function 'Remove-CommonParameter'.
VERBOSE: Importing function 'Set-DscMachineRebootRequired'.
VERBOSE: Importing function 'Set-PSModulePath'.
VERBOSE: Importing function 'Test-DscParameterState'.
VERBOSE: Importing function 'Test-IsNanoServer'.
VERBOSE: Loading module from path 'C:\Program
Files\WindowsPowerShell\Modules\xPSDesiredStateConfiguration\9.2.0\Modules\DscResource.Common\0.10.3\DscResource.Common.psd1'.
VERBOSE: Importing function 'Assert-BoundParameter'.
VERBOSE: Importing function 'Assert-IPAddress'.
VERBOSE: Importing function 'Assert-Module'.
VERBOSE: Importing function 'Compare-DscParameterState'.
VERBOSE: Importing function 'Compare-ResourcePropertyState'.
VERBOSE: Importing function 'ConvertFrom-DscResourceInstance'.
VERBOSE: Importing function 'ConvertTo-CimInstance'.
VERBOSE: Importing function 'ConvertTo-HashTable'.
VERBOSE: Importing function 'Get-ComputerName'.
VERBOSE: Importing function 'Get-LocalizedData'.
VERBOSE: Importing function 'Get-TemporaryFolder'.
VERBOSE: Importing function 'New-InvalidArgumentException'.
VERBOSE: Importing function 'New-InvalidDataException'.
VERBOSE: Importing function 'New-InvalidOperationException'.
VERBOSE: Importing function 'New-InvalidResultException'.
VERBOSE: Importing function 'New-NotImplementedException'.
VERBOSE: Importing function 'New-ObjectNotFoundException'.
VERBOSE: Importing function 'Remove-CommonParameter'.
VERBOSE: Importing function 'Set-DscMachineRebootRequired'.
VERBOSE: Importing function 'Set-PSModulePath'.
VERBOSE: Importing function 'Test-DscParameterState'.
VERBOSE: Importing function 'Test-IsNanoServer'.
VERBOSE: Exporting function 'Assert-BoundParameter'.
VERBOSE: Exporting function 'Assert-IPAddress'.
VERBOSE: Exporting function 'Assert-Module'.
VERBOSE: Exporting function 'Compare-DscParameterState'.
VERBOSE: Exporting function 'Compare-ResourcePropertyState'.
VERBOSE: Exporting function 'ConvertFrom-DscResourceInstance'.
VERBOSE: Exporting function 'ConvertTo-CimInstance'.
VERBOSE: Exporting function 'ConvertTo-HashTable'.
VERBOSE: Exporting function 'Get-ComputerName'.
VERBOSE: Exporting function 'Get-LocalizedData'.
VERBOSE: Exporting function 'Get-TemporaryFolder'.
VERBOSE: Exporting function 'New-InvalidArgumentException'.
VERBOSE: Exporting function 'New-InvalidDataException'.
VERBOSE: Exporting function 'New-InvalidOperationException'.
VERBOSE: Exporting function 'New-InvalidResultException'.
VERBOSE: Exporting function 'New-NotImplementedException'.
VERBOSE: Exporting function 'New-ObjectNotFoundException'.
VERBOSE: Exporting function 'New-ResourceSetCommonParameterString'.
VERBOSE: Exporting function 'New-ResourceSetConfigurationScriptBlock'.
VERBOSE: Exporting function 'New-ResourceSetConfigurationString'.
VERBOSE: Exporting function 'Remove-CommonParameter'.
VERBOSE: Exporting function 'Set-DscMachineRebootRequired'.
VERBOSE: Exporting function 'Set-PSModulePath'.
VERBOSE: Exporting function 'Test-DscParameterState'.
VERBOSE: Exporting function 'Test-IsNanoServer'.
VERBOSE: Exporting function 'Publish-DscModuleAndMof'.
VERBOSE: Exporting function 'New-ZipFromPSModulePath'.
VERBOSE: Exporting function 'New-ZipFromSource'.
VERBOSE: Exporting function 'Publish-ModulesAndChecksum'.
VERBOSE: Exporting function 'Publish-MofsInSource'.
VERBOSE: Exporting function 'Write-LogEntry'.
VERBOSE: Exporting function 'Publish-ModuleToPullServer'.
VERBOSE: Exporting function 'Publish-MofToPullServer'.
VERBOSE: Importing function 'Publish-DscModuleAndMof'.
VERBOSE: Importing function 'Publish-ModulesAndChecksum'.
VERBOSE: Importing function 'Publish-ModuleToPullServer'.
VERBOSE: Importing function 'Publish-MofsInSource'.
VERBOSE: Importing function 'Publish-MofToPullServer'.
VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\xWindowsUpdate\3.0.0\xWindowsUpdate.psd1'.
VERBOSE: Populating RepositorySourceLocation property for module xWindowsUpdate.
VERBOSE: Exporting function 'Configuration'.
VERBOSE: Exporting function 'New-DscChecksum'.
VERBOSE: Exporting function 'Get-DscResource'.
VERBOSE: Exporting alias 'sacfg'.
VERBOSE: Exporting alias 'tcfg'.
VERBOSE: Exporting alias 'gcfg'.
VERBOSE: Exporting alias 'rtcfg'.
VERBOSE: Exporting alias 'glcm'.
VERBOSE: Exporting alias 'slcm'.
VERBOSE: Exporting alias 'pbcfg'.
VERBOSE: Exporting alias 'ulcm'.
VERBOSE: Exporting alias 'upcfg'.
VERBOSE: Exporting alias 'gcfgs'.
VERBOSE: Exporting function 'Get-DscConfiguration'.
VERBOSE: Exporting function 'Get-DscLocalConfigurationManager'.
VERBOSE: Exporting function 'Restore-DscConfiguration'.
VERBOSE: Exporting function 'Get-DscConfigurationStatus'.
VERBOSE: Exporting function 'Stop-DscConfiguration'.
VERBOSE: Exporting function 'Remove-DscConfigurationDocument'.
VERBOSE: Exporting function 'Disable-DscDebug'.
VERBOSE: Exporting function 'Enable-DscDebug'.
VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\xWindowsUpdate\3.0.0\xWindowsUpdate.psd1'.
VERBOSE: Populating RepositorySourceLocation property for module xWindowsUpdate.
VERBOSE: Installing KB5016616 from
C:\Users\admin_acc\Downloads\windows10.0-kb5016616-x64_94a65010a34b5bae2324c9433d1cae0b9d906d8c.msu
VERBOSE: Populating RepositorySourceLocation property for module xWindowsUpdate.
VERBOSE: Populating RepositorySourceLocation property for module xWindowsUpdate.
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = ResourceTest,'className' =
MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: An LCM method call arrived from computer Domain_Computer2 with user sid S-1-5-21-59184239-861362498-615583016-156018.
VERBOSE: [Domain_Computer2]: LCM:  [ Start  Test     ]  [[xHotfix]DirectResourceAccess]
VERBOSE: [Domain_Computer2]:                            [[xHotfix]DirectResourceAccess] Testing whether hotfix is Present.
VERBOSE: [Domain_Computer2]:                            [[xHotfix]DirectResourceAccess] Test-StandardArguments, Path was
C:\Users\admin_acc\Downloads\windows10.0-kb5016616-x64_94a65010a34b5bae2324c9433d1cae0b9d906d8c.msu.
VERBOSE: [Domain_Computer2]:                            [[xHotfix]DirectResourceAccess] The path extension was .msu.
VERBOSE: [Domain_Computer2]: LCM:  [ End    Test     ]  [[xHotfix]DirectResourceAccess] False in 0.9870 seconds.
VERBOSE: [Domain_Computer2]: LCM:  [ End    Set      ]    in  2.2080 seconds.
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Time taken for configuration job to complete is 2.86 seconds
VERBOSE: Populating RepositorySourceLocation property for module xWindowsUpdate.
VERBOSE: Populating RepositorySourceLocation property for module xWindowsUpdate.
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = ResourceSet,'className' =
MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: An LCM method call arrived from computer Domain_Computer2 with user sid S-1-5-21-59184239-861362498-615583016-156018.
VERBOSE: [Domain_Computer2]: LCM:  [ Start  Set      ]  [[xHotfix]DirectResourceAccess]
VERBOSE: [Domain_Computer2]:                            [[xHotfix]DirectResourceAccess] Log name hasn't been specified. Hotfix will use
the temporary log C:\WINDOWS\TEMP\tmpC81A.tmp.etl .
VERBOSE: [Domain_Computer2]:                            [[xHotfix]DirectResourceAccess] Test-StandardArguments, Path was
C:\Users\admin_acc\Downloads\windows10.0-kb5016616-x64_94a65010a34b5bae2324c9433d1cae0b9d906d8c.msu.
VERBOSE: [Domain_Computer2]:                            [[xHotfix]DirectResourceAccess] The path extension was .msu.
VERBOSE: [Domain_Computer2]:                            [[xHotfix]DirectResourceAccess] START Install using 'wsusa.exe'.
PS C:\Users\admin_acc> ^C

branpurn avatar Sep 15 '22 13:09 branpurn

Looks like I misunderstood what was going on, that "Preparing modules for first use" didn't affect install. (Just had to leave it sit for quite a while)

I'll do some more playing with it, but I think this is probably not an issue then!

VERBOSE: [Domain_Computer]:                            [[xHotfix]DirectResourceAccess] END Install using 'wsusa.exe'.
VERBOSE: [Domain_Computer]: LCM:  [ End    Set      ]  [[xHotfix]DirectResourceAccess]  in 4156.9760 seconds.
VERBOSE: [Domain_Computer]: LCM:  [ End    Set      ]    in  4157.2020 seconds.
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: [10:08:53][Install-KbUpdate] Serialized XML is nested too deeply. Forcing output.
VERBOSE: Perform operation 'Enumerate CimInstances' with following parameters, ''namespaceName' = root\cimv2,'className' = Win32_QuickFixEngineering'.
VERBOSE: Operation 'Enumerate CimInstances' complete.


ComputerName : Domain_Computer
Title        :
Status       : Install successful
FileName     : windows10.0-kb5016616-x64_94a65010a34b5bae2324c9433d1cae0b9d906d8c.msu
Id           : KB5016616



PS C:\Users\admin_acc>
PS C:\Users\admin_acc>
PS C:\Users\admin_acc> Enter-PSSession Domain_Computer
[Domain_Computer]: PS C:\Users\admin_acc\Documents> Get-HotFix -ID KB5016616

Source        Description      HotFixID      InstalledBy          InstalledOn
------        -----------      --------      -----------          -----------
Domain_Computer    Security Update  KB5016616     NT AUTHORITY\SYSTEM  9/15/2022 12:00:00 AM


[Domain_Computer]: PS C:\Users\admin_acc\Documents>

branpurn avatar Sep 15 '22 14:09 branpurn

I should also mention the one that came through successfully, I had tried to install from UNC path to the 'C:\src' directory with the access control for execution-- I did not wait to see the one in user profile's Downloads folder come through, I will give that a try as well.

branpurn avatar Sep 15 '22 14:09 branpurn

k this will be fixed in the next release, likely out today or tomorrow.

i made dsc shush (except for verbose) and then gave a progress bar to show it's not frozen

image

reference: https://twitter.com/cl/status/1571820426028003328

potatoqualitee avatar Sep 19 '22 11:09 potatoqualitee