Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Problem with deleting account profile - cannot delete folder

Windows Server Help


Reply
 
Thread Tools Search this Thread
  #1  
Old 12-07-2008
Censored Syndrome
 
Posts: n/a
Problem with deleting account profile - cannot delete folder

I deleted an account using DELPROF from the Resource Kit, but it exited with
an error, saying that the directory was not empty, or something like that.

The user account folder in Documents and Settings was still there, but only
containing an empty folder called Cookies.

I cannot delete Cookies in explorer or the command line - Access Denied.

The Properties for the folder does not have a Sharing or Security tab, so I
cannot take ownership that way. Only the General and Customise tabs appear.

I cannot use CACLS to take ownership either - Access Denied.

I cannot delete the user profile folder that contains this undeletable
Cookies folder using RD Cookies /S - Access Denied.

Also, the original account that I deleted, with only these two nest empty
folders remaining, still appears with NET USER. I suppose because DELPROF
did not complete, there are still some registry entries for it in the HKU
hive, or something?

How do I delete this weird folder, and will I be able to remove the profile
from the NET USER list by running DELPROF again after I do delete it?

Cheers

ss.



Reply With Quote
  #2  
Old 12-07-2008
Pegasus \(MVP\)
 
Posts: n/a
Re: Problem with deleting account profile - cannot delete folder


"Censored Syndrome" <synapse@NOSPAMsyndrome.me.uk> wrote in message
news:OZzFCo%234IHA.2348@TK2MSFTNGP06.phx.gbl...
>I deleted an account using DELPROF from the Resource Kit, but it exited
>with an error, saying that the directory was not empty, or something like
>that.
>
> The user account folder in Documents and Settings was still there, but
> only containing an empty folder called Cookies.
>
> I cannot delete Cookies in explorer or the command line - Access Denied.
>
> The Properties for the folder does not have a Sharing or Security tab, so
> I cannot take ownership that way. Only the General and Customise tabs
> appear.
>
> I cannot use CACLS to take ownership either - Access Denied.
>
> I cannot delete the user profile folder that contains this undeletable
> Cookies folder using RD Cookies /S - Access Denied.
>
> Also, the original account that I deleted, with only these two nest empty
> folders remaining, still appears with NET USER. I suppose because DELPROF
> did not complete, there are still some registry entries for it in the HKU
> hive, or something?
>
> How do I delete this weird folder, and will I be able to remove the
> profile from the NET USER list by running DELPROF again after I do delete
> it?
>
> Cheers
>
> ss.


Reboot the machine, then log on under an account other than the
one you have a problem with.


Reply With Quote
  #3  
Old 13-07-2008
Censored Syndrome
 
Posts: n/a
Re: Problem with deleting account profile - cannot delete folder

"Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
news:u4dMCm$4IHA.776@TK2MSFTNGP04.phx.gbl...
>>I deleted an account using DELPROF from the Resource Kit, but it exited
>>with an error, saying that the directory was not empty, or something like
>>that.
>>
>> The user account folder in Documents and Settings was still there, but
>> only containing an empty folder called Cookies.
>>
>> I cannot delete Cookies in explorer or the command line - Access Denied.
>>
>> The Properties for the folder does not have a Sharing or Security tab, so
>> I cannot take ownership that way. Only the General and Customise tabs
>> appear.
>>
>> I cannot use CACLS to take ownership either - Access Denied.
>>
>> I cannot delete the user profile folder that contains this undeletable
>> Cookies folder using RD Cookies /S - Access Denied.
>>
>> Also, the original account that I deleted, with only these two nest empty
>> folders remaining, still appears with NET USER. I suppose because
>> DELPROF did not complete, there are still some registry entries for it in
>> the HKU hive, or something?
>>
>> How do I delete this weird folder, and will I be able to remove the
>> profile from the NET USER list by running DELPROF again after I do delete
>> it?
>>

>
> Reboot the machine, then log on under an account other than the
> one you have a problem with.


After I rebooted, I tried deleting the folder from the Administrator account
again, and it deleted as normal. The username still appeared under NET USER
though.

