Termservice ошибка 126

  • Для скачивания ресурсов Форума пользователь должен написать не менее 5 полезных сообщений и получить 5 симпатий.
    Если Вы не хотите выполнять условия, Вы должны купить переход в группу «Работяга» и сможете скачивать ресурсы, перевод происходит по email, который указывается при оплате.

baltun


  • #1

Итак решение вопроса было такое, проверяем ветку в реестре:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService\Parameters

Параметр ServiceDll должен иметь параметр:

%SystemRoot%\system32\termsrv.dll

В нашем случае было:

%ProgramFiles%\RDP Wrapper\rdpwrap.dll

После изменения параметра запускаем службу удаленных рабочих столов и переустанавливаем RDP Wrapper Library.
Причина такого поведения в нашем случае был встроенный антивирус, который удалил файл rdpwrap.dll и служба не могла запустится, после добавления в исключения папки RDP Wrapper и возврата параметра по умолчанию все стало работать, если служба удаленных рабочих столов выключена RDP Wrapper Library не может корректно установится и создать файл rdpwrap.dll в этом причина сломанной службы о чем windows честно и пишет не найден указанный модуль rdpwrap.dll.

  • На данном сайте используются cookie-файлы, чтобы персонализировать контент и сохранить Ваш вход в систему, если Вы зарегистрируетесь.
    Продолжая использовать этот сайт, Вы соглашаетесь на использование наших cookie-файлов.

When you attempt to start the Remote Desktop Services (“TermService”) service, Error 126 may occur. Here’s the complete error message:

Windows could not start the Remote Desktop Services service on Local Computer.

Error 126: The specified module could not be found.

remote desktop service error 126

Cause

The error occurs if the file termsrv.dll is missing or corrupted. Another reason could be that the Remote Desktop Services ServiceDLL may be pointing to a third-party module, such as “%ProgramFiles%\RDP Wrapper\rdpwrap.dll” (“RDP Wrapper.”)

Resolution

To resolve the Remote Desktop Services (“TermService”) service error 126, follow these steps:

  1. Open Regedit.exe and go to:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService\Parameters
  2. Double-click ServiceDll
  3. Set its data to %SystemRoot%\System32\termsrv.dll
    (Also, ensure that the value type is REG_EXPAND_SZ instead of REG_SZ.)

    remote desktop service error 126

  4. Exit the Registry Editor.

Check if termsrv.dll exists

Additionally, make sure that the module termsrv.dll exists in the C:\Windows\System32 directory.

You may check the integrity of the file by running the following command from an elevated Command Prompt:

sfc /scanfile=C:\Windows\System32\termsrv.dll

If the above file is missing and Sfc is unable to repair it, run the Dism command. Alternatively, you can restore the missing file from WinBIndex.

One of the above steps should take care of the issue.


One small request: If you liked this post, please share this?

One «tiny» share from you would seriously help a lot with the growth of this blog.
Some great suggestions:

  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!

So thank you so much for your support. It won’t take more than 10 seconds of your time. The share buttons are right below. :)


Ramesh Srinivasan is passionate about Microsoft technologies and he has been a consecutive ten-time recipient of the Microsoft Most Valuable Professional award in the Windows Shell/Desktop Experience category, from 2003 to 2012. He loves to troubleshoot and write about Windows.
Ramesh founded Winhelponline.com in 2005.

  • Question

  • Question.

    Service error message:

    1、Remote Desktop Services

    Error 126: The specified module cannot be found

    2、Remote Desktop Services UserMode Port Redirector

    Error 1068: Dependent service or group fails to start

All replies

  • Hi,
    You can try the following steps to check if the issue gets resolved.

     

    1.Restart the Windows Modules Installer service.
    a)Press «Windows key + R», type «services.msc» and press Enter.
    b)Look for the «Remote Desktop Services»and Stop it. Then Start the service.
    c)Restart the computer and check if the issue get resolved.

    2.Run a system file checker scan and check if that helps
    a)Type «Command Prompt»in the search box and run as administrator to bring up elevated command prompt. Note: Click ‘Yes’ if it prompts for permission.
    c)In the command prompt type in the following command: ‘sfc /scannow’

     

    If a Windows Resource Protection (WRP) file is missing or is corrupted, Windows may not behave as expected. For example, some Windows functions may not work, or Windows may crash. The System File Checker tool (SFC.exe) scans for missing or corrupted system
    files and repairs them.

     Hope that be helpful for you!

    Best Regards,

    Yvonne


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact
    tnmff@microsoft.com.

  • Hi

    I have found other solutions.

    Thank you for your reply.

  •  Good to hear it resolved.

     Would you mind share your solutions for other user’s reference incase of the same problem?

    Best Regards,

    Yvonne


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact
    tnmff@microsoft.com.

  •  Would you mind share your solutions for other user’s reference incase of the same problem?

    Best Regards,

    Yvonne


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact
    tnmff@microsoft.com.

  • Modify the registration list

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TermService\Parameters\

    ServiceDLL , %SystemRoot%\system32\themeservice.dll

    changed:%SystemRoot%\System32\termsrv.dll

    • Edited by

      Tuesday, July 14, 2020 5:29 AM

    • Proposed as answer by
      Yvonne Yang様
      Friday, July 31, 2020 7:52 AM

  • Question

  • Question.

    Service error message:

    1、Remote Desktop Services

    Error 126: The specified module cannot be found

    2、Remote Desktop Services UserMode Port Redirector

    Error 1068: Dependent service or group fails to start

