Windows Application Log: Persistent errors BINLSVC 1284

8,656

It sounds like what you need to do is to recreate your RemoteInstall folder. This will regenerate the boot files and the required directories while providing a working default configuration.


How to rebuild the RemoteInstall folder:

You can rebuild the RemoteInstall folder by doing the following:

  1. Remove WDS role from the server.

Remove the WDS role Removed

  1. Remove the folder share on your current RemoteInstall folder.

Remove file share

If you do not unshare the folder, you will get the following error:

File share already exists

So, don't forget to remove the folder share before you configure the server!

  1. Rename (incase you need some of the images files still) or remove the folder.

Rename folder

  1. Install the WDS role back to the server.

Install WDS server role

Role installed

  1. Configure the server.

After the server configuration has completed you will have a new RemoteInstall folder. Here is the output of a server 2016 RemoteInstall folder right after the configuration of the WDS role on the Server.

Folder layout


Tl;Dr:

  • Remove the WDS role
  • Unshare the current RemoteInstall share.
  • Install WDS role back to server.
  • Configure the server.
  • Profit!

Links:

Share:
8,656

Related videos on Youtube

InteXX
Author by

InteXX

I don't downvote.

Updated on September 18, 2022

Comments

  • InteXX
    InteXX almost 2 years

    This is WSE 2016 with the Client Restore Service enabled.

    We're getting persistent errors in our single DC's event log:

    enter image description here

    I found this related documentation:

    https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc726671(v=ws.10)

    It provides some guidance, but it stops short of explaining what to do if the command output does NOT contain entries for each of our boot images.

    We have this for two of our architectures:

    C:\>bcdedit.exe /store C:\RemoteInstall\Boot\x64uefi\default.bcd /enum
    
    Windows Boot Manager
    --------------------
    identifier              {bootmgr}
    path                    \Boot\x64\bootmgfw.efi
    fontpath                \boot\fonts
    inherit                 {dbgsettings}
    bootems                 Yes
    timeout                 30
    
    C:\>bcdedit.exe /store C:\RemoteInstall\Boot\x86uefi\default.bcd /enum
    
    Windows Boot Manager
    --------------------
    identifier              {bootmgr}
    path                    \Boot\x86\bootmgfw.efi
    fontpath                \boot\fonts
    inherit                 {dbgsettings}
    bootems                 Yes
    timeout                 30
    

    But this for the other two:

    C:\>bcdedit.exe /store C:\RemoteInstall\Boot\x64\default.bcd /enum
    
    Windows Boot Manager
    --------------------
    identifier              {bootmgr}
    fontpath                \boot\fonts
    inherit                 {dbgsettings}
    timeout                 30
    
    C:\>bcdedit.exe /store C:\RemoteInstall\Boot\x86\default.bcd /enum
    
    Windows Boot Manager
    --------------------
    identifier              {bootmgr}
    fontpath                \boot\fonts
    inherit                 {dbgsettings}
    timeout                 30
    

    As we can see, the second set contains no boot image entries. I believe this to be the source of our errors, but I'm not sure how to proceed.

    What should I do to create these entries?

    • Elliot Huffman
      Elliot Huffman about 6 years
      I missed where the boot images were in your bcd readout. All I saw was the bootmgr settings. Can you post your full readout?
    • Elliot Huffman
      Elliot Huffman about 6 years
      Something that I do is completely rebuild the remoteinstall folder when I have wierd errors. I also use the default folder layout.
    • InteXX
      InteXX about 6 years
      @ElliotLabs—I missed where the boot images were I'm not sure I follow you. What I've posted is the full output of the bcdedit command. Could you clarify?
    • InteXX
      InteXX about 6 years
      @ElliotLabs—completely rebuild the remoteinstall folder Say, I like that idea. How do you do it?
    • InteXX
      InteXX about 6 years
      @ElliotLabs—completely rebuild the remoteinstall folder If you can explain this in an answer, I'd like to try it with hopes of accepting it.
    • Elliot Huffman
      Elliot Huffman about 6 years
      Sorry, I have been busy rebuilding my cloud infrastructure. I will post it as soon as possible.
  • InteXX
    InteXX about 6 years
    Profit is not a dirty word :-) This looks good, although I'm a bit concerned. My WDS role was originally installed and configured by the Server Essentials wizard. I don't know if this is going to muck with that. I'll set a checkpoint just in case.
  • Elliot Huffman
    Elliot Huffman about 6 years
    I used RSAT for all of this. You should have all of these options available to you if you use that.
  • InteXX
    InteXX about 6 years
    WSE shoves a 'user-friendly' UI shim into the works, so that you often don't get full functionality if you use the native tools rather than the wizard. So for this reason I'm hesitant to use RSAT. But I should be OK with the checkpoint backing me up.
  • Elliot Huffman
    Elliot Huffman about 6 years
    The above screenshots were taken on data center Edition. If you have the WDS roll available to you then you should have full functionality with it on your specific SKU.
  • InteXX
    InteXX about 6 years
    Pardon me, I meant to say 'full functionality via the WSE GUI.' With some stuff, if you configure it using lower-level native tools it becomes unavailable for management via the WSE GUI. And then you get nasties in your daily health report. So to keep everything clean you have to do your configurations with the wizards. WSE has its upsides and its downsides. This is one of its downsides.
  • Elliot Huffman
    Elliot Huffman almost 6 years
    @InteXX Were you able to uninstall and reinstall the WDS service to get it working?
  • InteXX
    InteXX almost 6 years
    Not yet... I'm presently under siege :-)
  • InteXX
    InteXX almost 6 years
    I haven't had time to try this, but meanwhile I've discovered something interesting. I filtered the Application Event Log by the BINLSVC source and found that for each 1812 error there's a corresponding 1813 success, approx. 15 minutes later. The BINLSVC query gets refused the first try but is allowed through on the second. I'm not sure what to make of this, but I accepted your answer because I don't want to hold you up anymore. It's clearly the answer to my question from the comments, and apparently it's worked for you many times. So I have every expectation that it'd work for me. Thanks.