Solved

Does deleting the user's profile in windows 7 delete user's data?

Posted on 2014-11-13
52
243 Views
Last Modified: 2015-01-16
Does deleting the user's profile in windows 7 delete user's data?
Thank you!
0
Comment
Question by:Mark88
  • 24
  • 9
  • 6
  • +4
52 Comments
 
LVL 8

Expert Comment

by:tshearon
ID: 40440275
Yes, if all the user's data is kept in My Documents and other folders that are part of the profile. So anything under c:\users\<username> is gone.
0
 
LVL 27

Expert Comment

by:Predrag Jovic
ID: 40440276
Depend on your answer to question - Do you want to save data.
Control panel - user accounts - manage another account - delete account
When you are deleting profile you will be asked to decide to flush or keep data.
0
 

Author Comment

by:Mark88
ID: 40440287
It didnt ask.  Im trying to get the data back now, if possible.
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 27

Expert Comment

by:Predrag Jovic
ID: 40440310
Delete dialogAlways asks.

You need to get some recovery tool.
get data back, recuva, active file recovery etc

Use as little system as possible - more you use - less is chance to return data.
When recovering files recover to second partition or another HDD.

Best chances you have if you boot system from another drive and start recovery (boot from USB drive or another HDD drive).
0
 
LVL 8

Expert Comment

by:tshearon
ID: 40440319
Did you have Volume shadow copy enabled? You can restore from previous versions.
0
 
LVL 27

Expert Comment

by:Predrag Jovic
ID: 40440329
At many PC with windows 7 I found that people turn on maintenance and create backup of personal data on D partition (or even whole system partition), and have no idea when they did it. If it is so that could be best but ... usually is not so...
0
 

Author Comment

by:Mark88
ID: 40440343
I never saw the dialog box.  I wonder if it's b/c the computer's here at work on the domain?

Tried Recuva but that didnt find much.  The laptop's been restarted a few times in the meantime though.
0
 
LVL 27

Expert Comment

by:Predrag Jovic
ID: 40440362
The more you use laptop more data you will lose. Turn off laptop, get out HDD drive and attach it to another PC, and then try to recover data.

There are many tools for recovery, I am satisfied with active recovery (saved my b.. more that one time). Many people put their trust in get data back.
You have demo to see if it can find data... and think of buy one :)
0
 

Author Comment

by:Mark88
ID: 40440374
"active recovery"  where is that?
0
 
LVL 27

Expert Comment

by:Predrag Jovic
ID: 40440378
0
 
LVL 6

Expert Comment

by:Rob G
ID: 40440509
Deleting a domain level profile off a machine, does NOT delete the users folders.
c:\users\ whatever the username was

Deleting a local profile and doing a cleanup deletes the local profiles data folder

Using a recovery tool to recover data from a users directory will likely not work, this is due to the UID information in the registry, if you recover and don't roll back, you can likely take ownership of the folder, and possibly get some of the data back, but you will never be able to log into that account again due to registry restrictions. Windows XP - 8.1 use a method of identification of profile data to associated UID's in the registry.

Another issue you will have, is if this is a laptop and encryption was enabled..
Just kiss that data good bye,..
0
 

Author Comment

by:Mark88
ID: 40443090
Rob, so what you are saying is that if you delete a profile, all the user's data remains?

I had the encryption turned off.
0
 
LVL 6

Expert Comment

by:Rob G
ID: 40443142
That's correct.. (2k, XP, Vista, 7) (I don't know in 8 or 8.1 since i refuse to use them)
The User data will remain if you remove the user from the system.. In a domain profile.
In a User, local user profile, if you delete the user off the machine, and do not do a profile cleanup the user data will still exist in the User data folder under the Root of the Installation path.
If you remove the User from a Domain Controller, the User folder on all desktops that user has logged into, will still exist.. Only it may no longer show the users name, and show an unknown UID number. If you were to add another user, with the same username back to AD, however, you will not get the same profile as the UID is specific to each user, and not based on specifically the user name.

