Windows old как удалить windows 2012

Skip to content

How to remove the windows.old is still an issue on some servers. Well it is easy to remove but you will need a reboot.

How do I remove the Windows.old folder? <remove the windows.old>image

What you need to do is install the Desktop Experience Go to the server manager and add new feature

Find the Desktop Experience and add this you will need a reboot.

How do I remove the Windows.old folder? image

Get-WindowsFeature *desk*

install-WindowsFeature -Name Desktop-Experience –IncludeAllSubFeature

How do I remove the Windows.old folder?

Now that we installed the Desktop Experience there is a new option if you do properties on the C drive.

imageHow do I remove the Windows.old folder?

Press the Disk Cleanup and a quick scan will find all the info that we need to remove the previous Windows installation.

imageHow do I remove the Windows.old folder?

Now the Cleanup is running and after this I have 28.5 GB free space

How do I remove the Windows.old folder?image

Robert Smit is Senior Technical Evangelist and is a current Microsoft MVP in Clustering as of 2009.
Robert has over 20 years experience in IT with experience in the educational, health-care and finance industries.
Robert’s past IT experience in the trenches of IT gives him the knowledge and insight that allows him to communicate effectively with IT professionals
who are trying to address real concerns around business continuity, disaster recovery and regulatory compliance issues. Robert holds the following certifications:
MCT — Microsoft Certified Trainer, MCTS — Windows Server Virtualization, MCSE, MCSA and MCPS. He is an active participant in the Microsoft newsgroup community and is currently focused on Hyper-V, Failover Clustering, SQL Server, Azure and all things related to Cloud Computing and Infrastructure Optimalization.
Follow Robert on Twitter @ClusterMVP
Or follow his blog https://robertsmit.wordpress.com
Linkedin Profile Http://nl.linkedin.com/in/robertsmit

Robert is also capable of transferring his knowledge to others which is a rare feature in the field of IT. He makes a point of not only solving issues but also of giving on the job training of his colleagues.

A customer says » Robert has been a big influence on our technical staff and I have to come to know him as a brilliant specialist concerning Microsoft Products. He was Capable with his in-depth knowledge of Microsoft products to troubleshoot problems and develop our infrastructure to a higher level. I would certainly hire him again in the future. »

Details of the Recommendation: «I have been coordinating with Robert implementing a very complex system. Although he was primarily a Microsoft infrastructure specialist; he was able to understand and debug .Net based complext Windows applications and websites. His input to improve performance of applications proved very helpful for the success of our project
View all posts by Robert Smit [MVP]

  • Remove From My Forums
  • Вопрос

  • На файловом сервере Был сделан upgrade с версии Windows Server 2008 R2 на Windows Server 2012 R2. Все прошло успешно. После рестарта старая версия была перемещена в папку Windows.old. 

    Как удалить папку (Более 25 гигабайт) чтобы освободить место на загрузочном диске. Утилиты clenmgr.exe нет, а просто удалить не хватает прав. 

    Посоветуйте пожалуйста как корректно избавиться от папки Windows.old?

Ответы

  • Здравствуйте!

    У Вас скорее всего нет прав.

    Если Вы уверены, что хотите удалить данную папку на свой страх и риск, то:

    takeown /F c:Windows.old* /R /A /D Y
    cacls c:Windows.old*.* /T /grant administrators:F
    rmdir /S /Q c:Windows.old
    • Изменено

      23 ноября 2015 г. 12:30

    • Предложено в качестве ответа
      Zaza Abramov
      29 ноября 2015 г. 22:56
    • Помечено в качестве ответа
      Petko KrushevMicrosoft contingent staff, Moderator
      30 ноября 2015 г. 12:25

Skip to content

How to remove the windows.old is still an issue on some servers. Well it is easy to remove but you will need a reboot.

How do I remove the Windows.old folder? <remove the windows.old>image

What you need to do is install the Desktop Experience Go to the server manager and add new feature

Find the Desktop Experience and add this you will need a reboot.

How do I remove the Windows.old folder? image

Get-WindowsFeature *desk*

