Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Microsoft Support > Windows Vista/Windows 7 Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Reply
 
LinkBack Thread Tools
Old 07-09-2008, 08:53 PM   #1 (permalink)
Registered User
 
Join Date: Dec 2006
Posts: 7
OS: Windows XP


Ownership Issues AGAIN

My computer came installed with Windows XP, and I upgraded to Vista afterward. The problem I'm runing into is that, within my My Documents folder, both the My Pictures and My Music folders are restricted to me, and I can't gain access to them.

I'm the only user on the PC. I've attempted to "take ownership" of the folders, and as far as I can tell, I'm even LISTED as the owner.. But it repeatedly tells me that I don't have permission to access the folder. What the crap is going on?
Tritoch42 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 07-09-2008, 09:04 PM   #2 (permalink)
Folding Along
 
gistek's Avatar
 
Join Date: May 2007
Location: PA, USA
Posts: 1,904
OS: Bobbi=xp, sp3 Muse=Vista Home Premium


Send a message via AIM to gistek Send a message via Skype™ to gistek
Re: Ownership Issues AGAIN

Try
Control Panel > User Accounts > Change your account type
and select Administrator priveleges for yourself.

hopefully this will clear up the problem.
__________________
I am not a computer professional, My advice comes from personal experience and/or friends who are computer professionals. Learn By Doing Un-versity
Interested in Search and Rescue? Check out the Civil Air Patrol.
Come Fold with us. TSF Folding@Home Team
gistek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-09-2008, 09:35 PM   #3 (permalink)
Moderator, Microsoft Supp
 
jcgriff2's Avatar
 
Join Date: Sep 2007
Location: Palm Springs, California / Southern New Jersey
Posts: 10,062
OS: Windows 7, Vista Ultimate

My System

Re: Ownership Issues AGAIN

Quote:
Originally Posted by Tritoch42 View Post
My computer came installed with Windows XP, and I upgraded to Vista afterward. The problem I'm runing into is that, within my My Documents folder, both the My Pictures and My Music folders are restricted to me, and I can't gain access to them.

I'm the only user on the PC. I've attempted to "take ownership" of the folders, and as far as I can tell, I'm even LISTED as the owner.. But it repeatedly tells me that I don't have permission to access the folder. What the crap is going on?
Hi . . .

The folders that you are trying to access in Vista such as "My Documents", "My Pictures", "My ....." are actually known as Junctions. These are system folders that simply point or re-direct installation programs looking for the XP named folders to the Vista equivalent folders.

Please run the following and you will see the Vista equivalent folder names -
Bring up an ELEVATED command prompt START | type cmd.exe | right-click on cmd.exe up top | select Run as Administrator | answer the UAC prompt - Continue/enter Admin password

Now... copy and paste the following into the "DOS" command prompt box - EXACTLY as it appears (to paste - right-click on the top of the "DOS" command prompt box then select "Edit" then select paste):

reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" > C:\junctions.txt & start notepad c:\junctions.txt

A Notepad will appear containing the registry key contents. Please copy and paste it into your next post.

Regards. . .

jcgriff2

.
__________________
. . . . . . . .

B
Expecting a reply and waiting > 36 hours ? Send a PM to me containing a link to your thread
My availability will be limited through ~ December 1, 2009
jcgriff2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-09-2008, 09:51 PM   #4 (permalink)
Registered User
 
Join Date: Dec 2006
Posts: 7
OS: Windows XP


Re: Ownership Issues AGAIN

Here ya go, as requested


HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
AppData REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming
Cache REG_EXPAND_SZ %USERPROFILE%\AppData\Local\Microsoft\Windows\Temporary Internet Files
Cookies REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Cookies
Desktop REG_EXPAND_SZ %USERPROFILE%\Desktop
Favorites REG_EXPAND_SZ %USERPROFILE%\Favorites
History REG_EXPAND_SZ %USERPROFILE%\AppData\Local\Microsoft\Windows\History
Local AppData REG_EXPAND_SZ %USERPROFILE%\AppData\Local
My Video REG_EXPAND_SZ %USERPROFILE%\Videos
NetHood REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Network Shortcuts
Personal REG_EXPAND_SZ %USERPROFILE%\Documents
PrintHood REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Printer Shortcuts
Programs REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
Recent REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Recent
SendTo REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\SendTo
Startup REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
Start Menu REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu
Templates REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Templates
{374DE290-123F-4565-9164-39C4925E467B} REG_EXPAND_SZ %USERPROFILE%\Downloads
My Music REG_EXPAND_SZ %USERPROFILE%\Documents\My Music
My Pictures REG_EXPAND_SZ %USERPROFILE%\Documents\My Pictures
Tritoch42 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-10-2008, 05:58 AM   #5 (permalink)
Moderator, Microsoft Supp
 
jcgriff2's Avatar
 
Join Date: Sep 2007
Location: Palm Springs, California / Southern New Jersey
Posts: 10,062
OS: Windows 7, Vista Ultimate

My System

Re: Ownership Issues AGAIN



Hi. . .

Thanks for running the reg query.

