Case of the Broken ‘DIR /s’ on Network Drives in Windows 8

On Windows 8 Consumer Preview I’ve been noticing the following cmd:

dir *.* /s

Works fine on local subdirectories, but not reliably on network drives, only scans the current directory, despite the /s

You can see the broken example here, as I’m on a network drive:


Where as from a Windows 7 machine (mapped as same user):


ProcMon showed the following error on Windows 8 machine not working:


On the file server (in this case Win7 x64 SP1 machine) I found the following problem:


I ended up deleting this folder, and dir /s still failed. Through ProcMon found more paths getting “Network Error”

Once they were removed (or presumably permissions fixed)


I then had a working dir /s again!


If I have time I will investigate further on what change cause this issue.

About chentiangemalc

specializes in end-user computing technologies. disclaimer 1) use at your own risk. test any solution in your environment. if you do not understand the impact/consequences of what you're doing please stop, and ask advice from somebody who does. 2) views are my own at the time of posting and do not necessarily represent my current view or the view of my employer and family members/relatives. 3) over the years Microsoft/Citrix/VMWare have given me a few free shirts, pens, paper notebooks/etc. despite these gifts i will try to remain unbiased.
This entry was posted in ProcMon, Windows 8 and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s