Windows 10: How do I delete old user profile folders by date i.e. any profiles older the 30 days from a...

Discus and support How do I delete old user profile folders by date i.e. any profiles older the 30 days from a... in Windows 10 Software and Apps to solve the problem; I am trying to find a way to delete old user profiles from windows machines machine by date ie older then 30 days using either a GPO or a PS scriptThe... Discussion in 'Windows 10 Software and Apps' started by Paul Northcott, Jun 9, 2025 at 6:22 PM.

  1. How do I delete old user profile folders by date i.e. any profiles older the 30 days from a...


    I am trying to find a way to delete old user profiles from windows machines machine by date ie older then 30 days using either a GPO or a PS scriptThe GPO does not seem to work and the scripts that I have tried all seem to fail as well

    :)
     
    Paul Northcott, Jun 9, 2025 at 6:22 PM
    #1

  2. Delete user profile after x days GPO for Win10

    Computer Configuration -> Policies -> Administrative Templates -> System -> User Profiles

    • "Delete user profiles older than a specified number of days on system restart"
    This GPO is supposed to delete any user profile older than x amount of days but fails to do so because my antivirus will run a scan on the profile and update the "last modified" property. Apparently there's a KB(983544) that fixes this issue in Windows
    7 but it's not compatible with Windows 10. Any help with this would be greatly appreciated!
     
    Harvard James III, Jun 9, 2025 at 6:28 PM
    #2
  3. v444 Win User
    script to delete users profile

    A1- i guess local. (please check the attachment,i'm following those steps to do it, if it helps you to figure out if it's on PC or local)
    A2- no i don't need logs.

    Full user delete.docx
     
  4. GMC7700 Win User

    How do I delete old user profile folders by date i.e. any profiles older the 30 days from a...

    Deleted User but Cannot Remove Profile Folder

    None of this works. Silly me for deleting the profile via control panel.

    So when I go to the systempropertiesadvanced, the profile is not listed.

    When I go to the registry keys, the profile is not listed there either.

    But the c::\users\ has the folders that I cannot delete.
     
Thema:

How do I delete old user profile folders by date i.e. any profiles older the 30 days from a...

Loading...
  1. How do I delete old user profile folders by date i.e. any profiles older the 30 days from a... - Similar Threads - delete old user

  2. How do I delete old user profile folders by date i.e. any profiles older the 30 days from a...

    in Windows 10 Gaming
    How do I delete old user profile folders by date i.e. any profiles older the 30 days from a...: I am trying to find a way to delete old user profiles from windows machines machine by date ie older then 30 days using either a GPO or a PS scriptThe GPO does not seem to work and the scripts that I have tried all seem to fail as well...
  3. How do I switch the user profile?

    in Windows 10 Network and Sharing
    How do I switch the user profile?: I have a desktop computer that runs on Windows. I'm lending it to someone for a few months. They'll need to access some of the files I have in my account. I know very little about computers so I have a few questions. Is it possible to sign out and sign into a different...
  4. How do I switch the user profile?

    in Windows 10 Gaming
    How do I switch the user profile?: I have a desktop computer that runs on Windows. I'm lending it to someone for a few months. They'll need to access some of the files I have in my account. I know very little about computers so I have a few questions. Is it possible to sign out and sign into a different...
  5. How do I switch the user profile?

    in Windows 10 Software and Apps
    How do I switch the user profile?: I have a desktop computer that runs on Windows. I'm lending it to someone for a few months. They'll need to access some of the files I have in my account. I know very little about computers so I have a few questions. Is it possible to sign out and sign into a different...
  6. How to Delete a User Profile

    in Windows 10 Network and Sharing
    How to Delete a User Profile: I know nothing about softwares and how they work., let alone this whole OneDrive thing. I have a new notebook and I copied some files from an external hard drive. I didn't realise that it was saving everything to OneDrive. I got a message to say that my OneDrive had run out...
  7. Can I delete temporary User Profiles and folders from Users directory?

    in User Accounts and Family Safety
    Can I delete temporary User Profiles and folders from Users directory?: I am trying to determine whether I can delete TEMP User Profiles. One of my Win 10 Pro machines was updated to Version 1903 last night. After rebooting and trying to log in, I received the message "The User Profile Service service failed the sign-in." I was about the try...
  8. How do I delete a user profile and related files

    in Windows 10 Customization
    How do I delete a user profile and related files: What are the risks of deleting a profile and its related files in Windows 10? Are there any issues I should be careful about? https://answers.microsoft.com/en-us/windows/forum/all/how-do-i-delete-a-user-profile-and-related-files/818f9d11-acfc-4f12-a531-6253e5faa823
  9. How do I change a user profile to a child safety profile

    in User Accounts and Family Safety
    How do I change a user profile to a child safety profile: Hi I setup a W10 machine with a default profile, just going through the default process without too much thought but I should have set it up as Child Suitable. There in only one user profile and the log-on is not linked to an email address. Some games and Apps have...
  10. can't delete old user profiles

    in User Accounts and Family Safety
    can't delete old user profiles: help please i cant delete the old profile name in user/ folder microsoft tech support ruined it 85151