Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm trying to follow the instructions in, but my powershell script keeps throwing exceptions. It refers to a FileNotFoundException...but I can't figure out which file it can't find.

Does anyone have any hands on experience with this?

C:\Program Files\Windows Server\Bin>powershell .\ConfigureRDP.ps1
Exception calling "RunTasks" with "2" argument(s): "IWorkerConfig.dll"
At C:\Program Files\Windows Server\Bin\ConfigureRDP.ps1:3 char:1
+ $scheduler.RunTasks("ConfigureRDPTaskList", "ConfigureRDPTaskStatus.xml") | out- ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : FileNotFoundException

The configuration is complete. Check file "  " for result.

C:\Program Files\Windows Server\Bin>
share|improve this question
Is "ConfigureRDPTaskStatus.xml" in the same directory where you running ConfigureRDP.ps1? – John Siu Dec 13 '12 at 20:45
Hi, I think that file should be created. According to the documentation (the KB article), it should contain the result of the RunTasks command. I do suspect it is the IWorkerConfig.dll...its not in The file IWorkerConfig.dll is not in the C:\Program Files\Windows Server\Bin. – sbrattla Dec 13 '12 at 20:46
I think you are right. The script needs to be run from within the directory where IWorkerConfig.dll exists. – Mark Dec 13 '12 at 21:31
Hmmm...but where is the IWorkerConfig.dll file located then? – sbrattla Dec 14 '12 at 7:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.