WINDOWS SERVER 2012 / 2012 R2 GUI TIPS / WINDOWS.OLD

Source: https://itworldjd.wordpress.com/

Tips and Tricks:

Tip#2: http://www.boche.net/blog/index.php/2012/08/16/microsoft-windows-server-2012-tips/

Tip#1: After in-place upgrade on Windows 2008 r2 server, I noticed that there’s a Windows.old folder in my System drive which takes around 10-20GB of space !

image

now that I have already upgraded in to Server 2012 / R2 and confirmed that all my applications / file are available, I decided to delete Windows.old folder.

Best way to do this, is to use Disk Cleanup Tool.

Start –> Search for “Disk Cleanup” and run this program (If you cannot to locate this program you need to install Desktop Experience Featureshttp://social.technet.microsoft.com/wiki/contents/articles/15221.enabling-disk-cleanup-utility-in-windows-server-2012.aspx)

image

On driver selection, select your System Drive

image

Now you will notice that there’s “Previous Windows Installations & Windows Upgrade log files” options available on Disk Cleanup. you can select both of them and click “ok”

image

you will get a prompt to confirm whether you want to delete. Hit “ok” and proceed.

image

this will clear windows.old folder and free up disk space on your system drive.

else

Removing the Windows.old uninstall cache without installing Desktop Experience

Unfortunately you can no longer copy/paste the two cleanmgr.exe files out of WinSxS like you used to be able to do with 2008 (the store is compressed). I found that a few loops of the following will eventually remove the Windows.old upgrade cache from the root of the OS drive.

:: This is very slow as it is disk intensive: run out of hours!!
takeown /F C:windows.old /R /D Y
takeown /F c:Windows.old* /R /A /D Y
takeown /F C:windows.old /R /D Y
takeown /F c:Windows.old* /R /A /D Y
cacls C:windows.old /T /G Administrators:F
rd /s /q C:windows.old

p.s. run each line manually, the above is not setup as a batch script and will ask for yes / no input. Several runs may be required.

Advertisements
MyXenApp

A blog dedicated to Citrix technology

There's More to the Story: a blog about LIFE, chronic illness, and Mental Health

I’m the loud and relentless "patient" voice and advocate they warned you about. I happen to have type 1 diabetes, ADHD, anxiety, OCD, PCOS, endometriosis, thyroid issues, asthma, allergies, lactose intolerance (and more), but there’s more to story.

DeployWindows

Sharing knowledge in deploying, troubleshooting and managing Windows

Dirk & Brad's Windows Blog

Microsoft Platform How To's, Best Practices, and other Shenanigans from Highly-qualified Windows Dorks.

Ingmar Verheij

About Citrix, Remote Desktop, Performance, Workspace, Monitoring and more...

CloudPundit: Massive-Scale Computing

the business of Internet infrastructure, cloud computing, and data centers

UCSguru.com

Every Cloud Has a Tin Lining.

speakvirtual

See no physical, hear no physical, speak no physical - speakvirtual.com

IT BLOOD PRESSURE

IT can be easy

Ask the Architect

My workspace journey

blog.scottlowe.org

The weblog of an IT pro specializing in virtualization, storage, and servers

akosijesyang

a place under control of his big head

this is... The Neighborhood

the Story within the Story

Yellow Bricks

by Duncan Epping

THE SAN GUY

Enterprise Storage Engineer

My Virtual Vision

My thoughts on application delivery