Install error

Page 1 of 2 12 LastLast

  1. Posts : 130
    Microsoft Windows 10 Home 64-bit
       #1

    Install error


    When trying to install a program I get following error:
    Setup was unable to create the directory "c:/users/<name>/documents/<dir name>"
    I get this error for several programs I want to install.

    Looking at the security settings of "c:/users/<name>/documents/" I see that the logged in user has full control on this firectory. (I even gave eveyone full control)
    manually I can create a directory into "c:/users/<name>/documents/"
    Even when trying to install a program "Install as admin" I get the same error.
    This never happened before.

    Can anyone help me please?
      My Computer


  2. Posts : 3,643
    Windows 11 Pro 64 Bit 21H2
       #2

    If you are installing a program it should not install to your Documents folder, it should install to the C:\Program Files or C:\Program Files (x86) and create the directory there.
      My Computer


  3. Posts : 130
    Microsoft Windows 10 Home 64-bit
    Thread Starter
       #3

    I know.
    apparently the installer wants to create a temporary file in "c:/users/<name>/documents/"
      My Computer


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

    It's quite common for programs to create working space in the default library folders: see my Documents...!
    Install error-1.jpg

    I did not create those folders myself.

    That's why I never use the default folders- they are full of 'their' folders.

    Reasonable to think it's a permissions issue. What's the program?

    Install error-1.jpg
    Permissions - nothing more ticked below. All the same. Note the 2nd is my MS live id.

    What happens if, rather than choosing the default install path, you specify the install path manually? (a few progs don't offer that option- sometimes you have to look for it).
      My Computers


  5. Posts : 130
    Microsoft Windows 10 Home 64-bit
    Thread Starter
       #5

    thanks for your answer.
    The contents of my c:\users\<>\documents\ folder look just like the contents in your folder (with different names of course).
    And yes, they were not created by myself but by the installation process.
    the rights on the folder are exactely the same as yours.
    and yet.. I get an error saying that in this folder the installer cannot create a new folder.
      My Computer


  6. Posts : 5,074
    21H1 64 Bit Home
       #6

    Move or copy the installer file to your desktop and run it from there. Right click the installer and run as administrator?
    Last edited by Callender; 11 Nov 2018 at 09:35. Reason: add info
      My Computer

  7.   My Computers


  8. Posts : 24,515
    10 Home x64 (21H2) (10 Pro on 2nd pc)
       #8

    dalchina said:
    Somehow related to Controlled Folder access?
    Quite likely. Some installers create user folders and/or desktop shortcuts, Macrium for example puts a shortcut in C:\Users\Public\Desktop (a protected folder). For such installers I temporarily turn off Controlled Folder Access to allow them to do so.

    NB: only turn it off if you completely trust the source of the installer!
      My Computers


  9. Posts : 130
    Microsoft Windows 10 Home 64-bit
    Thread Starter
       #9

    I did all as sugested but to no avail.
    What I saw in Defender Windows Security protected folders was that "c:\users\<name>\documents" was protected but can't be removed.
    Can this be the problem?
      My Computer


  10. Posts : 130
    Microsoft Windows 10 Home 64-bit
    Thread Starter
       #10

    Huraah!!!! it works.
    I turned Controlled Folder Access in Ransomware protection completely off and everything installs just fine.
    I much appreciate all the help I got; without that I never could have find a solution.
    much obliged, gabriėl
      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 00:33.
Find Us




Windows 10 Forums