![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Unable to remove read-only attribute from files and folders It's probably a symptom of me not understanding permissions completely, but I can't remove read-only from any files or folders that came with Vista or that a third-party app installs. I bring up the Properties window for a folder, uncheck read-only and apply it to the folder and all sub-items. A message box warns me that I don't have permission to change the attributes, but I hit Continue and it shows me a message box that appears to show some kind of activity anyway. I then close the Properties window and bring it up again to find the read-only box checked again and all the sub-files and sub-folders likewise read-only. For the record, I'm running build 5384 on my home PC and with the default administrator account that Vista prompts you to create on first boot. Please let me know how to get this permission, and thanks in advance. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Unable to remove read-only attribute from files and folders You have to add your sefl to the list of those that can access. The admin account you get installing Vista is really a semi-admin acct. So if your user name is chuckles, you have to add chuckles to the offending folders in properties/security and take "full control" of the folder. I'm far from an expert and have been kicked in the rear by Vista on the permission stuff. If it's a system acct (ie it tells you you need permission from so and so... ) then i'm as clueless as any newbie here. <G> "Colin Hume" <ColinHume@discussions.microsoft.com> wrote in message news:FC06A60B-D1B6-42C5-AF88-7B24471E237E@microsoft.com... > It's probably a symptom of me not understanding permissions completely, > but I > can't remove read-only from any files or folders that came with Vista or > that > a third-party app installs. > > I bring up the Properties window for a folder, uncheck read-only and apply > it to the folder and all sub-items. A message box warns me that I don't > have > permission to change the attributes, but I hit Continue and it shows me a > message box that appears to show some kind of activity anyway. I then > close > the Properties window and bring it up again to find the read-only box > checked > again and all the sub-files and sub-folders likewise read-only. > > For the record, I'm running build 5384 on my home PC and with the default > administrator account that Vista prompts you to create on first boot. > Please > let me know how to get this permission, and thanks in advance. |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Unable to remove read-only attribute from files and folders Hello, By default, you only have write access to folders and files that are inside your user directory (c:\users\yourname), some hidden folders, and any folder that you have created. The only time you should need write access to any folders outside of this area is when doing system administration or installing a program. This can be done easily by running whatever tool or install program you are using "As Administrator" by right-clicking it and clicking Run As Administrator, which will allow the tool to access the system. This is the new way of doing things in Windows Vista - the system is locked down, and only programs that you Run As Administrator or that automatically ask you for permission are allowed access to your computer. This will prevent programs from gaining access to your computer without your knowledge. This "Run As Administrator" command is great to run on Windows Explorer, command prompt, and control.exe (control panel). It is *NOT* recommended that you change the security settings to allow write access to the operating-system created files and folders, as this will greatly reduce the security of your system. - JB Vista Support FAQ http://www.jimmah.com/vista/ |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Unable to remove read-only attribute from files and folders Thanks guys, it's all sorted out now. I didn't specify the precise problem in my last post because I didn't see any benefit to doing so. The problem involved installing a certain game (Baldur's Gate II), which needs to edit its own .ini file after installation for configuration reasons (and for fixing graphic issues, one of which I experienced). I couldn't fix the graphic issue because BGII was installed in Program Files and Vista locked all its files down (like you said, Jimmy), including the .ini file. It's working now that I reinstalled it in my user directory. Good to know that behavior for the future, all my programs are going in the user directory from now on and I'm leaving Program Files to Vista itself. Thanks again for your help, both of you. |
My System Specs![]() |
| | #5 (permalink) |
| | Re: Unable to remove read-only attribute from files and folders Just a guess ... are you running the 64-bit version of Windows? I believe in the 32-bit version windows notices this kind of thing, where a program has opened a file and then tries to save it, but it does not have permission to save it, so windows will instead save it to the location it was supposed to be at in the first place (a special folder in your user folder). Then, when the program next opens that file, it gets the new copy instead of the file from the old location. This behavior should save alot of pain, but can be a cause of confusion in certain circumstances. However, it will be nice when programs finally start putting stuff in the places that MS has told them to put stuff for the last 6 years, so we don't have to deal with problems like this. - JB Vista Support FAQ http://www.jimmah.com/vista/ |
My System Specs![]() |
| | #6 (permalink) |
| | Re: Unable to remove read-only attribute from files and folders "Jimmy Brush" wrote: > Hello, > > By default, you only have write access to folders and files that are inside > your user directory (c:\users\yourname), some hidden folders, and any folder > that you have created. > > The only time you should need write access to any folders outside of this > area is when doing system administration or installing a program. > > This can be done easily by running whatever tool or install program you are > using "As Administrator" by right-clicking it and clicking Run As > Administrator, which will allow the tool to access the system. Thanks a lot for that info JB. I've been super frustrated with Vista, as once I upgraded, all of my old files (like mp3s, jpgs, etc) were made read-only and I was about to pull my hair out by going in to security and adding myself and giving myself full access to the files. Just a couple of questions for you though. 1) Do we have to do the 'run as administrator' each time we open Explorer? 2) I just opened explorer with the 'run as administrator' option and tried to deselect the read-only on files in my C: drive and it got pretty far into the process but then I got that menacing error message about needing admin access. when I click continue, I get an error message saying 'access denied'. (this is the point where I was going into the security preferences, adding myself and giving myself full access) Is there a better way of doing this? 3) Would there be any advantage in creating a 2nd user account and just using that acct all of the time? Thanks for your help! |
My System Specs![]() |
| | #7 (permalink) |
| | Re: Unable to remove read-only attribute from files and folders Where you trying to change the whole C: drive in one go? If you did then it won't work. You should only change the permissions and/or attributes on the files that need changing. Don't try to change the permissions on system files. -- Kerry Brown Microsoft MVP - Shell/User http://www.vistahelp.ca "Derek" <Derek@discussions.microsoft.com> wrote in message news:69C60865-27ED-4A24-92A9-697BB1F269D0@microsoft.com... > > > "Jimmy Brush" wrote: > >> Hello, >> >> By default, you only have write access to folders and files that are >> inside >> your user directory (c:\users\yourname), some hidden folders, and any >> folder >> that you have created. >> >> The only time you should need write access to any folders outside of this >> area is when doing system administration or installing a program. >> >> This can be done easily by running whatever tool or install program you >> are >> using "As Administrator" by right-clicking it and clicking Run As >> Administrator, which will allow the tool to access the system. > > > Thanks a lot for that info JB. I've been super frustrated with Vista, as > once I upgraded, all of my old files (like mp3s, jpgs, etc) were made > read-only and I was about to pull my hair out by going in to security and > adding myself and giving myself full access to the files. Just a couple of > questions for you though. > > 1) Do we have to do the 'run as administrator' each time we open Explorer? > 2) I just opened explorer with the 'run as administrator' option and tried > to deselect the read-only on files in my C: drive and it got pretty far > into > the process but then I got that menacing error message about needing admin > access. when I click continue, I get an error message saying 'access > denied'. > (this is the point where I was going into the security preferences, adding > myself and giving myself full access) Is there a better way of doing this? > 3) Would there be any advantage in creating a 2nd user account and just > using that acct all of the time? > > Thanks for your help! |
My System Specs![]() |
| | #8 (permalink) |
| | Re: Unable to remove read-only attribute from files and folders Hello, > 1) Do we have to do the 'run as administrator' each time we open Explorer? No. Actually, this doesn't do anything anymore - explorer cannot be ran as administrator. I strongly disagree with Microsoft's decision to do this ... however, as far as I know, this is the only exception. > 2) I just opened explorer with the 'run as administrator' option and tried > to deselect the read-only on files in my C: drive and it got pretty far > into > the process but then I got that menacing error message about needing admin > access. when I click continue, I get an error message saying 'access > denied'. > (this is the point where I was going into the security preferences, adding > myself and giving myself full access) Is there a better way of doing this? Like Kerry said, you should not change default permissions on your drive C. The permissions are in place to protect your system from malicious programs. Changing them removes this protection. You should only change permissions on files you created. > 3) Would there be any advantage in creating a 2nd user account and just > using that acct all of the time? Many people consider using a standard user account to be better than using the default prompt-protected administrator account provided by Vista. Although this is debatable, there are differences: If you run as a standard user, you will receive less prompts asking for your permission. Also, instead of just being prompted for permission, you will have to enter the password for your administrative account in order to run a program that requests permission. It's up to you on this one ![]() > Thanks for your help! You're welcome ![]() -- - JB Microsoft MVP - Windows Shell/User Windows Vista Support Faq http://www.jimmah.com/vista/ |
My System Specs![]() |
| | #9 (permalink) |
| | Re: Unable to remove read-only attribute from files and folders "Jimmy Brush" <JimmyBrush@discussions.microsoft.com> wrote in message news:27AA7885-362E-4212-8418-58210AFD1C4D@microsoft.com... > > No. Actually, this doesn't do anything anymore - explorer cannot be ran as > administrator. I strongly disagree with Microsoft's decision to do this > ... however, as far as I know, this is the only exception. > I use Run as administrator with Windows Explorer quite often. Are you saying it doesn't do anything or it isn't possible? I do get a uac prompt when I do this and it has allowed me to rename folders and change NTFS permissions I couldn't do without using Run as administrator. Both of my computers (Ultimate and Business) are joined to a domain, I'm not running as a domain admin, I am running as a local admin, if that makes any difference. -- Kerry Brown Microsoft MVP - Shell/User http://www.vistahelp.ca |
My System Specs![]() |
| | #10 (permalink) |
| | Re: Unable to remove read-only attribute from files and folders Have you changed your explorer settings to Run explorer windows in seperate processes? If you have this setting, this should allow you to use Run As Administrator on explorer as long as you are logged in as an administrator. I guess I should have said, with the default configuration, it is not possible to elevate explorer when logged in as an admin . |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Disabling read-only attribute? | Vista file management | |||
| Why are all my folders and files suddenly Read Only? | Vista file management | |||
| Folders/files read only/can't create new folder in read only folde | Vista account administration | |||
| Read zip files? Remove targeted file? | PowerShell | |||
| files are read only when extracted from Zip folders | Vista file management | |||