How To: Delete Windows.Old from an upgraded Windows 10 / Threshold system

Yup – I was wondering why I had disk space issues – turns out I had the same problem I documented in this post, once I upgraded my system from Windows 8.1 Update to Windows 10 Technical Preview (a.k.a. Windows 10).

I had Space Issues and Permissions Issues!


Let’s revisit that post for the quick steps on getting back your space:

Here’s how you do it.

  • Download Junction.EXE from Sysinternals. I extracted and saved it to c:source. You will use this tool to generate a list of all the junctions that have to be removed.
  • create a reference file that lists all the junction points and symbolic links in use by opening up a command prompt, changing into C:source and running

junction.exe –s –q c:windows.old >junctions.txt

  • open up PowerShell ISE administrator rights and RUN the following script to remove all symbolic links and junction points in c:windows.old.

foreach ($line in [System.IO.File]::ReadLines(“c:sourcejunctions.txt”))
if ($line -match “^\\”)
$file = $line -replace “(: JUNCTION)|(: SYMBOLIC LINK)”,””
& c:sourcejunction.exe -d “$file”

Now it’s some simple taking of ownership, granting rights and deleting windows.old to get your space back.

  • to take ownership use

takeown /F C:windows.old /R /D Y

  • delete c:windows.old – you now have permissions and ownership.

How much space you get back will change based on your particular situation.  I got back my 6 ish GB…

About author View all posts


Warning: sizeof(): Parameter must be an array or an object that implements Countable in D:\home\site\wwwroot\wp-content\plugins\projectnami-blob-cache\project-nami-blob-cache.php on line 416

Fatal error: Uncaught WindowsAzure\Common\ServiceException: Fail: Code: 400 Value: The account being accessed does not support http. details (if any): <?xml version="1.0" encoding="utf-8"?><Error><Code>AccountRequiresHttps</Code><Message>The account being accessed does not support http. RequestId:f1268f7f-f01e-00ac-0a4c-33e9d8000000 Time:2021-04-17T05:39:27.8989931Z</Message><AccountName>ritgcache</AccountName></Error>. in D:\home\site\wwwroot\wp-content\plugins\projectnami-blob-cache\library\WindowsAzure\Common\Internal\Http\HttpClient.php:382 Stack trace: #0 D:\home\site\wwwroot\wp-content\plugins\projectnami-blob-cache\library\WindowsAzure\Common\Internal\Http\HttpClient.php(275): WindowsAzure\Common\Internal\Http\HttpClient::throwIfError(400, 'The account bei...', '\xEF\xBB\xBF<?xml versio...', Array) #1 D:\home\site\wwwroot\wp-content\plugins\projectnami-blob-cache\library\WindowsAzure\Common\Internal\RestProxy.php(141): WindowsAzure\Common\Internal\Http\HttpClient->send(Array, Object(WindowsAzure\Common\Internal\ in D:\home\site\wwwroot\wp-content\plugins\projectnami-blob-cache\library\WindowsAzure\Common\Internal\Http\HttpClient.php on line 382