General discussion

Locked

User access permission - CACLS/SUBINACL

By Viking8000 ·
Hi, I hope someone can help me with this critical problem.

I have during a reinstall of Windows XP Pro (on top of existing installation) met the problem that I couldn't log in as the existing administrator (Frederik Kargaard) and had to create a new administrator-profile (Frederik) to finish installation. Now however I can't gain access to the folders and data of the previous administrator profile under C:\Documents and Settings including letters, e-mails and so on. All I get is an "Access denied" message.

Actually I do have gained access (using CACLS incl. /e) to the main folder but not to the subfolders. I've gained ownership (using SUBINACL /owner) to all the folders but still get "Access denied" when I try to access them.

Using SUBINACL /sgrant I've tried to get past that point and it told me twice that it handled the particular folder (Documents), I only wrote the command once. Report said once with success and once with failure.

Again using SUBINACL I've made a report over the permissions I have to the folder, but I'm not that technical, so I can't see any problems. Report looks like this:

=============================================================
+File C:\Documents and Settings\Frederik Kargaard\Dokumenter
=============================================================
/control=0x400 SE_DACL_AUTO_INHERITED-0x0400
/owner =stue\frederik
/primary group =S-1-5-21-436374069-1177238915-839522115-513
/audit ace count =0
/perm. ace count =4
/pace =system ACCESS_ALLOWED_ACE_TYPE-0x0
INHERITED_ACE-0x10
Type of access:
Special acccess : -Read -Write -Execute -Delete -Change Permissions -Take Ownership
Detailed Access Flags :
FILE_READ_DATA-0x1 FILE_WRITE_DATA-0x2 FILE_APPEND_DATA-0x4
FILE_READ_EA-0x8 FILE_WRITE_EA-0x10 FILE_EXECUTE-0x20 FILE_DELETE_CHILD-0x40
FILE_READ_ATTRIBUTES-0x80 FILE_WRITE_ATTRIBUTES-0x100 DELETE-0x10000 READ_CONTROL-0x20000
WRITE_DAC-0x40000 WRITE_OWNER-0x80000 SYNCHRONIZE-0x100000
/pace =system ACCESS_ALLOWED_ACE_TYPE-0x0
CONTAINER_INHERIT_ACE-0x2 INHERIT_ONLY_ACE-0x8 OBJECT_INHERIT_ACE-0x1 INHERITED_ACE-0x10
Type of access:
Special acccess :
Detailed Access Flags :

/pace =S-1-5-21-436374069-1177238915-839522115-1003 ACCESS_ALLOWED_ACE_TYPE-0x0
INHERITED_ACE-0x10
Type of access:
Special acccess : -Read -Write -Execute -Delete -Change Permissions -Take Ownership
Detailed Access Flags :
FILE_READ_DATA-0x1 FILE_WRITE_DATA-0x2 FILE_APPEND_DATA-0x4
FILE_READ_EA-0x8 FILE_WRITE_EA-0x10 FILE_EXECUTE-0x20 FILE_DELETE_CHILD-0x40
FILE_READ_ATTRIBUTES-0x80 FILE_WRITE_ATTRIBUTES-0x100 DELETE-0x10000 READ_CONTROL-0x20000
WRITE_DAC-0x40000 WRITE_OWNER-0x80000 SYNCHRONIZE-0x100000
/pace =S-1-5-21-436374069-1177238915-839522115-1003 ACCESS_ALLOWED_ACE_TYPE-0x0
CONTAINER_INHERIT_ACE-0x2 INHERIT_ONLY_ACE-0x8 OBJECT_INHERIT_ACE-0x1 INHERITED_ACE-0x10
Type of access:
Special acccess :
Detailed Access Flags :


Now I'm lost and I pray for someone to have the solution, because I have a lot of information
in those folders that I need to recover.

I ofcourse could have prevented this by doing frequent backups, but last one is unfortunately more than a year old. Stupid me )

Thanks in advance!
Viking8000

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Problem solved

by Viking8000 In reply to User access permission - ...

No worries, after long and heavy studying I've solved the problem. It's all about using a combination of SUBINACL and XCACLS. Hard work but possible. Thanks to anyone having thought about this.

Regards
Frederik

Back to Windows Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums