Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista file management

Cannot change attribute of a folder

Closed Thread
 
Thread Tools Display Modes
Old 09-09-2007   #1 (permalink)
Jerry
Guest


 

Cannot change attribute of a folder

A user folder (C:\Users\<username>) is marked as hidden and the hidden
setting is grayed out. I tried to change it while logged as that same user
and also as administrator, but it stays grayed out. Also tried using ATTRIB,
but result the same. The owner of the folder is listed as SYSTEM, same as in
case of all other folders, but only this one is presenting this strange
behavior.

How can I re-gain access to the hidden attribute setting?

Old 09-10-2007   #2 (permalink)
Ronnie Vernon MVP
Guest


 

Re: Cannot change attribute of a folder

Jerry

What is the name of the folder?

If this is one of the folders that starts with the "MY" name (ie: My
Documents, My Pictures, etc.) then this is normal behavior. This is not an
actual folder, but a Junction. It is only there for backward compatibility
with legacy programs that are looking for that name.

The "MY" designation for folders has been dropped in Vista and folder names
are different. Take a look at the following website for a complete
explanation. This website has a list of all the changed folder names and
their new name/location in Vista.

Svrops.com - Windows Vista Junction Points:
http://www.svrops.com/svrops/articles/jpoints.htm


--

Ronnie Vernon
Microsoft MVP
Windows Shell/User


"Jerry" <duncan_jeremy@xxxxxx> wrote in message
news:CEE9E9AF-62C4-4516-8D09-7CA07D2E2D2C@xxxxxx
Quote:

>A user folder (C:\Users\<username>) is marked as hidden and the hidden
>setting is grayed out. I tried to change it while logged as that same user
>and also as administrator, but it stays grayed out. Also tried using
>ATTRIB, but result the same. The owner of the folder is listed as SYSTEM,
>same as in case of all other folders, but only this one is presenting this
>strange behavior.
>
> How can I re-gain access to the hidden attribute setting?
Old 09-10-2007   #3 (permalink)
Jerry
Guest


 

Re: Cannot change attribute of a folder

No, this is a user "home" folder. Not a junction. I have several users on
this PC and all have their folders in C:\Users, created by the system at the
time when users have been defined, like this:

C:\Users\<username1>, C:\Users\<username2>, C:\Users\<username3>, etc.

Except for this particular folder (say, C:\Users\<username2>), for all
others I can change the hidden attribute. Only this one has the attribute
check box grayed out, therefore inaccessible. To its legitimate owner, to
the administrator, to all. Running ATTRIB under DOS prompt doesn't work
either.






"Ronnie Vernon MVP" <rv@xxxxxx> wrote in message
news:6E944846-9463-407B-9853-3C41AB22E698@xxxxxx
Quote:

> Jerry
>
> What is the name of the folder?
>
> If this is one of the folders that starts with the "MY" name (ie: My
> Documents, My Pictures, etc.) then this is normal behavior. This is not an
> actual folder, but a Junction. It is only there for backward compatibility
> with legacy programs that are looking for that name.
>
> The "MY" designation for folders has been dropped in Vista and folder
> names are different. Take a look at the following website for a complete
> explanation. This website has a list of all the changed folder names and
> their new name/location in Vista.
>
> Svrops.com - Windows Vista Junction Points:
> http://www.svrops.com/svrops/articles/jpoints.htm
>
>
> --
>
> Ronnie Vernon
> Microsoft MVP
> Windows Shell/User
>
>
> "Jerry" <duncan_jeremy@xxxxxx> wrote in message
> news:CEE9E9AF-62C4-4516-8D09-7CA07D2E2D2C@xxxxxx
Quote:

>>A user folder (C:\Users\<username>) is marked as hidden and the hidden
>>setting is grayed out. I tried to change it while logged as that same user
>>and also as administrator, but it stays grayed out. Also tried using
>>ATTRIB, but result the same. The owner of the folder is listed as SYSTEM,
>>same as in case of all other folders, but only this one is presenting this
>>strange behavior.
>>
>> How can I re-gain access to the hidden attribute setting?
>
Old 09-10-2007   #4 (permalink)
dean-dean
Guest


 

Re: Cannot change attribute of a folder

I'm not sure how your user folders are becoming hidden, but try this:

Open Command Prompt, by right-clicking on it and choosing Run as
Administrator. At the prompt, type:

attrib -s -h -r "C:\Users\exampleusername"

Press Enter. This will restore the default attributes of a user folder, and
"ungray" the hidden attribute in Properties...


"Jerry" <duncan_jeremy@xxxxxx> wrote in message
news:354C46B3-6436-4F73-B882-DC148F500B9A@xxxxxx
Quote:

> No, this is a user "home" folder. Not a junction. I have several users on
> this PC and all have their folders in C:\Users, created by the system at
> the time when users have been defined, like this:
>
> C:\Users\<username1>, C:\Users\<username2>, C:\Users\<username3>, etc.
>
> Except for this particular folder (say, C:\Users\<username2>), for all
> others I can change the hidden attribute. Only this one has the attribute
> check box grayed out, therefore inaccessible. To its legitimate owner, to
> the administrator, to all. Running ATTRIB under DOS prompt doesn't work
> either.
>
>
>
>
>
>
> "Ronnie Vernon MVP" <rv@xxxxxx> wrote in message
> news:6E944846-9463-407B-9853-3C41AB22E698@xxxxxx
Quote:

