cannot create a file on c drive


  1. Posts : 65
    Windows 10
       #1

    cannot create a file on c drive


    Hi,

    Anywhere on the c drive, I cannot create files.
    I can only create folders.

    How can I change this ?

    Where in Windows 10 can I set myself as the power user ?
      My Computer


  2. Posts : 151
    Windows 10
       #2

    AFAIK, yes you can't directly create files in C drive root directory even you're the Administrator. But you can create it inside any folder with the help of Command Prompt.

    To create an empty file:
    Code:
    copy nul C:\your_folder\your_file.txt
    To copy file into:
    Code:
    copy source_file\your_file.txt C:\your_folder\your_file.txt
    Yes, you can edit the files afterwards.

    Note: If the files and/or directories have spaces, please wrap them in quotes.
      My Computer


  3. Posts : 65
    Windows 10
    Thread Starter
       #3

    This is terrible
    Last edited by trogne; 26 Aug 2016 at 00:02.
      My Computer


  4. Posts : 141
    windows 10
       #4

    If UAC is enabled, even if you are part of the administrator's group, you are by default logged in as a standard user. A standard user cannot create a file on C:\ . Hence you do not get an option to create one.
    If you create a new folder on C:\, you will be its owner and hence you can create files in it and Windows 10 will show you options in the new menu to create them.
      My Computer


  5. Posts : 8,622
    Mac OS Catalina
       #5

    trogne said:
    This is terrible
    What is terrible? As long as you are in your home drive and it is not a folder owned by "Trusted Installer", you can create all of the folders that you want.

    Microsoft made any system folders and root to be protected by the Sandbox of the OS, including other safety precautions for the OS like all of the other operating systems are doing.
      My Computer


  6. Posts : 34,915
    Win 10 Pro (1903) (2nd PC is 21H2)
       #6

    You naturally can create files in Documents, Videos, Photos... by default on C:. Or are you saying you can't?

    In any case, best practise is to keep your personal data off C:
      My Computers


  7. Posts : 65
    Windows 10
    Thread Starter
       #7

    Thanks. Well, I guess it's for my own safety.
      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 07:08.
Find Us




Windows 10 Forums