In addition to that information,
The UID is stored in the registry under HKLU which will be directly associated with that UID.
As far as i know there is no way to re-associate the UID with a new user, without substantial registry work.

You should however be able to log into the system as a local admin
In 2k and Xp go to C:\Documents and settings\ either the username or UID and take ownership of the folder under the folder security.
In Vista-7 you would go to C:\User\ Either the Username or UID and take ownership there.

NOTE: taking ownership on a HUGE profile can take some time to complete.
0
 

Author Comment

by:Mark88
ID: 40443214
Where did all his files go then?
0
 
LVL 6

Expert Comment

by:Rob G
ID: 40443246
Did he remove the profile himself?
Or did you do it?
What steps did you do to do it?

Was it a domain profiles?
was it local?
what os?

I can create you a video showing you how i can delete a profile on any OS you want.. and go grab the profile data if you would like?
0
 

Author Comment

by:Mark88
ID: 40443335
I removed it in show profiles in Windows 7this is a domain profile. I did not do any registry changes
0
 
LVL 6

Expert Comment

by:Rob G
ID: 40443438
I dunno man..
I just did a test..
Created three accounts, logged into them.. 1 local 1 domain, and one roaming..
Each one still has profile data in the USERS directory after removing them from:

Control Panel\All Control Panel Items\User Accounts\manage user accounts

Sounds like who ever did the removal, deleted the sub-folder under the Users directory..
0
 
LVL 3

Expert Comment

by:Mike Sun
ID: 40443649
So it may be worth a quick check by right-clicking parent folder for the profiles (e.g. c:\users), select "Restore previous versions" then "Open" an older copy if visible. Browsing there will hopefully give you an easy recovery option assuming  your VSS (Volume Shadow copy Service) is working.
0
 

Author Comment

by:Mark88
ID: 40443752
I used System Properties > Settings > User Profiles > Settings.

Nothing in Restore prev versions
0
 
LVL 3

Expert Comment

by:Mike Sun
ID: 40443771
Not under >User Profiles > Settings but using Windows Explorer and right-click e.g. the Users folder where the profiles are usually found...
0
 

Author Comment

by:Mark88
ID: 40443837
Oh sorry, nothing under prev versions under Users > user.name folder.
0
 

Author Comment

by:Mark88
ID: 40445178
I thought I remember in the past, deleting the profile and NOT seeing all the user's data gone.

Are we all in agreement on this?
0
 
LVL 3

Expert Comment

by:Mike Sun
ID: 40445419
Deleting the profile is an option when you delete the user but deleting the profile under "System Properties - Advanced tab - User Profiles" will delete all the user's data leaving the user without a profile and ready to receive a new default one...
0
 
LVL 27

Expert Comment

by:Predrag Jovic
ID: 40445592
So, now question is ...
Which method of removing user's profile author did use?
:)
Some methods ask you to keep data, others don't...
0
 

Author Comment

by:Mark88
ID: 40446080
Depends on if it's on a domain
0
 

Author Comment

by:Mark88
ID: 40446512
This was a domain computer.   I didnt think deleting the profile is supposed to delete the data.  What is everyoen saying tonight?
0
 

Author Comment

by:Mark88
ID: 40455551
Ok just did a test on a loaner with an end user's account and it does delete all the data in the account.  :(
0
 
LVL 6

Expert Comment

by:Rob G
ID: 40455646
Mark,
It must be based on your group policy, because on mine, it does not delete the user data when i run a test here..
0
 

Author Comment

by:Mark88
ID: 40456520
What type of GP settings?
0
 

Author Comment

by:Mark88
ID: 40456521
We need to change it if it's set like that
0
 
LVL 6

Expert Comment

by:Rob G
ID: 40457190
Policies will be located here:
Computer configuration:
Administrative templates:
system:
user profiles:

Or...

User Configuration:
Administrative Template:
system:
User profiles:

The listings in these two locations are the settings in a 2k8R2 AD scenario.

There are more listed in 2k12..


