I needed to help diagnose a client computer and I needed the dfsutil.exe
tool, this tool is only available in the RSAT package. Usually no problems, just install it. But this time I needed to run dfsutil.exe
without installing it on the client. So I copied the executable file and tried to run it.. Well.. This is what happened:
C:\Users\Administrator>Desktop\dfsutil.exe
Root Link Target Property
Client Server Diag Domain
Cache
C:\Users\Administrator>
That doesn’t look like it should. There is something missing, and no error message either. So I checked the binary from another language server, they were the same.. So the language is not in the file? Wait Windows has support for multiple languages. I’m missing the language and strings part. So where to find that part. Under the %Windir%\system32
directory there exists a en-us
directory, and if I look in there I find a dfsutil.exe.mui
file. When I copy that file to a directory named en-us
at the same level as the dfsutil.exe
binary it works.
TL;DR;
If you copy a windows executable file, dont forget to copy the localization file (mui).