none
Delete Temp Files on all domain client system using GPO

    Question

  • hi

    I have windows server 2012 R2 and 4000 client systems running windows 7 or XP i want to delete temp files on all that systems using Group policy 

    How is it possible 

    Help

    Wednesday, December 09, 2015 7:32 AM

Answers

All replies

  • Hi,
     
    Am 09.12.2015 um 08:32 schrieb Pawar.Akshay:
    > I have windows server 2012 R2 and 4000 client systems running windows 7
    > or XP i want to delete temp files on all that systems using Group policy
    > How is it possible
     
    Use UserConfig\Preferences\GPP Folders
    -> Delete %temp%
     
    The folder will be re-created
     
    Mark
    --
    Mark Heitbrink - MVP Windows Server - Group Policy
     
    GPO Tool: http://www.reg2xml.com - Registry Export File Converter
     
    Wednesday, December 09, 2015 8:07 AM
  • Hi,
     
    Am 09.12.2015 um 08:32 schrieb Pawar.Akshay:
    > I have windows server 2012 R2 and 4000 client systems running windows 7
    > or XP i want to delete temp files on all that systems using Group policy
    > How is it possible
     
    Use UserConfig\Preferences\GPP Folders
    -> Delete %temp%
     
    The folder will be re-created
     
    Mark
    --
    Mark Heitbrink - MVP Windows Server - Group Policy
     
    GPO Tool: http://www.reg2xml.com - Registry Export File Converter
     
    Wednesday, December 09, 2015 8:07 AM
  • Hi,
     
    Am 09.12.2015 um 08:32 schrieb Pawar.Akshay:
    > I have windows server 2012 R2 and 4000 client systems running windows 7
    > or XP i want to delete temp files on all that systems using Group policy
    > How is it possible
     
    Use UserConfig\Preferences\GPP Folders
    -> Delete %temp%
     
    The folder will be re-created
     
    Mark
    --
    Mark Heitbrink - MVP Windows Server - Group Policy
     
    GPO Tool: http://www.reg2xml.com - Registry Export File Converter
     
    Wednesday, December 09, 2015 8:51 AM
  • Hi Pawar. Akshay,

    The setting that we want to focus on can be found under either the Computer Configuration node or the User Configuration node(depending on the users rights on the computers). The path to our setting is the same under each node: Preferences\Windows Settings\Folders.

    When you get to this node, right-click Folders, then select the New - Folder. This will open up the New Folder Properties. Within this policy, you will need to configure the Action of the policy, as well as the path to the folder that you want to control initially.

    As Mark said, it will re-created, but group policy occurs every 90 minutes (give or take 30 minutes either way) on all computers that process Group Policy.

    Best Regards,

    Mary Dong


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Thursday, December 10, 2015 1:51 AM
    Moderator
  • Am 10.12.2015 um 02:51 schrieb Mary Dong:
    > As Mark said, it will re-created, but group policy occurs every 90
    > minutes (give or take 30 minutes either way) on all computers that
    > process Group Policy.
     
    Add Item Level Target to apply it only in Foreground processing. ;-)
     
    Mark
    --
    Mark Heitbrink - MVP Windows Server - Group Policy
     
    GPO Tool: http://www.reg2xml.com - Registry Export File Converter
     
    Thursday, December 10, 2015 8:47 AM