Help with cacls in WinXP Home

From: Lance Belka (lance.belka_at_mail.com)
Date: 11/08/03


Date: Sat, 8 Nov 2003 12:25:04 -0800

Hi,

Here's my problem:
I had a laptop running windows XP Home. My girlfriend was
using it, and the battery went dead. When she plugged it
in, the power apparently shorted out, and the computer
will no longer start.

I'm trying to back the hard drive from the laptop up on a
desktop computer which is also running WinXP Home. The
most important files are in the desktop and documents
folders of my previous login (D:\Documents and
Settings\Lance\desktop\, etc.) . When I tried to open that
login's directory (D:\Documents and Settings\Lance), I got
the "access denied" message.

I tried a couple of things, including recreating my old
login with the same access privileges and and password.
That didn't work. So I read about the CACLS command, and
decided to try that. I logged in as administrator, opened
the command prompt, and went to the D: Drive. I typed:

cacls *.* /t /e /g everyone:f /c

At first, this seemed to work. It did give me access to
the main directory for the login, but all of the
subdirectories still denied me access.

I rebooted a couple of times, then I opened the command
prompt, went to the parent directory for my login
(D:\Documents and Settings\Lance) and again typed

cacls *.* /t /e /g everyone:f /c

Every file in the directory denied me access besides
ntuser.ini. Can anyone out there help me unlock the rest
of the files?



Relevant Pages

  • Re: Login session hasnt been abandoned after TIMEOUT time
    ... The login command is used at the beginning of each terminal ... session to identify oneself to the system. ... trying to kick off idle users. ...
    (comp.unix.solaris)
  • Re: Failsafe mode
    ... > and paste or failing that copy the message down character for ... >> If I exit out and log back in as my alternate user ... user command line prompt in the upper left corner and a black blank screen. ... If I ctl alt F1 I get the system login prompt. ...
    (alt.os.linux.suse)
  • [HPADM] SUMMARY "Users not active"
    ... Sysadm guy setup to remove old login file and keep only the current dated ... you'll have to modify the script to use alternate wtmp files. ... Now if you run the logins command you can get more info... ...
    (HP-UX-Admin)
  • Re: How can it be: cannot login as root when connected directly , but can login from other machines!
    ... When I entered, at the login prompt, the root as user name and the ... If you can not login as a regular user and 'su', ... Read the man pages for every command I've specified BEFORE using ...
    (comp.os.linux.setup)
  • [HPADM] RE: "Users not active"
    ... Use "last" command (this should taken care of it, my problem is the old Sysadm guy setup to remove old login file and keep only the current dated login file. ... using the getprpw command with a variable for $USER: ...
    (HP-UX-Admin)