Can't Delete LCU Folder

Steve C

Active member
Member
VIP
Local time
1:39 PM
Posts
102
In Windows 10 I like. to delete the large contents of the LCU folder after each update here C:\Windows\servicing\LCU

Windows 11 won't let me delete the file since I get the message shown below. How can I force this deletion?

Update - I used the reg file fix on Ten Forums to add Take Ownership to the right click menu, took ownership then was able to delete the file.

1628059018201.png
 

My Computer

System One

  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inspiron 7537
    CPU
    Core i7 Mobile i7-4500U
    Motherboard
    Dell
    Memory
    8 GB
    Graphics Card(s)
    Intel HD & NVidia GPU
    Screen Resolution
    1920 x 1080
    Hard Drives
    500 GB Samsung Evo SSD
    Internet Speed
    100 Mb / s
    Browser
    Chrome
    Antivirus
    Defender

Fabler2

Well-known member
Member
VIP
Local time
1:39 PM
Posts
581
In Windows 10 I like. to delete the large contents of the LCU folder after each update here C:\Windows\servicing\LCU

Windows 11 won't let me delete the file since I get the message shown below. How can I force this deletion?

Update - I used the reg file fix on Ten Forums to add Take Ownership to the right click menu, took ownership then was able to delete the file.

View attachment 4773


Took ownership of the package.

Screenshot_3.png

Screenshot_4.png
 

My Computers

System One System Two

  • Operating System
    Win 10 Home
    Computer type
    Laptop
    Manufacturer/Model
    ASUS VivoBook
    CPU
    AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx
    Motherboard
    ASUSTeK COMPUTER INC. X509DA (FP5)
    Memory
    12GB
    Graphics Card(s)
    RX Vega 10 Graphics
    Monitor(s) Displays
    Generic PnP Monitor (1920x1080@60Hz)
    Screen Resolution
    1920x1080@60Hz
    Hard Drives
    INTEL SSD 660p 512GB NVMe
    Internet Speed
    25 Mbps
    Browser
    Edge
    Antivirus
    Defender
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    ACER
    CPU
    AMD Ryzen 7 5800H / 3.2 GHz
    Motherboard
    CZ Scala_CAS (FP6)
    Memory
    16 GB (2 x 8 GB) DDR4 SDRAM 3200 MHz
    Graphics card(s)
    NVIDIA GeForce RTX 3060 6 GB GDDR6 SDRAM
    Sound Card
    Realtek Audio. NVIDIA High Definition Audio
    Monitor(s) Displays
    15.6" LED backlight 1920 x 1080 (Full HD) 144 Hz
    Screen Resolution
    1920 x 1080 (Full HD)
    Hard Drives
    1.024 TB SSD M.2 2280 - Samsung
    PSU
    180 Watt, 19.5 V
    Mouse
    Logitech
    Internet Speed
    25 Mbps
    Browser
    Edge
    Antivirus
    Defender

Steve C

Active member
Member
VIP
Thread Starter
Local time
1:39 PM
Posts
102
Your edit and my post posted at same time. :giggle:
I would have deleted the post but don't seem to have the power to delete my own post
 

My Computer

System One

  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inspiron 7537
    CPU
    Core i7 Mobile i7-4500U
    Motherboard
    Dell
    Memory
    8 GB
    Graphics Card(s)
    Intel HD & NVidia GPU
    Screen Resolution
    1920 x 1080
    Hard Drives
    500 GB Samsung Evo SSD
    Internet Speed
    100 Mb / s
    Browser
    Chrome
    Antivirus
    Defender

jbcarreon123

C:\>sudo apt install chrome
Member
VIP
Local time
8:39 PM
Posts
681
Location
Quezon City, Philippines
I would have deleted the post but don't seem to have the power to delete my own post
Deleting the thread (or the post 1) is not possible so you should ask on the administrators here.
 

My Computer

System One

  • Operating System
    Windows 10, Windows 10 Ghost Spectre, Windows 11 (multi-boot)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Vostro 270s
    CPU
    Core i3 2100 3.2Ghz
    Memory
    4gb DDR3-1333
    Graphics Card(s)
    iGPU
    Sound Card
    Realtek
    Monitor(s) Displays
    HP Compaq LA2006x
    Screen Resolution
    900p
    Internet Speed
    10MBit/s
    Browser
    Chrome, FFox and my homemade browser IE11-based
    Antivirus
    WD
    Other Info
    Second-hand PC,
    No TPM, having WDDM 1.2, unsupported CPU.
    Installed Windows 11 using the registry hack..
    Clean installed even Windows 10

