Shoutbox

Accessing a restricted folder - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: Accessing a restricted folder (/showthread.php?tid=49321)

Accessing a restricted folder by PenguinBoy on 08-22-2005 at 02:45 PM

on a friend's compter, trying to access an old "my documents" folder of a deleted user. the folder blocks access via dos etc etc. we're kinda lost in the registry, i'm pretty sure the answer is there, does anyone know how we can de-restrict it or a website which is an easy guide to the registry.

please note we have already tried the programme CMD, with the operation CACLS to access it, but alas this did not work.


RE: Accessing a restricted folder by Supersonicdarky on 08-22-2005 at 02:48 PM

are u sure you aren't just trying to hack someone's folder? :undecided:


RE: Accessing a restricted folder by PenguinBoy on 08-22-2005 at 02:54 PM

haha, no, well yes but it's his own folder he's trying to hack. Which dis-alowed him acess when the the file C:\windows\system32\config\system corrupted, and after he did a manual reset through deleting and copying a previous system file from teh system volume information, well just basically a manual system restore. it disallowed him acess to his documents, and instead created a new docuemnts folder for his user.

so no moral-conduct is being breeched by offering us much-needed help.


RE: Accessing a restricted folder by albert on 08-22-2005 at 02:56 PM

Shouldn't safe mode let u access the folder with no problem..?


RE: Accessing a restricted folder by PenguinBoy on 08-22-2005 at 03:13 PM

tried that aswell and alas yet again this does not work, what we really want is finding what needs changing in the registry.

we're thinking of creating a new user and asigning the currents folder as the my documents for that user... unless there's a better way


RE: Accessing a restricted folder by Fergy on 08-22-2005 at 03:15 PM

does your friend still know the password of the user's documents they are trying to access. If so, they could create a user with the same username and same password and gain access to the files. It was a method I had used when I transferred my documents on a portable hard drive.


RE: Accessing a restricted folder by Olixander on 08-22-2005 at 03:41 PM

Hullo, i am the guy who is trying to get into his file, sitting next to PenguinBoy, and just tried the thing Fergy suggesting and this has not worked. we SPECIFICALLY want information on what in the registry we have to change


RE: Accessing a restricted folder by kipper2258 on 08-22-2005 at 05:04 PM

I'm sure you can access anyones documents if you just log in as the administrator (or equliv.) - I have admin rights on our systems, and I can get into everyones with no problem.

Edit: Then you could just copy everything over.


RE: Accessing a restricted folder by mwe99 on 08-22-2005 at 05:08 PM

If you're folder is corrupted it wont load, and yes it you have the correct permissions as an admin you can access any folder you need to.


RE: Accessing a restricted folder by CookieRevised on 08-22-2005 at 06:25 PM

quote:
Originally posted by mwe99
If you're folder is corrupted it wont load, and yes it you have the correct permissions as an admin you can access any folder you need to.
No you can't. folders under the Documents and Settings can be encrypted. So unless you log in with exactly the same windows useraccount and password, that folder stays encrypted because it was encrypted with the name (and password) of that user. If the user doesn't exist anymore, Windows has no idea what to use the decypher the folder....

The only solution would be doing what Fergy suggested, nothing else can be done...



Doing a manual "system restore" (or better: overwriting system files like that) is not a good thing to do.... you should use system restore or a legit recovery disc (cd) or the Windows setup cd to fix such things... It is very well possible that you now have corrupted the directory beyond repair by trying to fix it manually...
RE: Accessing a restricted folder by Olixander on 08-22-2005 at 08:24 PM

First of all, that is the adminstrator account. to explain in full is when i got my computer some months ago i renamed it "Ollie" and thusly the file under which all my stuff was saved was in "C:\documents and settings\ollie" now a couple of months later i changed my user name to Olixander and this still had acess to my files, now when my system file corrupted and after i managed to get back on, the computer created me a new user documents file "C:\documents and settings\olixander" and disalowed me from acessing my old ones. And to add a note of urgency is that the file i cannot acess contains some very important pieces of work for A-Level, and im tooo lazy to have to re-write from scratch.
So far i have tried making a new account called Ollie but the pc calls this Ollie_2
I have tried using the programme cmd and the CACLS operation within it to grant me user rights but this has not worked and i know their not corrupted as i can get into "c:\documents and settings\ollie" by using the said programme but alas no further but only on someone elses account on the pc
I have tried going into safe mode an opening it and this did not work.
If there is any slightly "illegal" programme out there or some way of changing the registry i would forever be in your debt