install-WindowsFeature -Name Desktop-Experience –IncludeAllSubFeature

How do I remove the Windows.old folder?

Now that we installed the Desktop Experience there is a new option if you do properties on the C drive.

imageHow do I remove the Windows.old folder?

Press the Disk Cleanup and a quick scan will find all the info that we need to remove the previous Windows installation.

imageHow do I remove the Windows.old folder?

Now the Cleanup is running and after this I have 28.5 GB free space

How do I remove the Windows.old folder?image

Robert Smit is Senior Technical Evangelist and is a current Microsoft MVP in Clustering as of 2009.
Robert has over 20 years experience in IT with experience in the educational, health-care and finance industries.
Robert’s past IT experience in the trenches of IT gives him the knowledge and insight that allows him to communicate effectively with IT professionals
who are trying to address real concerns around business continuity, disaster recovery and regulatory compliance issues. Robert holds the following certifications:
MCT — Microsoft Certified Trainer, MCTS — Windows Server Virtualization, MCSE, MCSA and MCPS. He is an active participant in the Microsoft newsgroup community and is currently focused on Hyper-V, Failover Clustering, SQL Server, Azure and all things related to Cloud Computing and Infrastructure Optimalization.
Follow Robert on Twitter @ClusterMVP
Or follow his blog https://robertsmit.wordpress.com
Linkedin Profile Http://nl.linkedin.com/in/robertsmit

Robert is also capable of transferring his knowledge to others which is a rare feature in the field of IT. He makes a point of not only solving issues but also of giving on the job training of his colleagues.

A customer says » Robert has been a big influence on our technical staff and I have to come to know him as a brilliant specialist concerning Microsoft Products. He was Capable with his in-depth knowledge of Microsoft products to troubleshoot problems and develop our infrastructure to a higher level. I would certainly hire him again in the future. »

Details of the Recommendation: «I have been coordinating with Robert implementing a very complex system. Although he was primarily a Microsoft infrastructure specialist; he was able to understand and debug .Net based complext Windows applications and websites. His input to improve performance of applications proved very helpful for the success of our project
View all posts by Robert Smit [MVP]

Вот правильный способ и корректная последовательность команд для удаления папки windows.old на серверных системах Windows:

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

cacls c:Windows.old*.* /T /grant administrators:F

rmdir /S /Q c:Windows.old

  1. takeown /F C:windows.old /R /D Y — в пути C:windows.old пропущен , очевидно

    Ответить

Добавить комментарий

Введите свой комментарий…

Заполните поля или щелкните по значку, чтобы оставить свой комментарий:

Gravatar

E-mail (обязательно) (Адрес никогда не будет опубликован)

Имя (обязательно)

Сайт

Логотип WordPress.com


Для комментария используется ваша учётная запись WordPress.com.
( Выход / 
Изменить )

Фотография Twitter


Для комментария используется ваша учётная запись Twitter.
( Выход / 
Изменить )

Фотография Facebook


Для комментария используется ваша учётная запись Facebook.
( Выход / 
Изменить )

Уведомлять меня о новых комментариях по почте.

Уведомлять меня о новых записях по почте.

  • Remove From My Forums
  • Question

  • Hi All,

    Some time ago a Server that I administer underwent an inplace upgrade to Windows Server 2012 R2.

    At the time a ‘Windows.old’ folder was generated on C drive. I can see that the last modified date on the folder is 22/10/2013 and I now want to remove it (to recover 15 Gigs of storage space).

    I have two questions about the ‘Windows.old’ folder;

    1). Can this be removed without affecting the current OS (e.g.: will not having access to C:Windows.oldWindowsWinSxS affect Windows patching / updating moving forward)?

    2). (assuming that point 1 is a resounding NO) Is there a best practise for removal of the ‘Windows.old’ folder?

    Any help will be greatly appreciated.

    Kind Regards,

    Davo

  • Remove From My Forums
  • Question

  • Hi All,

    Some time ago a Server that I administer underwent an inplace upgrade to Windows Server 2012 R2.

    At the time a ‘Windows.old’ folder was generated on C drive. I can see that the last modified date on the folder is 22/10/2013 and I now want to remove it (to recover 15 Gigs of storage space).

    I have two questions about the ‘Windows.old’ folder;

    1). Can this be removed without affecting the current OS (e.g.: will not having access to C:Windows.oldWindowsWinSxS affect Windows patching / updating moving forward)?

    2). (assuming that point 1 is a resounding NO) Is there a best practise for removal of the ‘Windows.old’ folder?

    Any help will be greatly appreciated.

    Kind Regards,

    Davo

  • Remove From My Forums
  • Question

  • Windows Server 2008 R2 upgraded to 2012 fine and I don’t want to go back.  I’d like to reclaim the space utilized by Windows.old.  Simply right clicking on it and choosing to delete it is blocked by security.  Is there another way? 
    How can this be done?  What tool exists to make this a simple process?


    Dale Unroe

    • Edited by

      Thursday, September 6, 2012 8:38 PM