>> Jerry
>>
>> What is the name of the folder?
>>
>> If this is one of the folders that starts with the "MY" name (ie: My
>> Documents, My Pictures, etc.) then this is normal behavior. This is not
>> an actual folder, but a Junction. It is only there for backward
>> compatibility with legacy programs that are looking for that name.
>>
>> The "MY" designation for folders has been dropped in Vista and folder
>> names are different. Take a look at the following website for a complete
>> explanation. This website has a list of all the changed folder names and
>> their new name/location in Vista.
>>
>> Svrops.com - Windows Vista Junction Points:
>> http://www.svrops.com/svrops/articles/jpoints.htm
>>
>>
>> --
>>
>> Ronnie Vernon
>> Microsoft MVP
>> Windows Shell/User
>>
>>
>> "Jerry" <duncan_jeremy@xxxxxx> wrote in message
>> news:CEE9E9AF-62C4-4516-8D09-7CA07D2E2D2C@xxxxxx
Quote:

>>>A user folder (C:\Users\<username>) is marked as hidden and the hidden
>>>setting is grayed out. I tried to change it while logged as that same
>>>user and also as administrator, but it stays grayed out. Also tried using
>>>ATTRIB, but result the same. The owner of the folder is listed as SYSTEM,
>>>same as in case of all other folders, but only this one is presenting
>>>this strange behavior.
>>>
>>> How can I re-gain access to the hidden attribute setting?
>>
>
Old 09-11-2007   #5 (permalink)
Jerry
Guest


 

Re: Cannot change attribute of a folder

That worked!
Thank you very much!
When I was trying with ATTRIB, I only used the -h switch, and that didn't
work.
Thanks a lot again.


"dean-dean" <dean-dean@xxxxxx> wrote in message
news:%23OPu1T$8HHA.5456@xxxxxx
Quote:

> I'm not sure how your user folders are becoming hidden, but try this:
>
> Open Command Prompt, by right-clicking on it and choosing Run as
> Administrator. At the prompt, type:
>
> attrib -s -h -r "C:\Users\exampleusername"
>
> Press Enter. This will restore the default attributes of a user folder,
> and "ungray" the hidden attribute in Properties...
>
>
> "Jerry" <duncan_jeremy@xxxxxx> wrote in message
> news:354C46B3-6436-4F73-B882-DC148F500B9A@xxxxxx
Quote:

>> No, this is a user "home" folder. Not a junction. I have several users on
>> this PC and all have their folders in C:\Users, created by the system at
>> the time when users have been defined, like this:
>>
>> C:\Users\<username1>, C:\Users\<username2>, C:\Users\<username3>, etc.
>>
>> Except for this particular folder (say, C:\Users\<username2>), for all
>> others I can change the hidden attribute. Only this one has the attribute
>> check box grayed out, therefore inaccessible. To its legitimate owner, to
>> the administrator, to all. Running ATTRIB under DOS prompt doesn't work
>> either.
>>
>>
>>
>>
>>
>>
>> "Ronnie Vernon MVP" <rv@xxxxxx> wrote in message
>> news:6E944846-9463-407B-9853-3C41AB22E698@xxxxxx
Quote:

>>> Jerry
>>>
>>> What is the name of the folder?
>>>
>>> If this is one of the folders that starts with the "MY" name (ie: My
>>> Documents, My Pictures, etc.) then this is normal behavior. This is not
>>> an actual folder, but a Junction. It is only there for backward
>>> compatibility with legacy programs that are looking for that name.
>>>
>>> The "MY" designation for folders has been dropped in Vista and folder
>>> names are different. Take a look at the following website for a complete
>>> explanation. This website has a list of all the changed folder names and
>>> their new name/location in Vista.
>>>
>>> Svrops.com - Windows Vista Junction Points:
>>> http://www.svrops.com/svrops/articles/jpoints.htm
>>>
>>>
>>> --
>>>
>>> Ronnie Vernon
>>> Microsoft MVP
>>> Windows Shell/User
>>>
>>>
>>> "Jerry" <duncan_jeremy@xxxxxx> wrote in message
>>> news:CEE9E9AF-62C4-4516-8D09-7CA07D2E2D2C@xxxxxx
>>>>A user folder (C:\Users\<username>) is marked as hidden and the hidden
>>>>setting is grayed out. I tried to change it while logged as that same
>>>>user and also as administrator, but it stays grayed out. Also tried
>>>>using ATTRIB, but result the same. The owner of the folder is listed as
>>>>SYSTEM, same as in case of all other folders, but only this one is
>>>>presenting this strange behavior.
>>>>
>>>> How can I re-gain access to the hidden attribute setting?
>>>
>>
>
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change Read-Only Attribute William Colls Vista General 2 02-17-2008 06:23 PM
Read-only File and Folder Attribute Brink Tutorials 9 02-10-2008 11:34 AM
Temp Folder Attribute Problem Mark Buckles/Harlan Labs Vista file management 6 12-19-2007 03:43 PM
i cant change the Read-only attribute of a non-system folder Rich Vista General 2 11-15-2007 05:07 AM
Change Picture folder read only attribute Lenny Vista General 6 09-04-2007 09:11 PM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

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