techPowerUp! Forums

Go Back   techPowerUp! Forums > Software > General Software

Reply
 
Thread Tools
Old Feb 16, 2007, 05:53 AM   #1
Poisonsnak
200 Posts
 
Join Date: Feb 2005
Location: Saskatoon, SK
Posts: 363 (0.12/day)
Thanks: 14
Thanked 18 Times in 12 Posts

System Specs

xp ntfs permissions erased - help!

So, I was fooling around like an idiot and removed all the ntfs permissions on 3 of my hard drives (not the one with my OS on it though, thank god).

If I even tried to access the drive it would say "access denied"

To try and fix it, I right clicked, went to properties, the security tab (running XP pro with simple file sharing disabled), and gave "system" and "everyone" full control. This allows me to see all the folders on the disk and what files they contain. However, when I try to access the files I get an access denied error message and it will not allow me to change permissions for the files.

If anyone has any ideas I am pretty much willing to try anything, if I have to buy some software I'm all for it, I need any help I can get so I can view these files again.

edit: I Think I may have just figured it out by using "replace permission entries on all child objects..." wow, but feel free to jump in with any advice / call me an idiot (boy do I deserve it)
Poisonsnak is offline  
Reply With Quote
Old Feb 16, 2007, 07:41 AM   #2
DanTheBanjoman
Señor Moderator
 
DanTheBanjoman's Avatar
 
Join Date: May 2004
Location: Utrecht, Utrecht, The kingdom of the Netherlands
Posts: 8,498 (2.58/day)
Thanks: 41
Thanked 1,453 Times in 1,077 Posts
Send a message via ICQ to DanTheBanjoman Send a message via MSN to DanTheBanjoman

System Specs

The child objects option is usually the thing. If it still gives you problems you might have to take ownership of the files/folders. (and do that on child objects as well)

Oh, and you're an idiot
DanTheBanjoman is offline  
Reply With Quote
Old Feb 16, 2007, 12:58 PM   #3
Alec§taar
Banned
 
Alec§taar's Avatar
 
Join Date: May 2006
Location: Someone who's going to find NewTekie1 and teach him a lesson
Posts: 3,380 (1.32/day)
Thanks: 0
Thanked 102 Times in 101 Posts

System Specs

NEVER, ever, remove FULL CONTROL permissions in the Access Control Lists/rights priveleges from:
  • Administators Group
  • YOUR local Administrator User
  • SYSTEM

on NTFS rights on your disks (via Explorer.exe rightclick properties menu, security tab) that use that filesystem, OR in the REGISTRY either, via rightclick on HIVES/KEYS permissions popup menu options...

(Sure way to lock yourself out, period, & I have done it myself early on w/ NTFS filesystems &/or the Registry before... only way to learn sometimes, is making mistakes!)

* Keep this in mind, those of you that start experimenting w/ security @ these 2 levels!

APK

P.S.=> Leaving them @ FULL POWER, in both areas, usually 9/10 times allows you to get back into your rig (logging on as your LOCAL ADMINISTRATOR USER, to fix it), & make alterations to rights/acl's as needed, to "get it right", eventually... especially when you're still learning/experimenting! apk

Last edited by Alec§taar; Feb 16, 2007 at 01:24 PM.
Alec§taar is offline  
Reply With Quote
Old Feb 19, 2007, 02:21 PM   #4
Poisonsnak
200 Posts
 
Join Date: Feb 2005
Location: Saskatoon, SK
Posts: 363 (0.12/day)
Thanks: 14
Thanked 18 Times in 12 Posts

System Specs

Hehe thanks for the quick replies, I was away all weekend but just tried some things and I'm back in action.

Problem cause:

If you ever happen to select multiple folders (or in my case hard disks) and go to the security tab, windows will helpfully say "you know these objects have different security settings, would you like to reset them?" and you might, like me, say "sure" and find that what windows does is REMOVE all permissions for everyone.

Now in this situation the wrong thing to do (which I did) would be to hit cancel and assume that it "cancels" what you have done (why would I think that?), when in fact it just closes the window and leaves you out in the cold.

Problem solution:
It's just as dan pointed out: take ownership of everything (make sure to select "replace owner on subcontainers and objects"), set permissions as you see fit, and then replace permission entries on all child objects. If you don't take ownership of everything first I found that it would give you access to all folders (including a listing of their contents) but you could not access the files themselves.
Poisonsnak is offline  
Reply With Quote
Old Feb 19, 2007, 02:30 PM   #5
Completely Bonkers
2000 Posts
 
Completely Bonkers's Avatar
 
Join Date: Feb 2007
Posts: 2,415 (1.05/day)
Thanks: 582
Thanked 533 Times in 374 Posts

System Specs

Aweful experience isn't it! Congratualtions on getting your files back. Also, you are lucky this didnt happen on your OS drive... because if you did... and you now had all files to FULL CONTROL... your security would be a real mess up.

I (unfortunately) did this... and decided a reinstall was quick than a manual repair... since exactly WHICH files are SYSTEM/ SERVICE/ ADMIN/ Other users / part of a group etc.

On data drives its much easier to fix.
__________________
... some things in life just drive you bonkers. Especially the rubbish you see in forum posts
Completely Bonkers is offline  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:49 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
no new posts