Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

GPO - delete all old locale user profiles

Posted on 2014-11-25
4
Medium Priority
?
126 Views
Last Modified: 2014-11-25
Hello,

I asking a question about gpo. I wanna delete all  locale user profiles on every computers with a gpo after X times.

Is it possible, or should i creat a batch/powershell file that'll be launch at startup?

Thanks for your time.
0
Comment
Question by:Pinpindesbois
  • 2
4 Comments
 
LVL 84

Expert Comment

by:David Johnson, CD, MVP
ID: 40464952
Use User Profile Deletion Utility to delete stale user profiles
http://technet.microsoft.com/en-us/magazine/2009.05.utility.aspx
0
 
LVL 25

Accepted Solution

by:
NVIT earned 2000 total points
ID: 40464982
after X times
Do you mean after X days?

You can use DELPROF:
http://www.microsoft.com/en-us/download/details.aspx?id=5405

You can run DELPROF remotely:
https://helgeklein.com/blog/2008/12/deleting-user-profiles-correctly/

Delprof is not compatible with Windows 7 and 2008 R2. For Windows 7 and 2008 R2, you can use https://helgeklein.com/free-tools/delprof2-user-profile-deletion-tool/
0
 

Author Comment

by:Pinpindesbois
ID: 40465092
Oh nice! how to target an OU? Seems not possible :(
0
 
LVL 25

Expert Comment

by:NVIT
ID: 40465161
I haven't tested this but, maybe for the OU you can call it from the Computer Configuration > Policies > Windows Settings > Scripts > Startup
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article covers how to install the Microsoft Windows Operating System (OS). What is covered in this article:  > Different Versions and Editions of the Windows OS  > Upgrading versus Fresh Installation of the OS           - Steps to take pr…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
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). …

824 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