![]() For 98% of people, this should be the C drive. Run the list volume command, then look for the drive letter of your Windows 10 drive under the ltr column. In your Command Prompt window, type diskpart and press Enter. One advantage of this method is that you won't need to take ownership of the folder. First, boot to Advanced Startup by following our dedicated guide. If you can't get take ownership to work, you can also delete Windows.old via Command Prompt at boot. How to Delete Windows.old Folder via a Command Prompt at Boot You can close the Command Prompt window when you're done. If you'd like to delete the Windows BT folder, repeat the command above but with the file path to BT instead: takeown /F "C:\$Windows.~BT\*" /A /R /D Y Once complete, you'll be able to type commands again from the C:\ drive.įinally, we can use the icals command to modify the access control list, followed by the folder selection command: icacls "C:\Windows.old" /grant *S-1-5-32-544:F /T /C /Q It should read something like: SUCCESS: The file (or folder): "C:\Windows.old\assembly\GAC_MSIL\." now owned by the administrators group. Run the following command to do so: takeown /F "C:\Windows.old" /A /R /D Y This is to avoid accidental deletion and modification.
0 Comments
Leave a Reply. |