Bree

Well-known member
Power User
VIP
Local time
1:39 PM
Posts
923
Location
S/E England, UK
Took ownership of the package.

There is an easier solution that, now we have just had another CU, I've been able to test.

The trick is, before the next CU, to change the permissions of the LCU folder itself and give Administrators Full control (by default they only have read/execute/list).

From then on you no longer need to take ownership of each new package, they inherit permission from the LCU folder so can be deleted with your existing admin permissions.
 

My Computers

System One System Two

  • Operating System
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB HDD
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. A test migration ran Insider builds for 2 months. When 11 was released on 5th October it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Lattitude E4310
    CPU
    i5 M 520
    Motherboard
    0T6M8G
    Memory
    4GB
    Screen Resolution
    1366x768
    Hard Drives
    500GB HDD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.

AndreTen

Well-known member
Member
VIP
Local time
2:39 PM
Posts
211
System / Storage / Temporary files / Remove files (disk cleanup) doesn't work for you?

Just tested, and it cleaned the LCU folder from 1 GB to 300 MB

Edit: and these files and folder can usually be deleted from inside Treesize
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro, Windows 11 Dev
    Computer type
    PC/Desktop
    Manufacturer/Model
    Homebuilt
    CPU
    Intel I3 10100
    Motherboard
    ASUS B460M
    Memory
    16 GB DDR4 Crucial
    Graphics Card(s)
    Intel on chip
    Sound Card
    Realtek onboard
    Monitor(s) Displays
    ASUS 24, LG 24
    Screen Resolution
    Full HD x 2
    Hard Drives
    kingston A2000 NVMe PCIe 500 GB
    PSU
    LC Power 650W
    Case
    Noname
    Cooling
    Air 2x 120mm
    Keyboard
    Cherry G-81
    Mouse
    Logitech M500
    Internet Speed
    100/20
    Browser
    Firefox, Vivaldi
    Antivirus
    MS Defender
  • Operating System
    Windows 10 Home
    Computer type
    Laptop
    Manufacturer/Model
    ASUS/Vivobook Flip 14
    CPU
    Ryzen 7 4700u
    Memory
    8 GB DDR4
    Graphics card(s)
    AMD Vega
    Sound Card
    Realtek onboard
    Monitor(s) Displays
    14"
    Screen Resolution
    FullHD
    Hard Drives
    512 Samsung NVMe PCIe
    PSU
    -
    Case
    Laptop
    Mouse
    Touchpad, Touchscreen
    Internet Speed
    100/20
    Browser
    Firefox, Vivaldi
    Antivirus
    MS Defender

TairikuOkami

Well-known member
Member
VIP
Local time
2:39 PM
Posts
163
Location
Trnava, SK
LCU folder keeps only the latest CU. I tried to clean it twice. I always ended up with broken windows updates.

capture_08272021_222137.jpg
 

My Computer

System One

  • Operating System
    Windows 11 Home
    CPU
    AMD Ryzen 5 3600 (07/19)
    Motherboard
    MSI B450 TOMAHAWK 7C02v1H6 (07/19)
    Memory
    4x 8GB ADATA XPG GAMMIX D10 DDR4 3200MHz CL16
    Graphics Card(s)
    MSI Radeon RX 580 ARMOR 8G OC (08/19)
    Sound Card
    Creative Sound Blaster Z (11/16)
    Monitor(s) Displays
    24" AOC G2460VQ6 (01/19)
    Screen Resolution
    1920×1080@75Hz + FreeSync (DisplayPort)
    Hard Drives
    ADATA XPG GAMMIX S11 Pro SSD 512GB (07/19)
    PSU
    Seasonic M12II-520 80 Plus Bronze (11/16)
    Case
    Lian Li PC-7NB + 3x Noctua NF-S12A FLX@700rpm (11/16)
    Cooling
    CPU Cooler Noctua NH-U12S@700rpm
    Keyboard
    HP Pavilion Wireless Keyboard 600 (05/21)
    Mouse
    HP Wireless Silent 280M Mouse (05/21)
    Internet Speed
    300/30 Mbps via RouterOS (05/21) + TCP Optimizer
    Browser
    Microsoft Edge
    Antivirus
    None
    Other Info
    Headphones: Sennheiser RS170 (09/10) + Software: https://tinyurl.com/7hkjyhsj

