# MOF not found in path error but physically exists

**URL:** <https://forums.powershell.org/t/mof-not-found-in-path-error-but-physically-exists/13221>\
**Category:** DSC\
**Created:** [September 30, 2019, 2:08pm UTC](https://forums.powershell.org/t/mof-not-found-in-path-error-but-physically-exists/13221 "2019-09-30T14:08:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![madams](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@madams](https://forums.powershell.org/u/madams)\
**Post date:** [September 30, 2019, 2:08pm UTC](https://forums.powershell.org/t/mof-not-found-in-path-error-but-physically-exists/13221/1 "2019-09-30T14:08:47Z")

</div>

I might be missing something (very) obvious:

I have a directory called “C:/DSC/Configurations” with all of my remote computer meta.mof’s and computername.mof’s (confirmed it’s not a localhost.mof)

I then have been running this command:

```
Start-DscConfiguration -Computername TestServer -path "C:\DSC\Configurations\" -force
```

and get the following error:

&nbsp;

Start-DscConfiguration : The computer-specific MOF file for computer TestServer does not exist in the current  
directory.

&nbsp;

Yet when I open windows explorer and navigate to the directory, it does in fact exist. I’ve tried running the script after cd’ing to the directory (no luck), using fqdn (no luck), and internet research (again no luck).

&nbsp;

---

<div class="post-metadata">

**Author:** ![aleksandr-kirilin1](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/aleksandr-kirilin1/32/4_2.png) [@aleksandr-kirilin1](https://forums.powershell.org/u/aleksandr-kirilin1)\
**Post date:** [September 30, 2019, 2:20pm UTC](https://forums.powershell.org/t/mof-not-found-in-path-error-but-physically-exists/13221/2 "2019-09-30T14:20:49Z")

</div>

Is this a new project? Maybe this is something as simple as unhiding file extensions (ie, TestServer.mof.txt)…  
Have you tried specifying a full path as in -path “C:\DSC\Configurations\TestServer.mof”?

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 9:16pm UTC](https://forums.powershell.org/t/mof-not-found-in-path-error-but-physically-exists/13221/3 "2024-05-16T21:16:21Z")

</div>


