mandiant / commando-vm

Complete Mandiant Offensive VM (Commando VM), a fully customizable Windows-based pentesting virtual machine distribution. commandovm@mandiant.com
https://www.mandiant.com/resources/blog/commando-vm-windows-offensive-distribution
Apache License 2.0
6.88k stars 1.28k forks source link

BUG - Packages requiring reboot: - myinstaller (exit code 3010) #203

Closed kiraitachi closed 3 years ago

kiraitachi commented 3 years ago

Describe the bug and expected behavior During the install procedure it gets stuck in thsi phase, after each reboot same error occurs. Impossible to go furter. To Reproduce Just going through normal install procedure.

Attached Logs Chocolatey installed 1/1 packages. 0 packages failed. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Packages requiring reboot:

The recent package changes indicate a reboot is necessary. Please reboot at your earliest convenience. Sending message 'PostRunMessage' out if there are subscribers... [2021-04-17T23:42:41.3993809+02:00:::PID 10912] Boxstarter: restoring current directory location to C:\Windows\system32 [2021-04-17T23:42:41.4013755+02:00:::PID 10912] Boxstarter: found C:\Users\kirai\AppData\Local\Boxstarter\Boxstarter.10912.restart we are restarting [2021-04-17T23:42:41.4023727+02:00:::PID 10912] Boxstarter: found C:\Users\kirai\AppData\Local\Boxstarter\Boxstarter.10912.restart we are restarting [2021-04-17T23:42:41.4153345+02:00:::PID 10912] Boxstarter: Exit Code: 3010 [2021-04-17T23:42:41.4660522+02:00:::PID 10912] Boxstarter: There was an error calling Chocolatey [2021-04-17T23:42:41.4680472+02:00:::PID 10912] Boxstarter: Error from Chocolatey:

Message : Chocolatey reported an unsuccessful exit code of 3010. See C:\Users\kirai\AppData\Local\Boxstarter\boxstarter.log for details. Data : {} InnerException : TargetSite : StackTrace : HelpLink : Source : HResult : -2146233087

[2021-04-17T23:42:41.4690446+02:00:::PID 10912] Boxstarter: Error from Chocolatey:

Message : Chocolatey reported an unsuccessful exit code of 3010. See C:\Users\kirai\AppData\Local\Boxstarter\boxstarter.log for details. Data : {} InnerException : TargetSite : StackTrace : HelpLink : Source : HResult : -2146233087

[2021-04-17T23:42:41.4778997+02:00:::PID 10912] Boxstarter: Chocolatey install returned a rebootable exit code (3010) [2021-04-17T23:42:41.4838767+02:00:::PID 10912] ++ Boxstarter finished Calling Chocolatey to install MyInstaller. This may take several minutes to complete... 00:00:28.6378817 [2021-04-17T23:42:41.4848762+02:00:::PID 10912] ++ Boxstarter finished Calling Chocolatey to install MyInstaller. This may take several minutes to complete... 00:00:28.6378817 [2021-04-17T23:42:41.4948415+02:00:::PID 10912] Boxstarter: Removing C:\ProgramData\chocolatey\lib\MyInstaller in progress [2021-04-17T23:42:41.5017972+02:00:::PID 10912] Boxstarter: writing restart file [2021-04-17T23:42:41.5027957+02:00:::PID 10912] Boxstarter: writing restart file [2021-04-17T23:42:42.0711443+02:00:::PID 10912] Boxstarter: Restore Automatic Updates from Windows Update [2021-04-17T23:42:42.1030431+02:00:::PID 10912] Boxstarter: Enabling UAC [2021-04-17T23:42:42.1239902+02:00:::PID 10912] Boxstarter: UAC Enabled. Disabling... [2021-04-17T23:42:42.1329636+02:00:::PID 10912] Boxstarter: Disabling UAC [2021-04-17T23:42:42.1499339+02:00:::PID 10912] + Boxstarter finished Installation session. 00:00:30.3718920 [2021-04-17T23:42:42.1509163+02:00:::PID 10912] Boxstarter: Restart Required. Restarting now...

Version Windows 10 20H2 19042 Compilation.

arty-hlr commented 3 years ago

Same issue here with 19042, I've been trying the whole day.

TheD3C4Y commented 3 years ago

same issue here tested with 1809 1903 1909 20H1 20H2 21H1 21H2. Seems like a Boxstarter Update broke something

elc0rr3Km1n0s commented 3 years ago

Same here tested with 2004.

day1player commented 3 years ago

fixed with june update #262