Folder is being created at each startup by cmd. Would like to stop it  

  1. Posts : 10
    Microsoft Windows 10 Pro / 10.0.19044 Build 19044

    Folder is being created at each startup by cmd. Would like to stop it


    I've recently done a clean reinstall of Win 10 Pro.

    As I run the OS on a small SSD and store files and programs on a larger HDD, one of the changes I've made was to move "C:\Users" to "D:\Users", and then create the nessesary junction on the C drive. Additionally, user folders (documents, download, etc), are located in "D:\User Data". I'm mentioning these as I think it may be related to my problem.

    Anyway. The problem is, on each startup, an empty folder "D:\User" (Note - not the users or ​user data folder) is being created by cmd.exe. Here is the process monitor boot log:

    00:52:24.7024944 cmd.exe 6696 CreateFile D:\User SUCCESS
    00:52:24.7025931 cmd.exe 6696 CloseFile D:\User SUCCESS
    00:52:24.8838137 cmd.exe 6744 CreateFile D:\User NAME COLLISION

    I've made sure no startup programs are causing this (by booting up with all startup programs disabled).

    Is there any way to find out why the folder is being created, and how I can stop it from happening?

    Thanks in advance!

    (I know it is an awfully minor issue, but I really like having a very ordered and structured file layout on my HDD. Having a random folder present for no reason really bugs me.)
    Last edited by Danni111111; 23 Dec 2016 at 21:13.
      My Computer

  2. Posts : 29,384
    Windows 10 Pro x64 Version 22H2

    If you think the way you moved the files may be causing the issue please reference Kari's tutorial to see how closely your process matches his.
      My Computer


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 04:29.
Find Us

Windows 10 Forums