You can alternately follow this link and do the opposite..

http://www.petenetlive.com/KB/Article/0000602.htm
0
 

Author Comment

by:Mark88
ID: 40462803
Ok Rob, thanks.  I am working with my manager on this to come up with a next step.  Possibly working with the server team
0
 

Author Comment

by:Mark88
ID: 40467285
Just out of curiosity, why are there people saying that deleting the profile will and will not delete the data?
What's the difference here?
0
 
LVL 44

Expert Comment

by:Darr247
ID: 40480908
You should ask the admins to add the topic area[s] covering the server[s] running your domain.
e.g.

Small Business Server

2003 Server

Server 2008

Server 2012
0
 
LVL 45

Expert Comment

by:Craig Beck
ID: 40485876
If a user has stored data in profile folders and the profile is a local profile (stored on the machine), deleting the profile will delete the user's data which is stored in those folders.  If the user saved in a non-profile folder, such as C:\ (for example) those files will remain.

If a user has a domain-based roaming profile, whichever folders are synced will remain intact on the server.  Any unsynced folders and files will be deleted.

If the user had a mandatory profile, the user's data would likely be stored in a shared folder (much like a home drive), so it will remain intact.

These profile settings will be configured via GPO (in the case of roaming or mandatory).  Local profiles are the default, so if no GPO exists that's what you'll be using.
0
 

Author Comment

by:Mark88
ID: 40485882
the user's data does not follow them but stays on their one computer in our domain.  Is there any reason the data would disappear in this situation?
0
 
LVL 45

Expert Comment

by:Craig Beck
ID: 40485931
Yes.  It sounds like you're using local profiles so delete the profile, delete the data.
0
 

Author Comment

by:Mark88
ID: 40496682
ok, and you're completely sure of that then?  
We have competing opinions in the thread.
0
 
LVL 45

Expert Comment

by:Craig Beck
ID: 40497050
Yes, unless you store data in folders that aren't My Docs, Pictures, etc.
0
 

Author Comment

by:Mark88
ID: 40500573
Ok thank you.  

Why do we have such competing answers in this thread?
0
 
LVL 27

Accepted Solution

by:
Predrag Jovic earned 500 total points
ID: 40500596
Why do we have such competing answers in this thread?
Does windows ask you or not to save profile data, obviously depends on the way you delete profile.

Your first question was:
Does deleting the user's profile in windows 7 delete user's data?
I always delete profile from user accounts - that way windows 7 ask you to save profile data or not.
(I already attached picture with windows message)

Deleting profile from:
System properties --> User profiles --> Settings
Deleting profile from there don't ask you to save user data.

When you involve Domain (that's not how I understood starting question), things get even more complex.

Everyone is used to some way of performing deleting profile, and everyone is giving you answer according to the way that is familiar to them (I know I did, I am always asked - do I want to save data :)) .
Some ways of deleting profile ask you to save profile data, other don't.
0
 

Author Comment

by:Mark88
ID: 40501292
Predrag jovic, Ive never seen that come up when deleting a profile
0
 
LVL 27

Expert Comment

by:Predrag Jovic
ID: 40501350
Create another profile, then log in that profile.
After that log in another profile and go to control panel - user accounts - manage another profile and delete just created profile ... and you will see that message. :)
0
 

Author Comment

by:Mark88
ID: 40501450
Ok so that's different than rightclick Computer > Properties > Adv System Settings > User Profiles > Settings > Delete?
0
 
LVL 27

Expert Comment

by:Predrag Jovic
ID: 40501558
Yes.
Why don't you try both ways yourself?
0
 

Author Comment

by:Mark88
ID: 40501575
There are six accts on this computer but only one shows up under your way.
0
 

Author Comment

by:Mark88
ID: 40515258
Why is that?
0
 

Author Closing Comment

by:Mark88
ID: 40553630
This only partially answers the question.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Know what services you can and cannot, should and should not combine on your server.
Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html?cid=Gene_Skyport) provided 218 attendees with a step-by-step guide for…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question