Windows 7 – Phantom Hard Drive After WDS Deployment

deploymenthard drivewdswindows 7windows-explorer

Receiving a new batch of PCs prompted us to recapture our WDS image for our on-site Windows 7 machines. Rolled into the new image (i.e. the only changes that have been made since the previous version of the image) was the suite of drivers, Adobe Reader upgraded from 9.13 to 10.0 and the exclusion of Microsoft Access.

When we deploy this image to a PC we now get two hard drives appearing in Explorer.

Windows 7 Explorer

This second disk, when viewing the properties, is an exact clone of the "real" hard drive (these machines only have one installed). This phantom drive is full of what looks like temp/log/cache files.

Windows 7 Explorer - Z Drive

Edit: Disk Management shows only one disk assigned one drive letter.

Windows 7 Explorer - Disk Management

We have tried uninstalling Adobe after deployment, but the problem persists. Is there any way to remove this drive (so our users don't try storing documents in there thinking they have a second drive installed)?

Best Answer

Open a command-prompt (cmd.exe) and run subst; you should see something like the following:

C:\>subst
Z:\: => C:\Users\JOSHUAK\AppData\Local\Temp

C:\>

It means that the drive letter ā€˜Zā€™ is mapped to your temp directory (it might be the system temp directory C:\Windows\Temp instead of your user temp directory C:\Users\JOSHUAK\AppData\Local\Temp).

You can delete the mapping as follows.

C:\subst z: /d

Your next task is to figure out where the mapping is being done. Try a tool like Autoruns.

Related Question