Answers

  • thanks but Option 1 — Windows 2012 doesn’t have cleanmgr.exe application, and Option 2 — Access Denied

    …did not work

    Option 3 is not possible from this remote location and is a PITA in any case to boot in to Repair mode just to delete a directory

    …so I improvised and claimed ownership of the parent folder as well as ensured I had Full Control and that all child folders and files were altered to inherit these attributes — at that point I deleted the folder successfully


    Dale Unroe

    • Marked as answer by
      Dale DU-IT
      Friday, September 7, 2012 4:08 AM
  • Another obvious need missed by Microsoft. Honestly, did no one say «hey, I think the server admins want to recover 10GB of C drive space after an upgrade»?

    • Marked as answer by
      Dale DU-IT
      Wednesday, November 12, 2014 7:56 PM
  • Remove From My Forums
  • Question

  • Windows Server 2008 R2 upgraded to 2012 fine and I don’t want to go back.  I’d like to reclaim the space utilized by Windows.old.  Simply right clicking on it and choosing to delete it is blocked by security.  Is there another way? 
    How can this be done?  What tool exists to make this a simple process?


    Dale Unroe

    • Edited by

      Thursday, September 6, 2012 8:38 PM

Answers

  • thanks but Option 1 — Windows 2012 doesn’t have cleanmgr.exe application, and Option 2 — Access Denied

    …did not work

    Option 3 is not possible from this remote location and is a PITA in any case to boot in to Repair mode just to delete a directory

    …so I improvised and claimed ownership of the parent folder as well as ensured I had Full Control and that all child folders and files were altered to inherit these attributes — at that point I deleted the folder successfully


    Dale Unroe

    • Marked as answer by
      Dale DU-IT
      Friday, September 7, 2012 4:08 AM
  • Another obvious need missed by Microsoft. Honestly, did no one say «hey, I think the server admins want to recover 10GB of C drive space after an upgrade»?

    • Marked as answer by
      Dale DU-IT
      Wednesday, November 12, 2014 7:56 PM

Windows 11 Windows 10, version 20H2, all editions Windows Server, version 20H2, all editions Windows 10, version 21H1, all editions Windows 10, version 21H2, all editions Еще…Меньше

Сводка

Папка Windows.old содержит предыдущую версию Windows на вашем устройстве. Если вы хотите удалить предыдущую версию после обновления, проще всего использовать служба хранилища в приложении Параметры. Выполните действия, которые приведены ниже для вашей версии Windows операционной системы.

Windows 10

  1. Откройте Параметры.

  2. Выберите Система.

  3. Выберите служба хранилища.

  4. В разделе служба хранилища, выберитеИзменить автоматическое освободить место.

    альтернативный текст

  5. В разделе Освободить место сейчас, выберите удалить предыдущую версию Windows.

    альтернативный текст

  6. Затем выберите кнопку Очистить .

Windows 11

  1. Откройте Параметры.

  2. Выберите Система.

  3. Выберите служба хранилища.

  4. Выберите Рекомендации по очистке

  5. Выберите предыдущий Windows установки.

    альтернативный текст

  6. Затем выберите кнопку Очистка, которая отображает размер файла.

