Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: GPO: delete user profile older than... do not work!

03 Feb 2012   #1
HugePan

Windows 7
 
 
GPO: delete user profile older than... do not work!

In our company we are using the following group policy: "delete user profile older than a specified number of days on system restart".

The specified number of days is set for 30 days.

Lately I noticed that the mention GPO do now work as I expected.

On, Properties for Computer >> Advanced system settings (on the left side) >> Settings for User Profiles (in the middle), the account is always deleted after the specified number of days in the group Policy (30day).

But on the C:\ drive, C:\Users the user account is still there. So if the same user, logs in to the computer, the user will have a profile in the following syntax: username.domain

I've been googling for 1week without any success. I ran into the following KB article of Microsoft: The "Modified time" file attribute of a registry hive file is updated when an application loads and then unloads the registry hive file without making any changes on a computer that is running Windows Server 2008 R2 or Windows 7 but If I want to install the MSU file, I do not succeed.

All clients have Windows 7 SP1. It was mentioned that the Microsoft patch on the KB article is implemented on the Service Pack 1 for Windows 7.

I have no ideas what to do.
Can anyone of you help me further?`

Thank you very much.

HugePan


My System SpecsSystem Spec
.
03 Feb 2012   #2
FliGi7

XP / Win7 x64 Pro
 
 

Is it that the policy isn't running/working, or is it that the date on the profiles isn't aging properly?

Edit: In the meantime, see if this might be a solution you could use...

Delete User Profile
My System SpecsSystem Spec
04 Feb 2012   #3
HugePan

Windows 7
 
 

Hi,

No the GPO is working. Running RSOP.MSC do not prompt any error and it says that the policy takes effect.

So I see that some folders has been modified by a third program. Maybe this is the reason why the won't delete.
But I also have folders which have only Appdata within. (just Appdata without ntuser.dat or the files which are actually there. I see unrecommended files by windows so this is not view fault.)

Now I'm really perplexed. some folders were modified and some has just an appdata which were not been modified and is still there.

So I don't know where to look for a solution.

Thanks for your help.

HugePan
My System SpecsSystem Spec
.

29 Mar 2012   #4
johnwalshjr1

Windows 7 32bit
 
 

I am experiencing the same exact issue. has anyone found an answer to this?
My System SpecsSystem Spec
03 Apr 2012   #5
ljyoung

Windows 7 Enterprise 64bit
 
 

I'm also having this problem, the GPO to delete profiles older than x days is running, but it's leaving the users folder behind.

When I check these profile folders, the only thing that's consistent is they each have an appdata folder with subfolders. However the subfolders are not consistent. Sometimes it's just Local, others it's Local and LocalLow, and the subfolders of these are different, sometimes going into office, adobe, google, or java folders. No files exist at all, just these random left over folders.
My System SpecsSystem Spec
16 Apr 2012   #6
gordo

Windows 7 64 bit
 
 

We are seeing the same issues on a test lab in our school environment. The profiles in the registry seem to be deleting but many profile names with the appdata folder remain. Anyone have any ideas on how to get the c:\users\username folder to delete when running this group policy??
My System SpecsSystem Spec
03 May 2012   #7
johnwalshjr1

Windows 7 32bit
 
 

does anyone have Smart Notebook installed onto their machines? I was having an issue here untill i updated to v11, which seems to have fixed the situation. The touch input service seems like it was locking up and hanging on to all the other user profiles.
My System SpecsSystem Spec
15 May 2012   #8
gordo

Windows 7 64 bit
 
 

We do use Smart Notebook but it is not installed on any of the computers that we are having the profile issue with. We gave up on the group policy setting and are now using Delprof2 and running it as a scheduled task once a week. It's been working great so far.
My System SpecsSystem Spec
Reply

 GPO: delete user profile older than... do not work!




Thread Tools




Similar help and support threads
Thread Forum
User Profile Service failed the logon. User profile cannot be loaded.
Fix "The User Profile Service failed the logon. User profile cannot be loaded." Error in Windows 7 A user profile is a collection of settings that make the computer look and work the way you want it to for a user account. It contains the account's settings for desktop backgrounds, screen...
Tutorials
Registry Entry to delete specific User Profile entries
I work for a University as a Lab Manager where we have over 300 computers running Domain Profiles. We have begun updating from XP to 7 and started to notice TEMP profiles being created. I have figured out how to resolve the issue by going to the registry ...
General Discussion
Delete User Profile
Hi all, I'd like to delete students cached profile when they log out. Apparently, delprof.exe does not with with Win7, and the method has been replaced with the GPO setting ComputerConfig>Admin Templates>System>User Profiles>Delete Cached Copies of Roaming Profiles. However, this is happening...
General Discussion
Cannot Delete User Profile Folder in Previous Location
Hi All, I just recently got a new bigger SSD to use as my boot drive. I wanted to move my User Profile over to my secondary HDD to help save room on the SSD. I used Brink's tutorial User Profile - Change Default Location (which was great by the way) in order to do this. Everything worked out...
General Discussion
Temp user profile, previous files gone - regedit didn't work
Hey I woke up today to my computer logging me into a temp profile. Searched and read about the regedit stuff where you delete the .bak and rename the same one with .bak. Tried making a new admin profile to access the stuff on my old profile but it's not there. Made sure nothing was hidden...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 02:10.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App