File permissions for individual user folders, program install errors

Page 1 of 3 123 LastLast

  1. Posts : 26
    Windows 7 Ultimate x64
       #1

    File permissions for individual user folders, program install errors


    I recently suffered a hrd disk failure and I was forced to extract the data from the faulty disk using a Linux distro (which managed to access all the files just fine while windows complained the partitions were unformatted). I then incorporated the files into my new Windows 7 installation and soon found out I could not access the files because I didn't have the necessary permissions. Since changing permissions for 1000+ files one by one is rather tedious I browsed this forum for an alternate solution and found out I could change file permissions for a folder 1 or more levels higher, including all files and folders inside said top level folder.

    While applying new permissions to my <username> folder I was prompted to confirm if I wanted the Appdata folder to be changed as well. I really didn't know, but decided against. Even so, since I made the change I am having problems installing programs (can only do so as admin) and several programs have started informing of problems like:

    Failed to create temporary folder:
    C:\Users\<username>\Appdata\Local\Temp\<foldername>

    My questions therefore are as follows:

    - what permissions do I need to set for the individual folders from <username> down? Are they all supposeed o be owned by the user?
    - what can I do to correct the current behaviour of my installation and to regain control over installing programs as a user?
    - ... or is something different causing the problems I am experiencing?

    I am using Windows 7 Ultimate SP1 x64
      My Computer


  2. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #2

    In command prompt
    Code:
    cd  %userprofile%
    cacls  *.*>cacls.txt
    Post cacls.txt. You may delete the file afterwards
    Last edited by Kaktussoft; 15 Jan 2013 at 15:53.
      My Computer


  3. Posts : 26
    Windows 7 Ultimate x64
    Thread Starter
       #3

    C:\Users\Jetro\aeat NT AUTHORITY\SYSTEM:(OI)(CI)(ID)F
    INGEBOUWD\Administrators:(OI)(CI)(ID)F
    Jetro-LaptopBP\Jetro:(OI)(CI)(ID)F

    C:\Users\Jetro\AppData Jetro-LaptopBP\HomeUsers:R
    NT AUTHORITY\SYSTEM:(OI)(CI)(ID)F
    INGEBOUWD\Administrators:(OI)(CI)(ID)F
    Jetro-LaptopBP\Jetro:(OI)(CI)(ID)F

    C:\Users\Jetro\Application Data Jetro-LaptopBP\Jetro:(OI)(CI)F

    C:\Users\Jetro\cacls.txt NT AUTHORITY\SYSTEM:(ID)F
    INGEBOUWD\Administrators:(ID)F
    Jetro-LaptopBP\Jetro:(ID)F

    C:\Users\Jetro\Contacts NT AUTHORITY\SYSTEM:(OI)(CI)(ID)F
    INGEBOUWD\Administrators:(OI)(CI)(ID)F
    Jetro-LaptopBP\Jetro:(OI)(CI)(ID)F

    C:\Users\Jetro\Cookies Jetro-LaptopBP\Jetro:(OI)(CI)F

    C:\Users\Jetro\Desktop NT AUTHORITY\SYSTEM:(OI)(CI)(ID)F
    INGEBOUWD\Administrators:(OI)(CI)(ID)F
    Jetro-LaptopBP\Jetro:(OI)(CI)(ID)F

    C:\Users\Jetro\Documents Jetro-LaptopBP\HomeUsers:(OI)(CI)R
    NT AUTHORITY\SYSTEM:(OI)(CI)(ID)F
    INGEBOUWD\Administrators:(OI)(CI)(ID)F
    Jetro-LaptopBP\Jetro:(OI)(CI)(ID)F

    C:\Users\Jetro\Downloads NT AUTHORITY\SYSTEM:(OI)(CI)(ID)F
    INGEBOUWD\Administrators:(OI)(CI)(ID)F
    Jetro-LaptopBP\Jetro:(OI)(CI)(ID)F

    C:\Users\Jetro\Dropbox NT AUTHORITY\SYSTEM:(OI)(CI)(ID)F
    INGEBOUWD\Administrators:(OI)(CI)(ID)F
    Jetro-LaptopBP\Jetro:(OI)(CI)(ID)F

    C:\Users\Jetro\dwhelper NT AUTHORITY\SYSTEM:(OI)(CI)(ID)F
    INGEBOUWD\Administrators:(OI)(CI)(ID)F
    Jetro-LaptopBP\Jetro:(OI)(CI)(ID)F

    C:\Users\Jetro\Favorites NT AUTHORITY\SYSTEM:(OI)(CI)(ID)F
    INGEBOUWD\Administrators:(OI)(CI)(ID)F
    Jetro-LaptopBP\Jetro:(OI)(CI)(ID)F

    C:\Users\Jetro\Links NT AUTHORITY\SYSTEM:(OI)(CI)(ID)F
    INGEBOUWD\Administrators:(OI)(CI)(ID)F
    Jetro-LaptopBP\Jetro:(OI)(CI)(ID)F

    C:\Users\Jetro\Local Settings Jetro-LaptopBP\Jetro:(OI)(CI)F

    C:\Users\Jetro\Menu Start Jetro-LaptopBP\Jetro:(OI)(CI)F

    C:\Users\Jetro\Mijn documenten Jetro-LaptopBP\Jetro:(OI)(CI)F

    C:\Users\Jetro\Music NT SERVICE\WMPNetworkSvc:(special access:)

    READ_CONTROL
    SYNCHRONIZE
    FILE_GENERIC_READ
    FILE_READ_DATA
    FILE_READ_EA
    FILE_READ_ATTRIBUTES

    NT SERVICE\WMPNetworkSvc:(OI)(CI)(IO)(special access:)

    READ_CONTROL
    SYNCHRONIZE
    FILE_GENERIC_READ
    FILE_READ_DATA
    FILE_READ_EA
    FILE_READ_ATTRIBUTES

    Jetro-LaptopBP\HomeUsers:(OI)(CI)R
    NT AUTHORITY\SYSTEM:(OI)(CI)(ID)F
    INGEBOUWD\Administrators:(OI)(CI)(ID)F
    Jetro-LaptopBP\Jetro:(OI)(CI)(ID)F

    C:\Users\Jetro\NetHood Jetro-LaptopBP\Jetro:(OI)(CI)F

    C:\Users\Jetro\Netwerkprinteromgeving Jetro-LaptopBP\Jetro:(OI)(CI)F

    C:\Users\Jetro\NTUSER.DAT NT AUTHORITY\SYSTEM:(ID)F
    INGEBOUWD\Administrators:(ID)F
    Jetro-LaptopBP\Jetro:(ID)F

    C:\Users\Jetro\ntuser.dat.LOG1 NT AUTHORITY\SYSTEM:(ID)F
    INGEBOUWD\Administrators:(ID)F
    Jetro-LaptopBP\Jetro:(ID)F

    C:\Users\Jetro\ntuser.dat.LOG2 NT AUTHORITY\SYSTEM:(ID)F
    INGEBOUWD\Administrators:(ID)F
    Jetro-LaptopBP\Jetro:(ID)F

    C:\Users\Jetro\NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TM.blf NT AUTHORITY\SYSTEM:(ID)F
    INGEBOUWD\Administrators:(ID)F
    Jetro-LaptopBP\Jetro:(ID)F

    C:\Users\Jetro\NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TMContainer00000000000000000001.regtrans-ms NT AUTHORITY\SYSTEM:(ID)F
    INGEBOUWD\Administrators:(ID)F
    Jetro-LaptopBP\Jetro:(ID)F

    C:\Users\Jetro\NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TMContainer00000000000000000002.regtrans-ms NT AUTHORITY\SYSTEM:(ID)F
    INGEBOUWD\Administrators:(ID)F
    Jetro-LaptopBP\Jetro:(ID)F

    C:\Users\Jetro\ntuser.ini NT AUTHORITY\SYSTEM:(ID)F
    INGEBOUWD\Administrators:(ID)F
    Jetro-LaptopBP\Jetro:(ID)F

    C:\Users\Jetro\Pictures NT SERVICE\WMPNetworkSvc:(special access:)

    READ_CONTROL
    SYNCHRONIZE
    FILE_GENERIC_READ
    FILE_READ_DATA
    FILE_READ_EA
    FILE_READ_ATTRIBUTES

    NT SERVICE\WMPNetworkSvc:(OI)(CI)(IO)(special access:)

    READ_CONTROL
    SYNCHRONIZE
    FILE_GENERIC_READ
    FILE_READ_DATA
    FILE_READ_EA
    FILE_READ_ATTRIBUTES

    Jetro-LaptopBP\HomeUsers:(OI)(CI)R
    NT AUTHORITY\SYSTEM:(OI)(CI)(ID)F
    INGEBOUWD\Administrators:(OI)(CI)(ID)F
    Jetro-LaptopBP\Jetro:(OI)(CI)(ID)F

    C:\Users\Jetro\Recent Jetro-LaptopBP\Jetro:(OI)(CI)F

    C:\Users\Jetro\Saved Games NT AUTHORITY\SYSTEM:(OI)(CI)(ID)F
    INGEBOUWD\Administrators:(OI)(CI)(ID)F
    Jetro-LaptopBP\Jetro:(OI)(CI)(ID)F

    C:\Users\Jetro\Searches NT AUTHORITY\SYSTEM:(OI)(CI)(ID)F
    INGEBOUWD\Administrators:(OI)(CI)(ID)F
    Jetro-LaptopBP\Jetro:(OI)(CI)(ID)F

    C:\Users\Jetro\SendTo Jetro-LaptopBP\Jetro:(OI)(CI)F

    C:\Users\Jetro\Sjablonen Jetro-LaptopBP\Jetro:(OI)(CI)F

    C:\Users\Jetro\SkyDrive NT AUTHORITY\SYSTEM:(OI)(CI)(ID)F
    INGEBOUWD\Administrators:(OI)(CI)(ID)F
    Jetro-LaptopBP\Jetro:(OI)(CI)(ID)F

    C:\Users\Jetro\Tracing NT AUTHORITY\SYSTEM:(OI)(CI)(ID)F
    INGEBOUWD\Administrators:(OI)(CI)(ID)F
    Jetro-LaptopBP\Jetro:(OI)(CI)(ID)F

    C:\Users\Jetro\Videos NT SERVICE\WMPNetworkSvc:(special access:)

    READ_CONTROL
    SYNCHRONIZE
    FILE_GENERIC_READ
    FILE_READ_DATA
    FILE_READ_EA
    FILE_READ_ATTRIBUTES

    NT SERVICE\WMPNetworkSvc:(OI)(CI)(IO)(special access:)

    READ_CONTROL
    SYNCHRONIZE
    FILE_GENERIC_READ
    FILE_READ_DATA
    FILE_READ_EA
    FILE_READ_ATTRIBUTES

    Jetro-LaptopBP\HomeUsers:(OI)(CI)R
    NT AUTHORITY\SYSTEM:(OI)(CI)(ID)F
    INGEBOUWD\Administrators:(OI)(CI)(ID)F
    Jetro-LaptopBP\Jetro:(OI)(CI)(ID)
      My Computer


  4. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #4

    Are you dutch just like me?

    In command prompt:
    Code:
    cd %userprofile%
    dir/q>dir.txt
    dir/ah/q>>dir.txt
    dir/as/q>>dir.txt
    post dir.txt . Afterwards delete dir.txt
      My Computer


  5. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #5

    When did you create that account? It looks very new (?) Not a lot of NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec} files
      My Computer


  6. Posts : 26
    Windows 7 Ultimate x64
    Thread Starter
       #6

    I suffered a fatal system crash so I had to start from scratch about 2 weeks ago. And yes, I'm Dutch :D

    Contents of dir.txt:

    Volume in drive C has no label.
    Volume Serial Number is C098-3C51

    Directory of C:\Users\Jetro

    15/01/2013 23:24 <DIR> Jetro-LaptopBP\Jetro .
    15/01/2013 23:24 <DIR> INGEBOUWD\Administrator..
    15/01/2013 10:01 <DIR> Jetro-LaptopBP\Jetro aeat
    25/12/2012 11:11 <DIR> Jetro-LaptopBP\Jetro Contacts
    15/01/2013 20:49 <DIR> Jetro-LaptopBP\Jetro Desktop
    15/01/2013 23:24 0 Jetro-LaptopBP\Jetro dir.txt
    15/01/2013 21:00 <DIR> Jetro-LaptopBP\Jetro Documents
    15/01/2013 10:15 <DIR> Jetro-LaptopBP\Jetro Downloads
    15/01/2013 08:57 <DIR> Jetro-LaptopBP\Jetro Dropbox
    08/01/2013 09:49 <DIR> Jetro-LaptopBP\Jetro dwhelper
    08/01/2013 16:36 <DIR> Jetro-LaptopBP\Jetro Favorites
    08/01/2013 22:50 <DIR> Jetro-LaptopBP\Jetro Links
    06/01/2013 23:49 <DIR> Jetro-LaptopBP\Jetro Music
    13/01/2013 19:35 <DIR> Jetro-LaptopBP\Jetro Pictures
    25/12/2012 15:38 <DIR> Jetro-LaptopBP\Jetro Saved Games
    08/01/2013 16:27 <DIR> Jetro-LaptopBP\Jetro Searches
    08/01/2013 22:50 <DIR> Jetro-LaptopBP\Jetro SkyDrive
    15/01/2013 08:57 <DIR> Jetro-LaptopBP\Jetro Tracing
    14/01/2013 23:43 <DIR> Jetro-LaptopBP\Jetro Videos
    1 File(s) 0 bytes
    18 Dir(s) 110.248.747.008 bytes free
    Volume in drive C has no label.
    Volume Serial Number is C098-3C51

    Directory of C:\Users\Jetro

    24/12/2012 15:10 <DIR> Jetro-LaptopBP\Jetro AppData
    24/12/2012 15:10 <JUNCTION> Jetro-LaptopBP\Jetro Application Data [C:\Users\Jetro\AppData\Roaming]
    24/12/2012 15:10 <JUNCTION> Jetro-LaptopBP\Jetro Cookies [C:\Users\Jetro\AppData\Roaming\Microsoft\Windows\Cookies]
    24/12/2012 15:10 <JUNCTION> Jetro-LaptopBP\Jetro Local Settings [C:\Users\Jetro\AppData\Local]
    24/12/2012 15:10 <JUNCTION> Jetro-LaptopBP\Jetro Menu Start [C:\Users\Jetro\AppData\Roaming\Microsoft\Windows\Start Menu]
    24/12/2012 15:10 <JUNCTION> Jetro-LaptopBP\Jetro Mijn documenten [C:\Users\Jetro\Documents]
    24/12/2012 15:10 <JUNCTION> Jetro-LaptopBP\Jetro NetHood [C:\Users\Jetro\AppData\Roaming\Microsoft\Windows\Network Shortcuts]
    24/12/2012 15:10 <JUNCTION> Jetro-LaptopBP\Jetro Netwerkprinteromgeving [C:\Users\Jetro\AppData\Roaming\Microsoft\Windows\Printer Shortcuts]
    15/01/2013 23:25 7.340.032 Jetro-LaptopBP\Jetro NTUSER.DAT
    15/01/2013 23:25 262.144 Jetro-LaptopBP\Jetro ntuser.dat.LOG1
    24/12/2012 15:10 0 Jetro-LaptopBP\Jetro ntuser.dat.LOG2
    24/12/2012 16:16 65.536 Jetro-LaptopBP\Jetro NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TM.blf
    24/12/2012 16:16 524.288 Jetro-LaptopBP\Jetro NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TMContainer00000000000000000001.regtrans-ms
    24/12/2012 16:16 524.288 Jetro-LaptopBP\Jetro NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TMContainer00000000000000000002.regtrans-ms
    24/12/2012 15:10 20 Jetro-LaptopBP\Jetro ntuser.ini
    24/12/2012 15:10 <JUNCTION> Jetro-LaptopBP\Jetro Recent [C:\Users\Jetro\AppData\Roaming\Microsoft\Windows\Recent]
    24/12/2012 15:10 <JUNCTION> Jetro-LaptopBP\Jetro SendTo [C:\Users\Jetro\AppData\Roaming\Microsoft\Windows\SendTo]
    24/12/2012 15:10 <JUNCTION> Jetro-LaptopBP\Jetro Sjablonen [C:\Users\Jetro\AppData\Roaming\Microsoft\Windows\Templates]
    7 File(s) 8.716.308 bytes
    11 Dir(s) 110.248.759.296 bytes free
    Volume in drive C has no label.
    Volume Serial Number is C098-3C51

    Directory of C:\Users\Jetro

    24/12/2012 15:10 <JUNCTION> Jetro-LaptopBP\Jetro Application Data [C:\Users\Jetro\AppData\Roaming]
    24/12/2012 15:10 <JUNCTION> Jetro-LaptopBP\Jetro Cookies [C:\Users\Jetro\AppData\Roaming\Microsoft\Windows\Cookies]
    24/12/2012 15:10 <JUNCTION> Jetro-LaptopBP\Jetro Local Settings [C:\Users\Jetro\AppData\Local]
    24/12/2012 15:10 <JUNCTION> Jetro-LaptopBP\Jetro Menu Start [C:\Users\Jetro\AppData\Roaming\Microsoft\Windows\Start Menu]
    24/12/2012 15:10 <JUNCTION> Jetro-LaptopBP\Jetro Mijn documenten [C:\Users\Jetro\Documents]
    24/12/2012 15:10 <JUNCTION> Jetro-LaptopBP\Jetro NetHood [C:\Users\Jetro\AppData\Roaming\Microsoft\Windows\Network Shortcuts]
    24/12/2012 15:10 <JUNCTION> Jetro-LaptopBP\Jetro Netwerkprinteromgeving [C:\Users\Jetro\AppData\Roaming\Microsoft\Windows\Printer Shortcuts]
    15/01/2013 23:25 7.340.032 Jetro-LaptopBP\Jetro NTUSER.DAT
    15/01/2013 23:25 262.144 Jetro-LaptopBP\Jetro ntuser.dat.LOG1
    24/12/2012 15:10 0 Jetro-LaptopBP\Jetro ntuser.dat.LOG2
    24/12/2012 16:16 65.536 Jetro-LaptopBP\Jetro NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TM.blf
    24/12/2012 16:16 524.288 Jetro-LaptopBP\Jetro NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TMContainer00000000000000000001.regtrans-ms
    24/12/2012 16:16 524.288 Jetro-LaptopBP\Jetro NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TMContainer00000000000000000002.regtrans-ms
    24/12/2012 15:10 20 Jetro-LaptopBP\Jetro ntuser.ini
    24/12/2012 15:10 <JUNCTION> Jetro-LaptopBP\Jetro Recent [C:\Users\Jetro\AppData\Roaming\Microsoft\Windows\Recent]
    24/12/2012 15:10 <JUNCTION> Jetro-LaptopBP\Jetro SendTo [C:\Users\Jetro\AppData\Roaming\Microsoft\Windows\SendTo]
    24/12/2012 15:10 <JUNCTION> Jetro-LaptopBP\Jetro Sjablonen [C:\Users\Jetro\AppData\Roaming\Microsoft\Windows\Templates]
    7 File(s) 8.716.308 bytes
    10 Dir(s) 110.248.218.624 bytes free
      My Computer


  7. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #7

    Did you change many settings under that account, and is it difficult to configure again? Best thing is to create a new user account and test if that's working fine.
      My Computer


  8. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #8

    It's quite a mess. You are owner of all "junction points". And junction points (hard links) are clickable.
    What is aeat folder?15/01/2013 10:01 <DIR> Jetro-LaptopBP\Jetro aeat
    dwhelper folder is most likely DownloadHelper - Media download Firefox extension
    skydrive you know what it is
    dropbox you know what it is
      My Computer


  9. Posts : 26
    Windows 7 Ultimate x64
    Thread Starter
       #9

    aeat is the Spanish tax office. They ask to install their program right under C:\ and then place another folder straight into the user account 8-$

    Just to be sure, can I change the username of my current account? Then I can set up a second account, import all my files into the new account (how do I do that without getting permission problems again?) and reconfigure the handful of programs that have user specific settings. Doesn't sound like it would be too much work...
      My Computer


  10. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #10

    1. Create a new user with admin right
    2. Check if it's working as expected
    Post if it is. Just check things that aren't working now. If working fine:
    1. logon as old username that has the problems
    2. uninstall skydrive. Do it only if all files have been syncronised to the cloud!
    3. uninstall dropbox. Do it only if all files have been syncronised to the cloud!
    4. uninstall dwhelper (firefox addon). Uninstall isn't neccesary I think(?)
    Logon under new account. Then:
    1. Install the stuff you just uninstalled. For dwhelper you have to install firefox first
    2. Creat aeat folder in new account. copy/paste comtents of the folder from old to new folder. So don't copy paste folder itself! Do copy not move!
    Is skydrive and dropbox working now? Are all files synchronises from web to pc? So everything is back again... can take a lot of time. Is aeat working?
      My Computer


 
Page 1 of 3 123 LastLast

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

© Designer Media Ltd
All times are GMT -5. The time now is 23:49.
Find Us