Bootwiz continuously runs on NBS server
search cancel

Bootwiz continuously runs on NBS server

book

Article ID: 223367

calendar_today

Updated On:

Products

Deployment Solution

Issue/Introduction

Bootwiz continuously runs on NBS server after rebuilding PXE config.

The bootwiz.log from the same NBS server shows repeated errors similar to the following:

2021/08/29 14:32:19 I: ....... Folder delete failed for folder (C:\Windows\Temp\~bootwiz\00000c30\image\Windows\WinSxS\x86_microsoft-windows-wincredui.resources_31bf3856ad364e35_10.0.19041.1_en-us_05c3b491e7d411e4) with error code: 145
2021/08/29 14:32:19 I: ....... File delete for file (wincredui.dll) returned - 1168 with file attributes of 1536
2021/08/29 14:32:19 I: ....... Retrying the delete for file (wincredui.dll) - This file now has attributes of 1536
2021/08/29 14:32:19 I: ....... File delete for file (wincredui.dll) returned - 1168 with file attributes of 1536
2021/08/29 14:32:39 I: ....... Folder delete failed for folder (C:\Windows\Temp\~bootwiz\00000c30\image\Windows\WinSxS\x86_microsoft-windows-wincredui_31bf3856ad364e35_10.0.19041.1_none_4ac726a7e2a8771d) with error code: 145
2021/08/29 14:32:39 I: ....... File delete for file (Windows.Storage.OneCore.dll) returned - 1168 with file attributes of 1536
2021/08/29 14:32:39 I: ....... Retrying the delete for file (Windows.Storage.OneCore.dll) - This file now has attributes of 1536
2021/08/29 14:32:39 I: ....... File delete for file (Windows.Storage.OneCore.dll) returned - 1168 with file attributes of 1536
2021/08/29 14:32:59 I: ....... Folder delete failed for folder (C:\Windows\Temp\~bootwiz\00000c30\image\Windows\WinSxS\x86_microsoft-windows-windowsstorage-onecore_31bf3856ad364e35_10.0.19041.1_none_e1713e91a643a515) with error code: 145
2021/08/29 14:32:59 I: ....... File delete for file (wininit.exe.mui) returned - 1168 with file attributes of 1536
2021/08/29 14:32:59 I: ....... Retrying the delete for file (wininit.exe.mui) - This file now has attributes of 1536
2021/08/29 14:32:59 I: ....... File delete for file (wininit.exe.mui) returned - 1168 with file attributes of 1536
2021/08/29 14:33:19 I: ....... Folder delete failed for folder (C:\Windows\Temp\~bootwiz\00000c30\image\Windows\WinSxS\x86_microsoft-windows-wininit.resources_31bf3856ad364e35_10.0.19041.1_en-us_9f3802c5f1875aec) with error code: 145

Environment

Deployment Solution all versions

Cause

In at least one case, the appid/service account didn't have rights on C:\Windows\Temp or the same directory was completely full

Resolution

On the NBS server, stop NBS/PXE services

End the bootwiz process in Windows Task Manager if still running

Delete (or backup then delete) the contents of C:\Windows\Temp.

If Windows errors are noticed, resolve environmental issues preventing deletion of these files. NBS/PXE services may need to be stopped prior to this step.

Start NBS/PXE services

Rebuild PXE config from the console or NBS server agent.