Error 126 could not find the specified module

Matheus Lang 1 Reputation point
2022-02-21T18:17:50.867+00:00

Hey guys

I'm having this problem while starting the remote desktop service on a windows 2012 R2 server.

This server needs this service because it uses remote connections via CAL licenses

But so far we have not been able to activate the service. Error 126 occurs.

I just follow a many tutors on internet, but none can help me

**The image of erros is on Portuguese

176551-whatsapp-image-2022-02-21-at-145606.jpeg

Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,526 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,108 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,234 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 39,341 Reputation points
    2022-02-28T19:30:37.55+00:00

    Hello @Matheus Lang

    I would be helpful if you could relate the actions that you have completed trying to repair the issue, as this will help the community to not repeat specific troubleshooting.

    As a holistic approach, I would recommend:

    Since the error is related to a Module, this means that you may be lacking some of the next features or the version is not correct:

    Also, please ensure that there is no GPO that may be disabling Remote Desktop Services by default. You can run the next command to view all applied policies to this computer in the output.html file:
    GPRESULT /H OUTPUT.HTML

    Hope this helps with your query,

    ---------------

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

  2. MotoX80 31,571 Reputation points
    2022-02-28T21:18:35.557+00:00

    Download and run Process Monitor and trace the service startup.

    https://learn.microsoft.com/en-us/sysinternals/downloads/procmon

    You should see svchost.exe searching in all of the directories that you have defined in your system path looking for some file.

    Also look for "Access denied" errors on file reads.

    0 comments No comments