Bree

Well-known member
Power User
VIP
Local time
1:39 PM
Posts
923
Location
S/E England, UK
System / Storage / Temporary files / Remove files (disk cleanup) doesn't work for you?
That will remove all but the latest CU package. Some of us like to keep or systems even smaller to save on system image space and time, so delete the latest one manually. The longer a Windows version has been around, the larger its CUs will be. In W10 a single CU package is now about 1GB.
 

My Computers

System One System Two

  • Operating System
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB HDD
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. A test migration ran Insider builds for 2 months. When 11 was released on 5th October it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Lattitude E4310
    CPU
    i5 M 520
    Motherboard
    0T6M8G
    Memory
    4GB
    Screen Resolution
    1366x768
    Hard Drives
    500GB HDD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.

AndreTen

Well-known member
Member
VIP
Local time
2:39 PM
Posts
211
That will remove all but the latest CU package. Some of us like to keep or systems even smaller, so delete the latest on manually. The longer a Windows version has been around, the larger its CUs will be. In W10 a single CU is now about 1GB.
TairikuOkami posted above, that it can affect Windows update...
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro, Windows 11 Dev
    Computer type
    PC/Desktop
    Manufacturer/Model
    Homebuilt
    CPU
    Intel I3 10100
    Motherboard
    ASUS B460M
    Memory
    16 GB DDR4 Crucial
    Graphics Card(s)
    Intel on chip
    Sound Card
    Realtek onboard
    Monitor(s) Displays
    ASUS 24, LG 24
    Screen Resolution
    Full HD x 2
    Hard Drives
    kingston A2000 NVMe PCIe 500 GB
    PSU
    LC Power 650W
    Case
    Noname
    Cooling
    Air 2x 120mm
    Keyboard
    Cherry G-81
    Mouse
    Logitech M500
    Internet Speed
    100/20
    Browser
    Firefox, Vivaldi
    Antivirus
    MS Defender
  • Operating System
    Windows 10 Home
    Computer type
    Laptop
    Manufacturer/Model
    ASUS/Vivobook Flip 14
    CPU
    Ryzen 7 4700u
    Memory
    8 GB DDR4
    Graphics card(s)
    AMD Vega
    Sound Card
    Realtek onboard
    Monitor(s) Displays
    14"
    Screen Resolution
    FullHD
    Hard Drives
    512 Samsung NVMe PCIe
    PSU
    -
    Case
    Laptop
    Mouse
    Touchpad, Touchscreen
    Internet Speed
    100/20
    Browser
    Firefox, Vivaldi
    Antivirus
    MS Defender

Bree

Well-known member
Power User
VIP
Local time
1:39 PM
Posts
923
Location
S/E England, UK
LCU folder keeps only the latest CU. I tried to clean it twice. I always ended up with broken windows updates.
TairikuOkami posted above, that it can affect Windows update...
I routinely delete the latest CU package from LCU on all my half dozen or so machines. Been doing that for more than a year now without any problems. The only downside of deleting the latest one is that you can no longer uninstall it in Control Panel.
 

My Computers

System One System Two

  • Operating System
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB HDD
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. A test migration ran Insider builds for 2 months. When 11 was released on 5th October it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Lattitude E4310
    CPU
    i5 M 520
    Motherboard
    0T6M8G
    Memory
    4GB
    Screen Resolution
    1366x768
    Hard Drives
    500GB HDD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.

TairikuOkami

Well-known member
Member
VIP
Local time
2:39 PM
Posts
163
Location
Trnava, SK
Do you delete all CU's backups? There are usually ~3 copies in those locations as well:
Code:
%WINDIR%\Installer\$PatchCache$
%WINDIR%\SoftwareDistribution\Download
%WINDIR%\WinSxS\Backup
 

My Computer

