Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Disk Cleanup using Group Policy

3,059 views
Skip to first unread message

Thomas

unread,
May 25, 2009, 1:17:35 PM5/25/09
to
Hi,

I would like to know, how to create a Group Policy to do a "Disk Clenaup"
(Cleaning Temp. Internet files, Temp. files, Temp. Offline files etc.) in
the local drive of the client PC's?

Thanks

Tom


Meinolf Weber [MVP-DS]

unread,
May 25, 2009, 1:33:05 PM5/25/09
to
Hello Thomas,

Check this one and use a scheduled task to run it:
http://support.microsoft.com/kb/315246

Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm

Florian Frommherz [MVP]

unread,
May 26, 2009, 2:00:31 AM5/26/09
to
Thomas,

Thomas schrieb:


> I would like to know, how to create a Group Policy to do a "Disk Clenaup"
> (Cleaning Temp. Internet files, Temp. files, Temp. Offline files etc.) in
> the local drive of the client PC's?

IE cleanup as well as offline files should be available in Group Policy
in those "Administrative Templates" branches. A history cleanup template
would be something along
--snip--

CLASS USER

CATEGORY "Custom IE settings"

POLICY "Delete temporary internet files when IE is closed?"
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet
Settings\Cache"
VALUENAME "Persistent"
VALUEON NUMERIC 0 VALUEOFF NUMERIC 1
END POLICY
END CATEGORY

--snap--

Be sure to not move too much into startup/shutdown or logon/logoff
scripting as that slows down bootup/shutdown a lot. People use to turn
off their machines if they take too long to respond/react to shutdown
commands. As long as you're just cleaning temp folders, you should be
okay - but please don't trigger defragmentation or large file moves from
scripts.

Cheers,
Florian
--
Microsoft MVP - Group Policy
eMail: prename [at] frickelsoft [dot] net.
blog: http://www.frickelsoft.net/blog.
Maillist (german): http://frickelsoft.net/cms/index.php?page=mailingliste

0 new messages