memototal.blogg.se

Root folder windows 10
Root folder windows 10













root folder windows 10

Icacls C:\$Windows.~WS\*.* /T /grant administrators:F If not exist "%SystemDrive%\$WINDOWS.~WS" ( Icacls C:\$Windows.~BT\*.* /T /grant administrators:F If not exist "%SystemDrive%\$WINDOWS.~BT" ( & echo ^>Press ANY key to return to the Options. & echo Delete the Windows.old Folder.Įcho. & echo =Įcho Delete Windows.old, $WINDOWS.~BT, or $WINDOWS.~WS Folders. & echo Right-click the Batch file and click ^. & echo ERROR: This Batch file MUST be run in an ELEVATED cmd prompt & echo. Title Delete System Folders - Written by Paul Black.Ĭd /d "%~dp0" & ( if exist "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs") & fsutil dirty query %systemdrive% 1>nul 2>nul || ( echo Set UAC = CreateObject^("Shell.Application"^) : UAC.ShellExecute "cmd.exe", "/k cd ""%~sdp0"" & %~s0 %params%", "", "runas", 1 > "%temp%\getadmin.vbs" & "%temp%\getadmin.vbs" & Exit /b)

root folder windows 10

:: # Created By: Paul Black at /members/paul-black.html # :: # Title: Delete Windows.old, $WINDOWS.~BT, or $WINDOWS.~WS Folders # If you delete the $Windows.~WS folder, it is recommended to also delete the Windows.old and $Windows.~BT folders to free up additional hard drive space.Ģ Copy and paste the commands below into the elevated command prompt one at a time, and press Enter after each command. If you delete the Windows.old, $Windows.~BT, and/or $Windows.~WS folder, you will no longer be able to go back to the previous version of Windows. You must be signed in as an administrator to delete the $Windows.~WS folder.

root folder windows 10

This tutorial will show you how to delete the $Windows.~WS folder in the root directory of the Windows 10 drive to free up hard drive space if needed. The $Windows.~WS folder contains essential files of the previous system version used to allow you to go back to the previous version of Windows. The WS in the $Windows.~ WS folder name stands for Windows Setup. The $Windows.~WS folder is a hidden folder that is created in the root directory of the Windows "C:" drive during the upgrade process to Windows 10. How to Delete $Windows.~WS folder in Windows 10















Root folder windows 10