All replies

  • Hi,
    You can try the following steps to check if the issue gets resolved.

     

    1.Restart the Windows Modules Installer service.
    a)Press «Windows key + R», type «services.msc» and press Enter.
    b)Look for the «Remote Desktop Services»and Stop it. Then Start the service.
    c)Restart the computer and check if the issue get resolved.

    2.Run a system file checker scan and check if that helps
    a)Type «Command Prompt»in the search box and run as administrator to bring up elevated command prompt. Note: Click ‘Yes’ if it prompts for permission.
    c)In the command prompt type in the following command: ‘sfc /scannow’

     

    If a Windows Resource Protection (WRP) file is missing or is corrupted, Windows may not behave as expected. For example, some Windows functions may not work, or Windows may crash. The System File Checker tool (SFC.exe) scans for missing or corrupted system
    files and repairs them.

     Hope that be helpful for you!

    Best Regards,

    Yvonne


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact
    tnmff@microsoft.com.

  • Hi

    I have found other solutions.

    Thank you for your reply.

  •  Good to hear it resolved.

     Would you mind share your solutions for other user’s reference incase of the same problem?

    Best Regards,

    Yvonne


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact
    tnmff@microsoft.com.

  •  Would you mind share your solutions for other user’s reference incase of the same problem?

    Best Regards,

    Yvonne


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact
    tnmff@microsoft.com.

  • Modify the registration list

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TermService\Parameters\

    ServiceDLL , %SystemRoot%\system32\themeservice.dll

    changed:%SystemRoot%\System32\termsrv.dll

    • Edited by

      Tuesday, July 14, 2020 5:29 AM

    • Proposed as answer by
      Yvonne Yang様
      Friday, July 31, 2020 7:52 AM

by


·

Published
· Updated

Windows 10 slow

Trying to establish a remote desktop connection but remote desktop services not working? Getting error 126 every time you try to connect? Well, error 126 is a common problem that users face when Windows is unable to process some important settings correctly. These settings are usually required for loading up a specific service. That’s exactly the case with remote desktop services error 126. If there is a file missing and Windows can’t process the settings required, it won’t be able to run remote desktop and will throw error 126. 

So, what’s the solution? If you want to make sure the problem doesn’t persist and remote desktop services remain available on your computer, you must repair the settings causing the problem. Here are a few quick options you can try for that. 

A Quick Fix: Temporarily Disable Your Antivirus

Yes, this is the simplest option to try and get rid of the remote desktop services error 126. Follow the steps below and see if you are able to get everything back to normal. 

  1. Temporarily disable your antivirus for only a few minutes. 
  2. Uninstall the service that is not working. 
  3. Reinstall it before giving it another try. 
  4. Run it again, with your antivirus protection still disabled. 
  5. If it runs without a glitch now, add an exception within the antivirus software for the associated files.  

It is common for antivirus programs to quarantine or delete certain files, DLLs, or patches associated with different programs, apps, or games. So, adding an exception for your desired services should fix the problem, and the antivirus engines won’t misinterpret those important files anymore. 

What Else Can You Do About It? 

You can try a couple of other fixes for remote desktop services error 126. Let’s check out!

Install/Update Microsoft .NET Framework

As mentioned earlier, it is common for Windows to present you with error code 126 when a dynamic link library (DLL) is missing. You can fix that error by installing/updating your Microsoft .Net Framework to the latest version available. Besides, you should also update the Microsoft Visual C++Redistributable.  Here’s how to do that. 

  1. Download the latest versions of Microsoft .Net Framework and Microsoft Visual C++ Redistributable and install them on your computer. 
  2. Restart your computer once the installation is complete. 
  3. Try starting your remote desktop connection once again to see if the issue has been resolved. 

Install Available Windows Update

When you don’t regularly install Windows updates, you end up facing issues like remote desktop services error 126. So, all you need to do is install available Windows updates and resolve the issue you are facing. To do this, follow the steps below: 

  1. Open the Windows menu on your Windows 10 computer 
  2. Type ‘Check for updates’ in the search bar 
  3. Hit the Enter key 
  4. Click ‘Check for updates’ on the Windows Update page
  5. Install available updates 

Once done, restart your computer and try to launch Remote Desktop services. Your problem should be resolved by now. 

With these simple fixes applied, you should not get remote desktop services error 126. Try them now and enjoy your remote desktop connection.

Понравилась статья? Поделить с друзьями:
  • Termservdevices код ошибки 1111
  • Telegram внутренняя ошибка сервера
  • Telegram ошибка 400
  • Telegram android ошибка
  • Tele2 ошибка сим карты