Page 2 of 2 FirstFirst 12
  1.    06 Aug 2016 #11
    Join Date : Aug 2016
    Posts : 40
    windows 10

    If I were you I would not do anything to the windows old folder. I had one pc that when I removed it, the pc then completely refused to boot.
      My ComputerSystem Spec
  2.    06 Aug 2016 #12
    Join Date : Aug 2015
    Posts : 105
    W10
    Thread Starter

    Mystere,
    That is not what was happening to me! I rebooted many times and still could not delete windows.old. Windows kept saying that one of the files in windows.old was in use and it WAS according to the registry entry pointing to windows.old for one of the Intel VGA drivers. Like I said above, I only had the problem on machines that used the Intel on chip video.

    davefaz,
    That's probably why you had an issue deleting windows.old. The update left the registry with a key driver or whatever pointing to the windows.old folder.
    Last edited by Ken429; 07 Aug 2016 at 04:38.
      My ComputerSystem Spec
  3.    23 Oct 2016 #13
    Join Date : Dec 2015
    Posts : 2
    win10x64

    Make a backup first...
    Then try this script.
    Copy it and save it into a notepad file.
    Rename it to whatever_you_like.bat
    Run it and press yes.

    It will remove the windows.old folder.

    Tell me if this worked ...

    Code:
    @echo off
    
    :: BatchGotAdmin
    :-------------------------------------
    REM  --> Check for permissions
    >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
    
    REM --> If error flag set, we do not have admin.
    if '%errorlevel%' NEQ '0' (
        echo Requesting administrative privileges...
        goto UACPrompt
    ) else ( goto gotAdmin )
    
    :UACPrompt
        echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
        echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs"
    
        "%temp%\getadmin.vbs"
        exit /B
    
    :gotAdmin
        if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )
        pushd "%CD%"
        CD /D "%~dp0"
    :--------------------------------------
    
    rem pause
    
    takeown /f "C:\Windows.old" /r
    
    icacls "C:\Windows.old" /reset /T
    
    attrib -r -a -s -h C:\Windows.old /S /D
    
    RD /S /Q %SystemDrive%\windows.old
      My ComputerSystem Spec
  4.    19 Nov 2016 #14
    Join Date : Nov 2016
    Posts : 1
    Windows10 x64

    Quote Originally Posted by gvp9000 View Post
    Make a backup first...
    Then try this script.
    Copy it and save it into a notepad file.
    Rename it to whatever_you_like.bat
    Run it and press yes.

    It will remove the windows.old folder.

    Tell me if this worked ...

    Code:
    @echo off
    
    :: BatchGotAdmin
    :-------------------------------------
    REM  --> Check for permissions
    >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
    
    REM --> If error flag set, we do not have admin.
    if '%errorlevel%' NEQ '0' (
        echo Requesting administrative privileges...
        goto UACPrompt
    ) else ( goto gotAdmin )
    
    :UACPrompt
        echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
        echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs"
    
        "%temp%\getadmin.vbs"
        exit /B
    
    :gotAdmin
        if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )
        pushd "%CD%"
        CD /D "%~dp0"
    :--------------------------------------
    
    rem pause
    
    takeown /f "C:\Windows.old" /r
    
    icacls "C:\Windows.old" /reset /T
    
    attrib -r -a -s -h C:\Windows.old /S /D
    
    RD /S /Q %SystemDrive%\windows.old
    I had the same problem as the OP did, and your script worked like a charm. I had to run it twice to complete the entire process. I did it with Build 14971.
      My ComputerSystem Spec
  5.    27 Apr 2017 #15
    Join Date : Aug 2015
    Posts : 212
    windows 10

    Interesting. What does one do to run it? It seems removing the Windows.old Folder even after Windows has automatically removed the contents, can cause the computer not to reboot. Why does Microsoft have it this way. This Windows.old file should simply be able to be removed and no problems. But others have had grief where their computers will not reboot after removing Windows.old.
    And what about this Folder called Windows10Upgrade? Is it safe to remove this one or will this cause the computer to suddenly burst into a ball of flame?
      My ComputerSystem Spec
  6.    27 Apr 2017 #16
    Join Date : Jul 2015
    Posts : 9,034
    Windows 10 Pro

    I've had some trouble in the past removing the Windows.old folder, but I have never had a computer fail to boot after removing it. For really stubborn folders that don't want to delete, I boot into either Kyhi's recovery tools or a Linux USB flash drive and delete them from there. Windows 10 Upgrade folder can definitely be removed, that is just the upgrade assistant program.
      My ComputerSystem Spec
  7.    27 Apr 2017 #17
    Join Date : Aug 2015
    Posts : 212
    windows 10

    Microsoft just cleaned up my Windows.old Folder which left me with with 15 Gigs of free space. Before Windows automatically cleaned it up, it was showing 32 plus Gigs of space in that folder. After the automatic cleanup in, not 10 days or 30 days but 14 days, the Folders are still there. I just got off the phone with Microsoft Support and they're telling me not to remove either of those Folders (Windows.old / Windows10Upgrade). They're saying because of previous problems with removing that, Microsoft has changed the rules and advising people (and aliens) not to remove it now.
    I'm one of the ones who did indeed have serious problems after removing it last time with the Anniversary Update. My computer simply wouldn't reboot.
    So I am going to take the advice of Microsoft and leave them there folders right where they are. I'll still be interested to hear the reaction to this.
      My ComputerSystem Spec

 
Page 2 of 2 FirstFirst 12


Similar Threads
Thread Forum
Solved Windows 10 Anniversary Update
I have read other threads on this subject and have not found the solution to my problem in them. The Windows 10 Anniversary Upgrade Assistant Icon appeared on my desktop. I began the process to update and received the error, SOMETHING WENT WRONG...
Installation and Upgrade
Windows Update does not download and install the anniversary update.
I am downloading the update manually. Have others had the same issue with windows update not showing the update? I'm not sure my WU is working because of this.
Windows Updates and Activation
First one with windows 10 anniversary update
Who will it be? With no glitches. What time? Where are you located? What do you really notice improved over old 10? If you are a paying customer, did you get your monies worth? Are loading times (software and boot speeds). Add your questions if you...
General Support
Windows 10 Anniversary Update SDK Now Available!
Source: Windows 10 Anniversary Update SDK Now Available! Windows Store Open for Submissions | Building Apps for Windows
Windows 10 News
Delete the C:\$Windows.~BT and C:\Windows.old directory
Hi In Windows 10, how do I delete the C:\$Windows.~BT and C:\Windows.old directory? Thanks Bye
Installation and Upgrade
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 04:17.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums