Question

Windows Vista - won't allow administrator to remove read only attribute

Asked by: sadian

I am using windows vista business - installed at the factory by the PC manufacturer.

I have a single user account which is configured as administrator.

I am logged in on that account.

In windows vista many sub-directories are listed as "read only" (such as anything under program files - and surprisingly - most folders under c:\users\{USER}) and even as administrator vista will not let me change this attribute.

(** on a side note: I also noticed that legacy programs that try to save files to their home directories in program files will end up saving their files to a "virtualstore" which is inconveniently nestled away in C:\Users\{USER}\AppData\Local\VirtualStore\Program Files\{PROGRAM} - Now, I can see how this is great for security - but it really sucks when I have to go find those files later and "by george, they just aren't there!" - even though the path of those files always seems to point to c:\Program Files\{PROGRAM}..  Try creating a (right click menu) shortcut to one of these files from the open or save dialog box from within your application - the shortcut you get on your desktop will point to a file and path that doesn't exist.  Please don't ask me how many hairs I pulled out finding my files in this "virtualstore" because ironically (can you find any irony in this?) VISTA DOESN'T INDEX THIS PART OF THE DIRECTORY STRUCTURE for its indexed search!.... *but I digress*)

I have the following directory:
C:\Users\Public\Documents\STALKER-SHOC\savedgames

This directory is also set to read only.

I changed the security permissions on this folder to allow everyone (including all users and systems listed under the security tab) to full control of this directory.

Now, If I attempt to remove the check from the read-only checkbox in the properties dialog box for said directory - windows vista accepts the changes without error when I hit okay.. However, the next time I open the properties for this folder - windows vista has re-checked the read only checkbox. This seems to be the case for pretty much any directory under c:\Users in which I attempt to remove the read only attribute.

I have searched around the net - and have found no acceptable solutions to this issue yet. I did read some mumbings about removing the read only flag (which seems to be set by default) from the system root, however, upon consideration, this seemed to be a bit rash, given the possible system wide security impact.

Also - I am not running any 3rd party system software, such as anything with a Symantec label on it. (I quickly removed their pre-installed suite from my new machine as soon as I unwrapped the tower from the box.)

You'd think that if it were against the user or group policies to change this attribute - that vista would throw an error at me, considering I am the administrator, right? - rather than just quietly re-enabling the read only attribute after i have closed the properties dialog box.. I'm starting to think that M$ should have borrowed the sega dreamcast's slogan from a few years back and changed it to -

Microsoft Windows Vista - "Its thinking... for you."

I appreciate your kind consideration and tolerence for my sarcasm on this issue - and I hope someone has some genuine insight into the background of how this security system works and why it would apparently overrule my decision to remove the attribute.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2007-03-25 at 21:09:04ID22471690
Tags

vista

,

only

,

read

,

remove

,

windows

Topic

Windows Vista

Participating Experts
4
Points
500
Comments
10

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Vista
    I am using Vista Business, and i joined my network. i was sucessfull and i gave this network userid administrative rights and privileges. however when i try to install software i keep getting this message " this version of symantec antivirus requires elevated privileges ...
  2. vista
    in windows vista when my program copy a file to a folder in C:\Program Files\Adobe\Acrobat 8.0\Acrobat, the file can not copy to it. It same file can copy to any other non Program Files directory. I figure out and guess due to Read only attribute mode. Please help me to bypas...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: JamesCsslPosted on 2007-03-25 at 21:11:35ID: 18790667

Make sure you own the file, and if not, take ownership of it.

 

by: sadianPosted on 2007-03-25 at 22:26:00ID: 18790848

For the record - my user - and the group administrators are already owners of the folder(s) in question.

 

by: sadianPosted on 2007-03-25 at 22:27:50ID: 18790853

...Rather - the group Administrators owns the folder - and I am a member of the administrators group

 

by: sadianPosted on 2007-03-25 at 22:37:22ID: 18790871

...also - I reset the ownership to make sure that the top level folder in question (I also checked the box to make it apply to subfolders and objects) to make sure they were set appropriately.

The problem with the Read Only flag is still occuring on these folders, dispite this.

 

by: KenneniahPosted on 2007-03-26 at 10:55:19ID: 18794645

http://support.microsoft.com/kb/326549

The article is not written for Vista, but the same principle applies.

 

by: aleinssPosted on 2007-03-27 at 08:17:24ID: 18800553

Is UAC turned off or on?  If on, try turning it off and see if you get different results (you can turn back on later)
Is the folder inheriting permissions from the folder above?  If so, turn off "inheriting permissions" and then try setting the read-only attribute.

 

by: KenneniahPosted on 2007-03-27 at 08:33:16ID: 18800691

The bottom line is the Read-Only flag in on folders means nothing, and changing it in Windows Explorer does absolutely nothing, which is as it should be according to Microsoft. It does not actually make the folder Read only, you can still delete folders, files, etc. because Windows itself ignores that flag. It's been that for the last few versions of Windows. Read the Microsoft article. If you actually need to change it due to a program having a problem with it, use attrib from the command line as the article states.

 

by: sadianPosted on 2007-03-28 at 10:47:51ID: 18810258

After reading the article, its clear that this perticular caviat of windows is some sort of a work around Microsoft implemented quite a while ago. While on its surface, the functionality is very misleading because the read-only attribute doesn't DO what it implies in this case. Follow that up with the fact that there is no dialog displayed about this functionality when you do try to change it and I feel that is it just down right sloppy implementation on microsoft's part.

However, I'm sure that it is nieve for me to assume that this wasn't a logical implementation, because I'm I still don't understand the entire reasoning for why they did it this way.

Frustrating that I lost as much time screwing around with this as I did.

Thanks for your insightfulness. Always something more to learn!

 

by: KenneniahPosted on 2007-03-28 at 10:59:19ID: 18810376

Hehe, I have no idea why MS did this either. From the article...
"When a folder has the Read-Only attribute set it causes Explorer to request the Desktop.ini of that folder to see if any special folder settings need to be set."

To me that means, hey we're lazy and don't want to create a new flag for this purpose, so instead we'll just use the read only flag in way that doesn't seem to have anything to do with read only.

Of course the day Microsoft starts to make perfect sense to me, I might have to look into getting some psychological therapy.

 

by: jd2066Posted on 2007-03-28 at 13:52:07ID: 18811726

Kenneniah said:
> To me that means, hey we're lazy and don't want to create a new flag for this purpose, so instead we'll just use the read only flag in way that doesn't seem to have anything to do with read only.

I don't think being lazy was the reason. I think it was probably to keep backwards compatibility with older Windows Servers.
As for Read Only still being displayed on Vista Folder Property page when it is no longer meant to be set by the user that could lazy.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...