Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Windows 7 Cant change folder attributes from read only  (Read 1655 times)

0 Members and 1 Guest are viewing this topic.

Delicious

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 26
  • Last login:November 22, 2021, 07:11:00 pm
  • I want to learn all i can :)
Windows 7 Cant change folder attributes from read only
« on: October 10, 2014, 02:25:31 am »
Hello all

im working on my 3rd mame cab and this is my first experience with using win 7 as an OS for one.  I need to change my folder attributes from "read only" so that my preferences are saved.

been trying to save preferences in MA and a couple of emulators and i cant apparently without doing this first.

ive been reading online about how i can go into command prompt and type: attrib -r +s to fix this but it has no effect on my folder.
ive done the "take ownership" of the folder and that has no effect either :dunno

im about at my wits end and am thinking about wiping the hd and installing xp sp3

if anyone could help me i would greatly appreciate it.

keilmillerjr

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1847
  • Last login:October 06, 2023, 10:20:39 pm
  • Web Developer.
Re: Windows 7 Cant change folder attributes from read only
« Reply #1 on: October 10, 2014, 02:18:27 pm »
Windows 7 take ownership of folder
http://technet.microsoft.com/en-us/library/cc753659.aspx

This article might help too:
You cannot view or change the Read-only or the System attributes of folders in Windows Server 2003, in Windows XP, in Windows Vista or in Windows 7
http://support.microsoft.com/kb/326549

If all else fails, try creating a new folder to replace your current one.

Generic Eric

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4520
  • Last login:July 15, 2024, 09:18:25 pm
  • Restore! Don't maim for MAME, build from scratch!
    • forum.arcadecontrols.com/index.php/topic,143226.0.html
Re: Windows 7 Cant change folder attributes from read only
« Reply #2 on: October 10, 2014, 04:30:32 pm »
Is your profile an admin?  Or some extremely limited user?

JDFan

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3448
  • Last login:March 03, 2025, 10:29:54 am
  • I want to build my own arcade controls!
Re: Windows 7 Cant change folder attributes from read only
« Reply #3 on: October 10, 2014, 04:59:26 pm »
Is it by chance installed to the Program files folder ? -- with windows 7 MS increased the security settings on the program files folder to keep programs from altering settings of other programs - so best thing to do is install to another folder outside the Program files folder.

Delicious

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 26
  • Last login:November 22, 2021, 07:11:00 pm
  • I want to learn all i can :)
Re: Windows 7 Cant change folder attributes from read only
« Reply #4 on: October 10, 2014, 07:17:20 pm »
the folder in question is my MA folder which i have on the desktop.  Ive tried taking ownership i even downloaded a thing that adds a take ownership option when you right click.  After i take ownership, a dos window flashes a bunch of stuff and then closes.

when all is said and done there are no changes made.

ive tried making a new folder and when i check the properties it makes it read only by default.

i bought this pc off of craigslist so i am not the original owner.  its nicer than any of my previous mame pcs

is it possible to format C and then install xp?
the pc was made for windows7.

i dont have any directories in the progams files folder

there is only one one account, that i know of and thats the owner.  although i will check my user accounts to make sure



 

whitebabylon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Last login:April 26, 2015, 12:10:26 am
  • I want to build my own arcade controls!
Re: Windows 7 Cant change folder attributes from read only
« Reply #5 on: October 10, 2014, 09:52:39 pm »
Hey,
I'd try the alternate route of Power shell. Windows scripting language.
Go to your windows start menu, and type in 'powershell'. Youll want to right click it and run as an admin.
Check out this page
https://social.technet.microsoft.com/Forums/scriptcenter/en-US/6c151046-82c2-424f-b750-8e5dd620cf64/powershell-script-to-change-file-attributes
Basically if its just a folder on your desktop your command will look like this:
Get-Item "c:\user\me\desktop\folder\"  -Recurse | foreach {$_.Attributes = 'Normal'}
though I just tried and got -recurse isn't a proper command, so you might want to try:
Get-Item "c:\user\me\desktop\folder\" | foreach {$_.Attributes = 'Normal'}

You can't go wrong learning a few things here:
http://blogs.technet.com/b/heyscriptingguy/archive/2011/01/26/use-a-powershell-cmdlet-to-work-with-file-attributes.aspx

Let me know if it works.

Skinnysloth

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 33
  • Last login:May 08, 2016, 08:38:26 pm
Re: Windows 7 Cant change folder attributes from read only
« Reply #6 on: October 11, 2014, 03:55:48 am »
Have you checked to see if the files in that folder also have the read only attribute?  I know in my windows 7 installation only the folders retain the read only attribute after changing it.  The files inside the folders do not have read only attribute and my settings get saved without issues despite having the folder be read only.

Vigo

  • the Scourage of Carpathia
  • Global Moderator
  • Trade Count: (+24)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6417
  • Last login:June 25, 2025, 03:09:16 pm
Re: Windows 7 Cant change folder attributes from read only
« Reply #7 on: October 11, 2014, 06:58:40 am »
Folders cannot be read only, that is an attribute only for files. In windows 7, folders will show with a solid box under read only. The critical item to check is the files themselves. If you select the preference files, and no folders, you can check if they are read only. If they are not, you are fine.

If your preference file is not read-only, you most likely have some other issue going on.