Changing access permissions with xcacls,vbs

D

Delores

Hello group,

If this is not the correct group for my question, please suggest the
appropriate group.


I'm doing some service on a friend's computer. Windows has been
damaged in some way, to where I cannot get it to boot, even in safe
mode. Boot hangs part way through.

I took the hard drive of the computer with Windows damage and put in
another computer as a second drive, in order to save data files before
wiping drive and doing a fresh install of Windows.

One user has set their folders to private, so i cannot access them to
save the data contained within.

As I cannot boot to Windows on the computer wit the damage, i cannot
set that person's folders to be veiwable.

I did some looking on the Internet and found xcacls.vbs, which I
THINK I can use to change the folder's access permissions in DOS, so I
can then access te folder from my other computer.

I am very rusty with DOS and have been unable to get the correct
command sequence. I am simply trying to VIEW the folder and its
settings. Once I can do that, I'll tackle changing its permissions.

The setup is as follows:

Drive in question is F drive folder is called Danielle Robocti
and is located within Documents and Settings

I have xcacls.vbx located in root folder of F drive.

Have tried xcacls.vbc f:\Documents_and_Settings\Danielle_Robocti
and several variations, but keep getting told folder cannot be found.
I'm pretty sure I have not typed something quite right.

Hoping someone ca help with this. If so, perhaps you could also tell
me the command to allow access to the folder within Windows. That is,
take the "private" setting off of the folder.

If xcacls.vbs is not the right way to go about this, perhaps you
could suggest a way i COULD get access to the folder.


Any help anyone can offer would be much appreciated.

Thank you in advance fr any assistance you can offer

Delores
 
N

Nepatsfan

(e-mail address removed),
Delores said:
Hello group,

If this is not the correct group for my question, please
suggest the appropriate group.


I'm doing some service on a friend's computer. Windows has
been damaged in some way, to where I cannot get it to boot,
even in safe mode. Boot hangs part way through.

I took the hard drive of the computer with Windows damage
and put in another computer as a second drive, in order to
save data files before wiping drive and doing a fresh
install of Windows.

One user has set their folders to private, so i cannot
access them to save the data contained within.

As I cannot boot to Windows on the computer wit the damage,
i cannot set that person's folders to be veiwable.

I did some looking on the Internet and found xcacls.vbs,
which I THINK I can use to change the folder's access
permissions in DOS, so I can then access te folder from my
other computer.

I am very rusty with DOS and have been unable to get the
correct command sequence. I am simply trying to VIEW the
folder and its settings. Once I can do that, I'll tackle
changing its permissions.

The setup is as follows:

Drive in question is F drive folder is called Danielle
Robocti and is located within Documents and Settings

I have xcacls.vbx located in root folder of F drive.

Have tried xcacls.vbc
f:\Documents_and_Settings\Danielle_Robocti and several
variations, but keep getting told folder cannot be found.
I'm pretty sure I have not typed something quite right.

Hoping someone ca help with this. If so, perhaps you could
also tell me the command to allow access to the folder
within Windows. That is, take the "private" setting off of
the folder.

If xcacls.vbs is not the right way to go about this,
perhaps you could suggest a way i COULD get access to the
folder.


Any help anyone can offer would be much appreciated.

Thank you in advance fr any assistance you can offer

Delores

With the problem hard drive installed on your working computer
as a slave you need to take ownership of the folders you're
trying to save. Take a look here for the procedure:

How to take ownership of a file or folder in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;308421

"Access is Denied" Error Message When You Try to Open a Folder
http://support.microsoft.com/kb/810881

Note: If you are running Microsoft Windows XP Home Edition, you
must start the computer in safe mode, and then log on with an
account that has Administrative rights to have access to the
Security tab. To start in Safe Mode, reboot your computer and
start tapping the F8 key as soon as you see anything displayed
on the screen. Keep hitting F8 until the Advanced Startup
Options menu appears. Use the up and down arrow keys on your
keyboard to select Safe Mode. Hit Enter.

Good luck

Nepatsfan
 
S

Steven L Umbach

As Nepatsfan said you need to take ownership of those folders which will
grant you permissions to change permissions to the folders even if you don't
have any permissions to them. Then you want to add your user account or
administrators with full control permissions in the security page. When
taking ownership be sure to select the option to change owner on
subcontainers and objects. As far as xcacls.vbs try using quotes around the
path to the folder instead of using underscore in the spaces in the path
name as in xcacls.vbs "f:\Documents and Settings\Danielle Robocti". ---
Steve
 
D

Delores

On Tue, 30 May 2006 18:45:17 -0400, "Nepatsfan"


SNIP
With the problem hard drive installed on your working computer
as a slave you need to take ownership of the folders you're
trying to save. Take a look here for the procedure:

SNIP


Hello Nepatsfan. Thank you for your reply to my message. It did the
trick and I'll certaionly remember this simple procedure for the
future. I do a lot of work on computers for friends and its always
nice to learn new techniques for solving problems.


Delores
 
D

Delores

As Nepatsfan said you need to take ownership of those folders which will
grant you permissions to change permissions to the folders
SNIP

As far as xcacls.vbs try using quotes around the
path to the folder instead of using underscore in the spaces in the path
name as in xcacls.vbs "f:\Documents and Settings\Danielle Robocti".

SNIP


Hello Steve,

Thank you for your reply. As in my other reply, I tried what
Nepatsfan said and it worked great.

Thank you also for your info about using quotes around the path - that
also worked like a charm.

For my future reference ad general curiosity, COULD I have changed the
permissions on the folder in question and its sub folders using
xcacls ? if so, can you tell me the appropriate command switches to
do so and could you give me an example of the command to type ? As I
said, my DOs is very rusty and I never used much in the way of
switches ever, so dont know the correct syntax or layout for them.

Thank you again,


Delores
 
N

Nepatsfan

(e-mail address removed),
Delores said:
On Tue, 30 May 2006 18:45:17 -0400, "Nepatsfan"


SNIP


SNIP


Hello Nepatsfan. Thank you for your reply to my message. It
did the trick and I'll certaionly remember this simple
procedure for the future. I do a lot of work on computers
for friends and its always nice to learn new techniques for
solving problems.


Delores

You're welcome. Thanks for letting us know you were able to
recover those files.

Nepatsfan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top