Getting dfsutil for current versions Windows 10?
Asked Answered
W

2

5

dfsutil is useful on workstations for checking what's going on with the DFS shares that the client is subscribed to, e.g. by running dfsutil /pktinfo.

For Windows 10 pre-October 2018 dfsutil can be downloaded as part of RSAT Tools for Windows 10, but how do I get dfsutil for current versions of Windows 10?

Wooded answered 18/6, 2020 at 11:7 Comment(1)
It's worth noting that right-clicking on a share, selecting 'Properties' and looking at the DFS tab is a much more cheap-and-cheerful option to get some useful information.Wooded
W
7

The RSAT Tools download page gives a link to the list of RSAT tools available via Features on Demand in newer versions of Windows 10, however there are about 20 different RSAT features which you can download, and nothing in that page clearly says which one you need for dfsutil.

So, the full answer is:

  • Open Windows 10 settings
  • Search for 'Manage optional features'
  • Click on 'Add a feature'
  • Choose the package 'RSAT: File Services Tools' and click 'Install'
  • Depending on the precise version of Windows 10, you will either see the package installing immediately, or if not you will need to click back once to see installation progress
  • Wait to see the package finish installing

That's it, dfsutil is now available from Command Prompt and PowerShell; no reboot is needed.

Wooded answered 18/6, 2020 at 11:14 Comment(0)
H
1

You can add the optional feature with this PowerShell (admin) command:

Add-WindowsCapability -Online -Name "Rsat.FileServices.Tools~~~~0.0.1.0"

This will install dfsutil and also the DFS management console (dfsmgmt.msc)

Housecarl answered 20/6, 2020 at 1:31 Comment(1)
That's a useful answer, thanks! What is the meaning of the number at the end of the string, ~~~~0.0.1.0? From a quick Google all the examples seem to include it, but from a quick test the command seems to run fine without it, Add-WindowsCapability -Online -Name "Rsat.FileServices.Tools".Wooded

© 2022 - 2024 — McMap. All rights reserved.