System One

  • Operating System
    Windows 11 Home
    CPU
    AMD Ryzen 5 3600 (07/19)
    Motherboard
    MSI B450 TOMAHAWK 7C02v1H6 (07/19)
    Memory
    4x 8GB ADATA XPG GAMMIX D10 DDR4 3200MHz CL16
    Graphics Card(s)
    MSI Radeon RX 580 ARMOR 8G OC (08/19)
    Sound Card
    Creative Sound Blaster Z (11/16)
    Monitor(s) Displays
    24" AOC G2460VQ6 (01/19)
    Screen Resolution
    1920×1080@75Hz + FreeSync (DisplayPort)
    Hard Drives
    ADATA XPG GAMMIX S11 Pro SSD 512GB (07/19)
    PSU
    Seasonic M12II-520 80 Plus Bronze (11/16)
    Case
    Lian Li PC-7NB + 3x Noctua NF-S12A FLX@700rpm (11/16)
    Cooling
    CPU Cooler Noctua NH-U12S@700rpm
    Keyboard
    HP Pavilion Wireless Keyboard 600 (05/21)
    Mouse
    HP Wireless Silent 280M Mouse (05/21)
    Internet Speed
    300/30 Mbps via RouterOS (05/21) + TCP Optimizer
    Browser
    Microsoft Edge
    Antivirus
    None
    Other Info
    Headphones: Sennheiser RS170 (09/10) + Software: https://tinyurl.com/7hkjyhsj

AndreTen

Well-known member
Member
VIP
Local time
2:39 PM
Posts
211
I routinely delete the latest CU package from LCU on all my half dozen or so machines. Been doing that for more than a year now without any problems. The only downside of deleting the latest one is that you can no longer uninstall it in Control Panel.

OK, so should I?

1630097226951.png
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro, Windows 11 Dev
    Computer type
    PC/Desktop
    Manufacturer/Model
    Homebuilt
    CPU
    Intel I3 10100
    Motherboard
    ASUS B460M
    Memory
    16 GB DDR4 Crucial
    Graphics Card(s)
    Intel on chip
    Sound Card
    Realtek onboard
    Monitor(s) Displays
    ASUS 24, LG 24
    Screen Resolution
    Full HD x 2
    Hard Drives
    kingston A2000 NVMe PCIe 500 GB
    PSU
    LC Power 650W
    Case
    Noname
    Cooling
    Air 2x 120mm
    Keyboard
    Cherry G-81
    Mouse
    Logitech M500
    Internet Speed
    100/20
    Browser
    Firefox, Vivaldi
    Antivirus
    MS Defender
  • Operating System
    Windows 10 Home
    Computer type
    Laptop
    Manufacturer/Model
    ASUS/Vivobook Flip 14
    CPU
    Ryzen 7 4700u
    Memory
    8 GB DDR4
    Graphics card(s)
    AMD Vega
    Sound Card
    Realtek onboard
    Monitor(s) Displays
    14"
    Screen Resolution
    FullHD
    Hard Drives
    512 Samsung NVMe PCIe
    PSU
    -
    Case
    Laptop
    Mouse
    Touchpad, Touchscreen
    Internet Speed
    100/20
    Browser
    Firefox, Vivaldi
    Antivirus
    MS Defender

Bree

Well-known member
Power User
VIP
Local time
1:39 PM
Posts
923
Location
S/E England, UK
Do you delete all CU's backups? There are usually ~3 copies in those locations as well:
Code:
%WINDIR%\Installer\$PatchCache$
%WINDIR%\SoftwareDistribution\Download
%WINDIR%\WinSxS\Backup

No, just the copy in the LCU folder, that's the only one that I know to be safe to delete.

OK, so should I?

That's entirely up to you. As I said, with 6+ machines to image, and keeping at least two previous system images, an extra GB in each image soon adds up to a lot to be stored on my external backup drive. W10 CUs are now at least 1GB, W11 are smaller at present, but will only get larger (they are called 'cumulative' for a reason). I need all the help I can get to fit all my machine images onto one drive ;)
 

My Computers

System One System Two

  • Operating System
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB HDD
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. A test migration ran Insider builds for 2 months. When 11 was released on 5th October it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Lattitude E4310
    CPU
    i5 M 520
    Motherboard
    0T6M8G
    Memory
    4GB
    Screen Resolution
    1366x768
    Hard Drives
    500GB HDD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.
Top Bottom