Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: File permissions for individual user folders, program install errors

15 Jan 2013   #1
linmix

Windows 7 Ultimate x64
 
 
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 System SpecsSystem Spec
.

15 Jan 2013   #2
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

In command prompt
Code:
cd  %userprofile%
cacls  *.*>cacls.txt
Post cacls.txt. You may delete the file afterwards
My System SpecsSystem Spec
15 Jan 2013   #3
linmix

Windows 7 Ultimate x64
 
 

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 System SpecsSystem Spec
.


15 Jan 2013   #4
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

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 System SpecsSystem Spec
15 Jan 2013   #5
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

When did you create that account? It looks very new (?) Not a lot of NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec} files
My System SpecsSystem Spec
15 Jan 2013   #6
linmix

Windows 7 Ultimate x64
 
 

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 System SpecsSystem Spec
15 Jan 2013   #7
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

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 System SpecsSystem Spec
15 Jan 2013   #8
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

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 System SpecsSystem Spec
16 Jan 2013   #9
linmix

Windows 7 Ultimate x64
 
 

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 System SpecsSystem Spec
16 Jan 2013   #10
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

  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 System SpecsSystem Spec
Reply

 File permissions for individual user folders, program install errors




Thread Tools





Similar help and support threads
Thread Forum
new user :-) two program files folders; can't delete
Hi Guys, I'm a little stumped by this which is unusual for me http://forum.cockos.com/images/smilies/smile.gif OK, I was installing some x64 plugs yesterday and the default installer wasn't pointing to the right folder so i manually typed the correct path c:\Program files\Steinberg\VST...
General Discussion
Giving Automatic Permissions to Folders Created Using a Batch File
So I have a batch file set up to create folders and subfolders. These folders are created on a shared server that several employees access. The idea is to run the batch to create a set of folders for each new customer. This keeps all of the files for the customer in one spot rather than...
General Discussion
powershell script to create user folders and set permissions
Wondering if anyone in this forum can help me figure out what I am doing wrong with my script. I am grabbing a text file with a list of users in it. I want to then create folders for all those people and then set explicit permissions on those folders to only allow the users and admin access to it....
Software
Can't install program - Program Data folder permissions?
I'm trying to instal Skype on my PC and I keep getting this error message: 'An error occured while attempting to create the directory: c:\ProgramData\Microsoft\Windows\StartMenu. This is what I've done to try and remedy it: 1. Right clicked the installer file and tried to run as...
Software
Individual program resolution issue
Hi guys, I'm totally new to Windows 7 (64bit) after using WinXP for a long time. I just got a new Dell XPS 15 laptop with a 1080p screen and it looks great, except that I have an issue where some programs don't seem to be displaying in the same resolution as the desktop. I can't find any advice...
Graphic Cards
Two Program File Folders
I have noticed when I want to uninstall programs, not all my installed programs show up even though they function well. I explored into my main C: drive and found out there were two program file folders. One named Program Files and the other named Program Files x86. The program files in x86 are...
Software

Our Sites

Site Links

About Us

Find 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 15:22.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App