Нужна дополнительная помощь?

Сначала я попытался скопировать и запустить cleanmgr.exe (инструмент очистки диска), но у него слишком много зависимостей от библиотек DLL, которых нет в Core / Hyper-V Server.

Поэтому вместо этого я удалил каталог вручную.

Сначала я удалил все точки соединения и символические ссылки. Для этого я использовал junction.exe из SysInternals. Скопируйте исполняемый файл в каталог по вашему пути. Я запустил его, чтобы получить список всех соединений:

c:toolsjunction.exe -s -q C:windows.old > %temp%junc.txt

Я открыл PowerShell:

start powershell.exe

и запустил следующий скрипт, чтобы найти соответствующие строки и снова выполнить junction.exe:

 foreach ($line in [System.IO.File]::ReadLines("$env:tempjunc.txt"))
 {
     if ($line -match "^\\")
     {
         $file = $line -replace "(: JUNCTION)|(: SYMBOLIC LINK)",""
         & c:toolsjunction.exe -d "$file"
     }
 }

Это удалило все точки соединения и единственную символическую ссылку в моей системе.

Вернувшись в cmd.exe, я выполнил три команды, чтобы очистить разрешения и удалить все файлы:

 takeown /F C:windows.old /R /D Y
 cacls C:windows.old /T /G Everyone:F
 rd /s /q C:windows.old

В моем тесте я установил новый сервер Hyper-V 2012, затем обновил до 2012 R2, Windows.old теперь не работает, и система работает нормально со всеми старыми целевыми объектами соединения.

Папка «Windows Old» обычно появляется после обновления операционной системы на Windows 2012. В этой папке содержатся предыдущие версии файлов и настройки системы, которые были сохранены в случае, если что-то пойдет не так во время процесса обновления. Однако, когда обновление прошло успешно и все данные и программы работают правильно, папка «Windows Old» может занимать значительное объем места на жестком диске.

Оставление папки «Windows Old» на диске может влиять на производительность компьютера и занимать место, которое можно использовать более полезным образом. В этой инструкции вы узнаете, как удалить папку «Windows Old» в Windows 2012 и освободить дополнительное пространство на диске.

Прежде чем продолжить, необходимо убедиться, что все данные и программы, которые могут быть восстановлены из папки «Windows Old», уже были скопированы или сохранены в другом месте.

Пожалуйста, обратите внимание, что удаление папки «Windows Old» является необратимым действием. После удаления папки, восстановление данных или настроек из нее будет невозможно.

Содержание

  1. Удаление папки Windows Old в Windows 2012
  2. Шаг 1: Откройте Панель управления и найдите Параметры системы
  3. Шаг 2: Выберите вкладку «Дополнительные параметры системы»
  4. Шаг 3: Нажмите на кнопку «Очистить»

Удаление папки Windows Old в Windows 2012

При обновлении операционной системы Windows 2012 до новой версии, иногда создается папка с названием Windows Old, которая содержит старую версию системы. Эта папка занимает значительное место на жестком диске, и вам может потребоваться ее удалить, чтобы освободить место.

Вот инструкция о том, как удалить папку Windows Old в Windows 2012:

  1. Откройте проводник Windows, нажав клавишу Win + E.
  2. Перейдите в директорию, где расположена папка Windows Old. Обычно она находится в корневой директории системного диска (например, C:\).
  3. Щелкните правой кнопкой мыши на папке Windows Old и выберите опцию «Удалить».
  4. Подтвердите удаление папки, если вам будет предложено подтвердить.
  5. Дождитесь завершения процесса удаления. Время удаления папки может зависеть от ее размера и производительности вашего компьютера.

После завершения удаления папки Windows Old, вы освободите дополнительное место на диске. Однако, перед удалением папки, убедитесь, что вы не нуждаетесь в старой версии операционной системы или важных файлов, которые могли быть хранены в папке.

Шаг 1: Откройте Панель управления и найдите Параметры системы