RE: Accessing a restricted folder by CookieRevised on 08-22-2005 at 09:10 PM

This hasn't got anything todo with the registry (much). Accounts, passwords and stuff are mainly saved and handled by the Windows User Credentials. Tweaking the registry will not help...

CACLS is used to change the rights of other people towards the account your using this command with. Not vice versa as that would of course be a huge security hole.

PS: CMD is the DOS command prompt. It isn't a "program" per se.

----------------------------------

quote:
Originally posted by Olixander
So far i have tried making a new account called Ollie but the pc calls this Ollie_2
The directory name can be different, that doesn't matter. The important thing is that the credentials are the same as the old one (aka, the username and password)...

But as I can read from your post, you should not make a user named "Ollie", but "Olixander", as that was the last working username for that corrupted directory, so try that.
RE: Accessing a restricted folder by multimillion2k on 08-22-2005 at 09:11 PM

Here's a utility that makes recovering EFS files easier - EFS Key
It works in a similar way to fergy's method, it doesn't crack the encryptions or anything.


RE: Accessing a restricted folder by PenguinBoy on 08-22-2005 at 10:45 PM

Sorry, that didn't work :(:(

quote:
Originally posted by CookieRevised
This hasn't got anything todo with the registry (much). Accounts, passwords and stuff are mainly saved and handled by the Windows User Credentials. Tweaking the registry will not help...

CACLS is used to change the rights of other people towards the account your using this command with. Not vice versa as that would of course be a huge security hole.

PS: CMD is the DOS command prompt. It isn't a "program" per se.

----------------------------------

quote:
Originally posted by Olixander
So far i have tried making a new account called Ollie but the pc calls this Ollie_2
The directory name can be different, that doesn't matter. The important thing is that the credentials are the same as the old one (aka, the username and password)...

But as I can read from your post, you should not make a user named "Ollie", but "Olixander", as that was the last working username for that corrupted directory, so try that.


The previous username was "olixander" but had been changed from "ollie" so the user folder is called "ollie".

Olixander is the name of the user he's curently using, which does indeed have matching credentials to the previous, but it has created a new user area, and has restricted access to the old one because of the different name.  and i thought the registry was what asigned a folder to a user.


so what we're going to try is to create a new user with the name "Ollie" and matching credentials to the very original user

and then change the registry at HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders so that it leads to there.

then if it fails, try it with "ollixander"

will that not work?
RE: Accessing a restricted folder by CookieRevised on 08-22-2005 at 11:43 PM

quote:
Originally posted by PenguinBoy
The previous username was "olixander" but had been changed from "ollie" so the user folder is called "ollie".

Olixander is the name of the user he's curently using, which does indeed have matching credentials to the previous, but it has created a new user area, and has restricted access to the old one because of the different name.  and i thought the registry was what asigned a folder to a user.
yes, but the important credentials assigned and locked to a user account aren't stored in the registry, only the ("unimportant") folder names which don't have anything (or not much) to do with the encryption of those folders are stored in the registry. Those folder names aren't so close "attached" to the user account; you can change them to anything you like; they only provide a "reference" to the "name" of the folders...

(sorry for the heavy use of quotes, but those words aren't exactly technically accurate)

quote:
Originally posted by PenguinBoy
so what we're going to try is to create a new user with the name "Ollie" and matching credentials to the very original user. And then change the registry at HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders so that it leads to there. Then if it fails, try it with "ollixander"
will that not work?
I can only hope for you it will....

good luck
RE: Accessing a restricted folder by PenguinBoy on 08-23-2005 at 08:35 PM

another example of something being so simple that it's over looked...

he told me that he fixed it then he said

"while on safe mode, and on a administrator account, i right click on the file, then go to the security tab.
then it comes up with users allowed to go on it, and no one was there, so i just aded everyone. took 3seconds

but only on safe mode would it let you do this"


RE: Accessing a restricted folder by ShawnZ on 08-23-2005 at 11:00 PM

quote:
Originally posted by PenguinBoy
another example of something being so simple that it's over looked...

he told me that he fixed it then he said

"while on safe mode, and on a administrator account, i right click on the file, then go to the security tab.
then it comes up with users allowed to go on it, and no one was there, so i just aded everyone. took 3seconds

but only on safe mode would it let you do this"


You could probably do this if you turned off easy file sharing aswell...