I tried DELPROF again, but it did not find the profile. I then used NET
USER <username> /delete, and then it was gone.

What is the difference between using DELPROF and NET USER <username>
/delete?

Cheers

ss.


Reply With Quote
  #4  
Old 13-07-2008
Pegasus \(MVP\)
 
Posts: n/a
Re: Problem with deleting account profile - cannot delete folder


"Censored Syndrome" <synapse@NOSPAMsyndrome.me.uk> wrote in message
news:eo5cVjF5IHA.2060@TK2MSFTNGP02.phx.gbl...
> "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
> news:u4dMCm$4IHA.776@TK2MSFTNGP04.phx.gbl...
>>>I deleted an account using DELPROF from the Resource Kit, but it exited
>>>with an error, saying that the directory was not empty, or something like
>>>that.
>>>
>>> The user account folder in Documents and Settings was still there, but
>>> only containing an empty folder called Cookies.
>>>
>>> I cannot delete Cookies in explorer or the command line - Access Denied.
>>>
>>> The Properties for the folder does not have a Sharing or Security tab,
>>> so I cannot take ownership that way. Only the General and Customise
>>> tabs appear.
>>>
>>> I cannot use CACLS to take ownership either - Access Denied.
>>>
>>> I cannot delete the user profile folder that contains this undeletable
>>> Cookies folder using RD Cookies /S - Access Denied.
>>>
>>> Also, the original account that I deleted, with only these two nest
>>> empty folders remaining, still appears with NET USER. I suppose because
>>> DELPROF did not complete, there are still some registry entries for it
>>> in the HKU hive, or something?
>>>
>>> How do I delete this weird folder, and will I be able to remove the
>>> profile from the NET USER list by running DELPROF again after I do
>>> delete it?
>>>

>>
>> Reboot the machine, then log on under an account other than the
>> one you have a problem with.

>
> After I rebooted, I tried deleting the folder from the Administrator
> account again, and it deleted as normal. The username still appeared
> under NET USER though.
>
> I tried DELPROF again, but it did not find the profile. I then used NET
> USER <username> /delete, and then it was gone.
>
> What is the difference between using DELPROF and NET USER <username>
> /delete?
>
> Cheers
>
> ss.


As a server administrator you need to be aware that a user account
is one thing and a user profile is another. Usually the two exist together
but you can easily have one without the other:
- A user who has never logged on will have an account but no profile folder.
- A user whose account gets deleted with "net use xxx /del" will have a
profile folder but no account.


Reply With Quote
  #5  
Old 13-07-2008
Censored Syndrome
 
Posts: n/a
Re: Problem with deleting account profile - cannot delete folder

"Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
news:umE78JG5IHA.4988@TK2MSFTNGP04.phx.gbl...
>
> As a server administrator you need to be aware that a user account
> is one thing and a user profile is another. Usually the two exist together
> but you can easily have one without the other:
> - A user who has never logged on will have an account but no profile
> folder.
> - A user whose account gets deleted with "net use xxx /del" will have a
> profile folder but no account.


I think you meant NET USER, not NET USE.

Thanks for the clarification. I am not actually a network administrator as
such, although I do some network administration as a CAD consultant. I'm an
architect.

ss.


Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Problem with deleting account profile - cannot delete folder"
Thread Thread Starter Forum Replies Last Post
Error Deleting File or Folder. Cannot delete (FILE): Access denied rasena MediaCenter 3 21-03-2012 09:10 AM
Deleting the Redundant Network Profile through the Desktop and Laptop running Windows 7? Faisgha Hunry Networking & Security 3 11-01-2011 03:05 AM
Deleting IE7 updates from folder C:\WINDOWS will create any problem Wannabe Technology & Internet 3 16-06-2009 01:09 PM
Unable to delete user profile folder using default Admin. account Robert Windows XP Support 6 23-03-2009 07:45 PM
Can i change my email address without deleting profile Abhiraj Technology & Internet 4 04-03-2009 11:56 AM


All times are GMT +5.5. The time now is 12:40 PM.