Home » Questions » Computers [ Ask a new question ]

How do I change file protections running XP on a disk from Windows Server?

How do I change file protections running XP on a disk from Windows Server?

I had a Windows Server 2003 machine running at home, along with my desktop which I use for development. Server went belly up, but since my desktop is reasonably powerful, I figured I would move the disk from the file server (it was OK) into my XP machine to keep all of the files. Disk comes up fine and shows all of the files. I have been getting access denied errors when trying to work with some of the files. When I display attributes in Explorer, none of them are marked Read-Only. When I view properties on the directories, the Read-Only checkbox is not checked, but has a green background(which I thought meant mixed usage for files in the directory). When I click on the checkbox to clear it and click Apply, the disk does some work and all looks well. However, I continue to get the Access Denied errors, the files still don't show any Read-Only attribute and the directory properties shows the green background again on the Read-Only checkbox. I did check the box which says to apply the change to the folder and all files /subfilders under it.

Asked by: Guest | Views: 343
Total answers/comments: 1
bert [Entry]

"Have you tried taking ownership of the files? You'll need Administrator privileges.

From WinXP's explorer, browse to the root of the drive, right-click on a folder or file, select Properties. Go to the Security tab, click Advanced. Go to the Owner tab. It should display the item's current owner, then give you a list of owners you can change to. Select your user ID in the selection box, check the box for ""Replace owner on subcontainers and objects"", and click OK.

You can probably do this from the commandline with cacls or another command. Unfortunately, WinXP doesn't include a takeown.exe command like Vista and Win7."