Чтобы удалить папку Windows.old в Windows 2012, нужно открыть Панель управления. Это можно сделать следующим образом:

  1. Нажмите на кнопку «Пуск» в левом нижнем углу экрана.
  2. В появившемся меню найдите и щелкните на пункт «Панель управления».
  3. В открывшемся окне Панели управления найдите категорию «Система и безопасность».
  4. Щелкните на категории «Система и безопасность», чтобы раскрыть ее подкатегории.
  5. Найдите и щелкните на пункте «Система».

После выполнения этих действий вы откроете окно Параметры системы, в котором можно будет настроить различные параметры операционной системы.

Шаг 2: Выберите вкладку «Дополнительные параметры системы»

Чтобы удалить папку «windows old» в операционной системе Windows 2012, вам необходимо выполнить следующие шаги:

  1. Откройте меню «Пуск» и щелкните правой кнопкой мыши по значку «Компьютер».
  2. Выберите пункт «Свойства» в контекстном меню.
  3. Откроется окно «Система».
  4. В левой части окна выберите пункт «Дополнительные параметры системы».

После выполнения этих действий откроется окно «Свойства системы», в котором вы сможете продолжить процесс удаления папки «windows old».

Шаг 3: Нажмите на кнопку «Очистить»

После того как вы выбрали папку «Windows.old» и нажали правой кнопкой мыши на нее, в контекстном меню появится несколько опций. Выберите опцию «Очистить», чтобы начать процесс удаления выбранной папки.

При нажатии на кнопку «Очистить» вам может быть предложено подтвердить действие, так как удаление папки Windows.old является необратимым процессом. Если вы уверены, что хотите удалить ее, нажмите «Да», чтобы продолжить.

Раздел:

Выберите папку «Windows.old».

Раздел:

Нажмите правой кнопкой мыши на выбранную папку.

Раздел:

Выберите опцию «Очистить».

Раздел:

Подтвердите удаление папки Windows.old.

RRS feed

  • Remove From My Forums
  • Question

  • I’m trying to remove the windows.old folder on windows 2012 but I can’t find any information on the subject everything is for windows 8 or 7 or 6 or 5 or older crap but not windows 2012. Is windows 2012 a Microsoft product, cause help info is not to be had
    ….

    this is not a windows 7 issue it is a WINDOWS 2012 ISSUE….

    WAKE UP FOLKS….

Answers

    • Marked as answer by
      Cloud_TS
      Monday, December 17, 2012 5:42 AM

All replies

  • If you successfully installed the OS and you have gotten anything you might need from windows.old then delete it.  It’s there incase the installation of your new OS fails.  It will use those files to revert the installation and put things back
    exactly as they were before.

    • Marked as answer by
      Cloud_TS
      Monday, December 17, 2012 5:42 AM

I’ve been updating my various environments from Windows Server 2012 RTM or Preview releases (build 9431) of Windows Server 2012 R2 to the final bits. On some boxes I just use my scortched earth policy of leveling the partitions and starting from scratch – others I will do an install and use the same partition. You get the following dreaded message – which you dismiss and move on.

image

Sure – I’ll just go and delete that directory after a while and go about my merry way.

Unfortunately it is not that easy.

In Windows client environments, you can just kick off a “disk cleanup” routine and have it removed – saving you a dozen or more GB of space. Unfortunately, that Disk Cleanup does not exist in Windows Server 2012 / 2012 R2 Full GUI install, unless you add Desktop Experience.

image

Fear not. Once you have confirmed you need nothing from that old c:windows.old directory structure, you can manually delete it, with a little bit of extra effort.

Here’s how you do it.

1) 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.

2) 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

3) 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”
}
}

You should get the following scrolling by…

image

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

4) to take ownership use

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

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

How much space you get back will change based on your particular situation.  My last run at this saved me 15.5 GB of space on my OS drive.

Note: Kudos to Peter Hahndorf’s response on ServerFault.com on which this article was based.

  • Windows old где рабочий стол
  • Windows nt к какой категории программного обеспечения относится
  • Windows old как найти рабочий стол
  • Windows old windows 7 download
  • Windows old 000 что это за папка можно ли удалить