I see two items that are in fact a problem and need to be changed. The two entries from your reg query are as follows:

Code:
                        
 My Music    REG_EXPAND_SZ    %USERPROFILE%\Documents\My Music
 My Pictures    REG_EXPAND_SZ    %USERPROFILE%\Documents\My Pictures
This is how they should be:
Code:
                        
My Music    REG_EXPAND_SZ    %USERPROFILE%\Music
My Pictures    REG_EXPAND_SZ    %USERPROFILE%\Pictures
The registry key, User Shell Folders is primarily used for program installations as well as where your pictures, documents, etc... are saved to. The %USERPROFILE% is an environment variable that translates into the system drive letter, the \users folder plus the \username - on the system that I am on now, my %USERPROFILE% is c:\users\PalmDesert.

Here are two screen shots, with further explanations:





.

So, now we need to make the changes to the registry. I have written and fully tested the attached batch (.bat) file contained in a .zip file. Simply download it, unzip it and copy it to your desktop. Right-click on the desktop batch file, select Run as Administrator - you will see the DOS screen flash - that's OK. Then a Notepad will open with the contents of the updated registry key. As before, please copy/paste it into your next post so that I can review it. Also to note, the batch file does back up the registry key to your desktop as well. Do not double-click on it or it will immediately change the registry key back. It can be deleted when we are finished. Also... do not run the batch file from within the zip file - it must be copied to your desktop.

For info, here is the contents of the batch file:

Code:
                

rem
rem
echo off
rem
rem
rem  Batch file for reg add/ reg query commands for Vista NT Registry - pre/post Vista SP1 
rem
rem  Change user shell folders for "My Music" and "My Pictures" due to problem during XP--> Vista upgrade
rem
rem
rem  Author: jcgriff2 - PalmDesert CG
rem
rem  July 10, 2008
rem
rem  
rem  NOTE: This .bat file must be executed at an elevated admin level within Vista
rem
rem
rem
rem
rem  Use reg add with the /f parm (force overwrite) for My Music
rem 
rem /v = The value name to add under the selected registry key
rem
rem /t = RegKey data type = REG_EXPAND_SZ
rem
rem /d = The data to assign to the value name that is being added/ forced to be overwritten here 
rem
rem ^ = syntax for environment variables, or directory will be hard coded instead
rem  
rem
rem
rem  1st step - back up the registry key & contents to the desktop - as a .reg file
rem
rem  /y parm - force overwrite of .reg backup file
rem

reg export "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" %userprofile%\desktop\HKCU-shell-folders-07-10-08.reg /y

rem
rem
rem
rem
rem  2nd, reg add for My Music ---

reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "My Music" /t REG_EXPAND_SZ /d %%USERPROFILE%%\Music /f

rem
rem
rem  3rd step = reg add for My Pictures ---
rem
rem


reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "My Pictures" /t REG_EXPAND_SZ /d %%USERPROFILE%%\Pictures /f

rem
rem
rem   4th step = reg query w/ Notepad opening resulting text file to allow OP to copy/paste results for verification
rem
rem

reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" > c:\$usershellfolders-07-10-08a.txt & start notepad c:\$usershellfolders-07-10-08a.txt

rem
rem
exit
rem  * * *  E N D  * * * 
rem
Any ? - please let me know.

Regards. . .

jcgriff2

Attached Files
File Type: zip #HKCU-usershell.zip (1,016 Bytes, 3 views)
__________________
. . . . . . . .

B
Expecting a reply and waiting > 36 hours ? Send a PM to me containing a link to your thread
My availability will be limited through ~ December 1, 2009

Last edited by jcgriff2; 07-10-2008 at 06:12 AM. Reason: Attach zip file
jcgriff2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-10-2008, 09:42 PM   #6 (permalink)
Registered User
 
Join Date: Dec 2006
Posts: 7
OS: Windows XP


Re: Ownership Issues AGAIN

Very in-depth! Many thanks, and such.. Here's the new .txt readout:



HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
AppData REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming
Cache REG_EXPAND_SZ %USERPROFILE%\AppData\Local\Microsoft\Windows\Temporary Internet Files
Cookies REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Cookies
Desktop REG_EXPAND_SZ %USERPROFILE%\Desktop
Favorites REG_EXPAND_SZ %USERPROFILE%\Favorites
History REG_EXPAND_SZ %USERPROFILE%\AppData\Local\Microsoft\Windows\History
Local AppData REG_EXPAND_SZ %USERPROFILE%\AppData\Local
My Video REG_EXPAND_SZ %USERPROFILE%\Videos
NetHood REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Network Shortcuts
Personal REG_EXPAND_SZ %USERPROFILE%\Documents
PrintHood REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Printer Shortcuts
Programs REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
Recent REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Recent
SendTo REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\SendTo
Startup REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
Start Menu REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu
Templates REG_EXPAND_SZ %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Templates
{374DE290-123F-4565-9164-39C4925E467B} REG_EXPAND_SZ %USERPROFILE%\Downloads
My Music REG_EXPAND_SZ %USERPROFILE%\Music
My Pictures REG_EXPAND_SZ %USERPROFILE%\Pictures
Tritoch42 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-11-2008, 12:44 AM   #7 (permalink)
Moderator, Microsoft Supp
 
jcgriff2's Avatar
 
Join Date: Sep 2007
Location: Palm Springs, California / Southern New Jersey
Posts: 10,062
OS: Windows 7, Vista Ultimate

My System

Re: Ownership Issues AGAIN

Hi. . .

You are quite welcome. The new reg query looks just fine and I believe that these change should have resulted in your ability to access you Music and Pictures folder/files. Did the batch file result in a solution to your problems within Vista?

Please let me know and if so, you can delete the files that are on your desktop related to this issue. Thanks.

Regards. . .

JC

.
__________________
. . . . . . . .

B
Expecting a reply and waiting > 36 hours ? Send a PM to me containing a link to your thread
My availability will be limited through ~ December 1, 2009
jcgriff2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-11-2008, 10:57 AM   #8 (permalink)
Registered User
 
Join Date: Dec 2006
Posts: 7
OS: Windows XP


Re: Ownership Issues AGAIN

No, I'm still unable to access them... As before, it tells me I'm not allowed, I try to take ownership of the folder, and then it tells me I'm denied, and have to use the security tab. And then, even though my user account is listed as having full permission on the folder, it still won't open.
Tritoch42 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-11-2008, 12:25 PM   #9 (permalink)
Moderator, Microsoft Supp
 
jcgriff2's Avatar
 
Join Date: Sep 2007
Location: Palm Springs, California / Southern New Jersey
Posts: 10,062
OS: Windows 7, Vista Ultimate

My System

Re: Ownership Issues AGAIN



Hi. . .

Sorry to hear that you are still having difficulties.

I went back and re-read your initial post and noticed you said you are trying to access My Pictures and My Music within the My Documents folder. I am trying to understand why you are using the Vista Junctions (actual folders in XP - but not in Vista) and not accessing them via the actual Pictures or Music folders themselves.

In the screen shots below, you can see the shortcut arrow next to My Documents meaning it is a Vista Junction - and you can also see the folders Music and Pictures themselves. Have you clicked on these? Please explain in greater detail the method you are using to attempt access and also what happens when you click on the Vista folders themselves.

The first screenshot shows you under Windows Explorer the folder c:\users\PalmDesert - and what happens when I attempt access to the My Documents Junction - Access Denied. Is this the exact same message (different username, of course) that you are receiving? In the second screen shot you can see the permission settings of the My Documents Junction - just as you said - FULL permissions. The problem, though, is that there is really nothing there to give permissions to as it is not an actual folder. Also not the top left of the access-denied screen - it says Location Unavailable.







.

The XP folder named c:\Documents and Settings\USERNAME\My Documents\My Pictures in Vista is named c:\users\USERNAME\Pictures and the same with music. There is no My in Vista and none of the folders are under Documents as they were in XP.

Please run the following command for me and attach the output file (.doc - Office Word) file to your next post. You do not have to have Word installed on your computer to run this. It will show me every folder name within the user profile folders - c:\users.

START | type cmd.exe into the start search box | right-click on cmd.exe up top | select Run as Administrator | type the following exactly as it appears and hit enter after each line:


cd\users

tree >c:\$tree0711.doc


Note the space after tree - and that it might take 10 - 20 seconds to complete, so if the cursor just sits there and blinks instead of immediately writing the next line (c:\users>), don't think the application is "hanging" as it is not - it is just processing the command.

Upload the file $tree0711.doc found in the c: root drive.

Regards. . .

jcgriff2

__________________
. . . . . . . .

B
Expecting a reply and waiting > 36 hours ? Send a PM to me containing a link to your thread
My availability will be limited through ~ December 1, 2009
jcgriff2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-11-2008, 04:34 PM   #10 (permalink)
Registered User
 
Join Date: Dec 2006
Posts: 7
OS: Windows XP


Re: Ownership Issues AGAIN

Gladly... Yeah, when I try to go to C:\Users\Ryan\Music it simply says there's no such folder. Attached is the file you asked for.
Attached Files
File Type: doc $tree0711.doc (9.4 KB, 3 views)
Tritoch42 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-12-2008, 03:07 AM   #11 (permalink)
Moderator, Microsoft Supp
 
jcgriff2's Avatar
 
Join Date: Sep 2007
Location: Palm Springs, California / Southern New Jersey
Posts: 10,062
OS: Windows 7, Vista Ultimate

My System

Re: Ownership Issues AGAIN



Hi. . .

Thank you for the doc tree file - without a doubt it shows the Pictures and Music folders to be missing under you user profile. How did you move the files from XP into Vista?

Let's see if we can add the folders - bring up the elevated command prompt again -
START | type cmd.exe | right-click on cmd.exe above | Run as Admin. Issue the following commands (hit enter after each)


cd\users\ryan

md Pictures

md Music


Any error messages?

Try and access the folders now.

Regards. . .

jcgriff2


__________________
. . . . . . . .

B
Expecting a reply and waiting > 36 hours ? Send a PM to me containing a link to your thread
My availability will be limited through ~ December 1, 2009
jcgriff2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 06:46 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85