Cannot delete huge file c:\MountUUP after UUPDUMP fail (ran out of disk space !!)


jimbo45

Well-known member
Pro User
VIP
Local time
5:38 PM
Posts
5,085
Location
Hafnarfjörður IS
OS
Windows XP,10,11 Linux (Fedora 42&43 pre-release,Arch Linux)
Hi folks
any way to delete a HUGE file MountUUP after I had a UUPDUMP create ISO fail because (my error !!) not ernough disk space on my Windows C drive. The usual methods e.g boot in all sorts of modes and issue command rd c:\MountUUP /s /q give access denied etc etc. I don't want to re-install windows from scratch -- and I also get messages such as " You need permission from Trusted installee " ??? whatever that is.

Normally UUPDUMP works OK to create the ISO so I've never had it fail before. I wonder if that wretched bit encryption might have something to do with it -- I HATE these "automatic encryption things" -- I've never needed them and IMHO they just make things hideously complex when things go wrong.

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,10,11 Linux (Fedora 42&43 pre-release,Arch Linux)
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
    Screen Resolution
    4KUHD X 2
Use something like procexp to see what, if anything, has a open file handle to it.

If you can't delete a file it's typically one of two things
  • Another process has it open
  • You don't have proper access to delete
 

My Computer

System One

  • OS
    Linux Mint
    Computer type
    Laptop
    Manufacturer/Model
    System76 Lemur Pro
I use bootable Linux LiveUSB Thumb drive or LiveDVD to manage difficult files/folders on Windows installation but outside of Windows [Windows not running]. The Live drive includes usable programs including GPARTED to manipulate partitions or fully clean.
 

My Computers

System One System Two

  • OS
    Win11 Pro RTM Version 24H2 Build 26100.4202
    Computer type
    Laptop
    Manufacturer/Model
    Dell Vostro 3400
    CPU
    Intel Core i5 11th Gen. 2.40GHz
    Memory
    12GB
    Hard Drives
    256GB SSD NVMe M.2
  • Operating System
    Win11 Pro RTM Version 24H2 Build 26100.4202
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Vostro 5890
    CPU
    Intel Core i5 10th Gen. 2.90GHz
    Memory
    16GB
    Graphics card(s)
    Onboard, no VGA, using a DisplayPort-to-VGA adapter
    Monitor(s) Displays
    24" Dell
    Hard Drives
    512GB SSD NVMe, 4TB Seagate HDD
    Browser
    Firefox, Edge
    Antivirus
    Windows Defender/Microsoft Security
I had that problem before, can't remember how I fixed it

What I have now is a separate partition for ISOs, if anything fails just reformat it
 

My Computer

System One

  • OS
    Windows 11 Pro 24H2 (RP channel)
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    AMD Ryzen 7 9800X3D 8-core
    Motherboard
    MEG X870E Godlike
    Memory
    64GB Corsair Titanium 6000/CL30
    Graphics Card(s)
    MSI Suprim X 3080 Ti
    Sound Card
    Soundblaster AE-5 Plus
    Monitor(s) Displays
    ASUS TUF Gaming VG289Q
    Screen Resolution
    3840x2160
    Hard Drives
    Samsung 9100 Pro 4TB (gen 5 x4, system drive/games)
    Samsung 990 Pro 2TB
    Samsung 980 Pro 2TB
    Samsung 870 Evo 4TB
    Samsung T7 Touch 1TB
    PSU
    Seasonic PX-2200
    Case
    Bequiet! Dark Base Pro 901
    Cooling
    Noctua NH-D15S Chromax black
    Keyboard
    Logitech G915 X (wired)
    Mouse
    Logitech G903 with PowerPlay charger
    Internet Speed
    900Mb/sec
    Browser
    Microsoft Edge
    Antivirus
    Windows Defender
Have you taken ownership of the file?
 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP EliteDesk 705 G5
    CPU
    AMD Ryzen 5 Pro 3400GE
    Memory
    8GB DDR4 SDRAM
    Graphics Card(s)
    Integrated AMD Radeon Vega 11
    Hard Drives
    256 GB PCIe NVMe M.2 SSD
  • Operating System
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    DELL Inspiron 15-3576
    CPU
    Intel Core i5-8250U
    Memory
    8 GB DDR4 - 2400 SODIMM
    Graphics card(s)
    Intel UHD Graphics 620
    Hard Drives
    256GB SK Hynix SC311 SATA SSD
I use bootable Linux LiveUSB Thumb drive or LiveDVD to manage difficult files/folders on Windows installation but outside of Windows, Windows not running. The Live drive includes usable programs including GPARTED to manipulate partitions or fully clean.
The problem is the Windows file is actually on a VHDX physical file and there's no way I can see of expanding this file (I created it as type=fixed with a maximum size plus there's all that bitlockeer rubbish I didn't want.
-- bitlocker rubbish !!! -- so the linux will only see a vhdx file.

What I'm doing (as a last resort) is cloning the C drive (in Windows after it's booted) to a bigger disk and then trying to create the iso again via UUPDUMP which should clean up all the stuff after it finishes.

If this doesn't work then just have to do a clean install -- Why do the latest versions of Windows - especially for HOME installations automatically do this bit locker stuff -- Never needed it - my home stuff is perfectly secure !!!

Too MUCH security reduces the value of it since people will just find other ways of getting round it!!.

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,10,11 Linux (Fedora 42&43 pre-release,Arch Linux)
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
    Screen Resolution
    4KUHD X 2
1. Reboot.
2. Try running the "Remove_Failure_MountDir_TempDir.cmd" script first.
 

My Computer

System One

  • OS
    Windows 7
If this doesn't work then just have to do a clean install -- Why do the latest versions of Windows - especially for HOME installations automatically do this bit locker stuff -- Never needed it - my home stuff is perfectly secure !!!

Too MUCH security reduces the value of it since people will just find other ways of getting round it!!.
The last 3 Win11 Notebooks I set up with the Home edition had Bitlocker automatically encrypted the drive but never gave the key or asked for a key. There was no issue running but the second one had a partition issue and I found out about the encryption when booted the Linux LiveUSB to use GPARTED, couldn't access the drive without having a key which I never had. I've removed Bitlocker, it was my understanding that wasn't supposed to have been auto on the Home edition but came about with Version 24H2.
 

My Computers

System One System Two

  • OS
    Win11 Pro RTM Version 24H2 Build 26100.4202
    Computer type
    Laptop
    Manufacturer/Model
    Dell Vostro 3400
    CPU
    Intel Core i5 11th Gen. 2.40GHz
    Memory
    12GB
    Hard Drives
    256GB SSD NVMe M.2
  • Operating System
    Win11 Pro RTM Version 24H2 Build 26100.4202
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Vostro 5890
    CPU
    Intel Core i5 10th Gen. 2.90GHz
    Memory
    16GB
    Graphics card(s)
    Onboard, no VGA, using a DisplayPort-to-VGA adapter
    Monitor(s) Displays
    24" Dell
    Hard Drives
    512GB SSD NVMe, 4TB Seagate HDD
    Browser
    Firefox, Edge
    Antivirus
    Windows Defender/Microsoft Security
delete a HUGE file MountUUP after I had a UUPDUMP create ISO fail because (my error !!) not ernough disk space on my Windows C drive. The usual methods e.g boot in all sorts of modes and issue command rd c:\MountUUP /s /q give access denied etc etc.
Why are you trying to delete a file with rd command?
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    CPU
    Intel(R) Core(TM) i7-5930K CPU @ 3.50GHz
    Motherboard
    EVGA X99 Micro
    Graphics Card(s)
    NVIDIA GeForce GTX 970
Why are you trying to delete a file with rd command?
C'mon guy -- it's the Directory --BTW I'm no Windows Guru but I do know the difference between files and directories -- not having a go at you but just look at nr of posts and topics long established members make here before posting that type of respomse !!!

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,10,11 Linux (Fedora 42&43 pre-release,Arch Linux)
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
    Screen Resolution
    4KUHD X 2
@Berton
@Bree

Re-running the whole thing again fixed it -- OK not the best solution but it worked -- I just re-allocated a bigger disk space, cloned the original to the newer one, re-booted that and re-run the UUPDUMP stuff. All OK now.

I'd just warn people on doing UUPDUMP stuff to ensure there's enough disk space in case it fails !!! and unless you really have to have it - don't use / enable bitlocker.

Then you can re-clone back to original size if you want -- and delete the other copy.


Now marking as SOLVED.

Cheers
jimbo
 
Last edited:

My Computer

System One

  • OS
    Windows XP,10,11 Linux (Fedora 42&43 pre-release,Arch Linux)
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
    Screen Resolution
    4KUHD X 2
Garlin gave you the correct way to do this as the file is created when you start the uup_download_windows.cmd script.

g.webp
 

My Computer

System One

  • OS
    Windows 11 Pro

My Computer

System One

  • OS
    Windows XP,10,11 Linux (Fedora 42&43 pre-release,Arch Linux)
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
    Screen Resolution
    4KUHD X 2
The problem is the Windows file is actually on a VHDX physical file and there's no way I can see of expanding this file (I created it as type=fixed with a maximum size plus there's all that bitlockeer rubbish I didn't want.
-- bitlocker rubbish !!! -- so the linux will only see a vhdx file.

What I'm doing (as a last resort) is cloning the C drive (in Windows after it's booted) to a bigger disk and then trying to create the iso again via UUPDUMP which should clean up all the stuff after it finishes.

If this doesn't work then just have to do a clean install -- Why do the latest versions of Windows - especially for HOME installations automatically do this bit locker stuff -- Never needed it - my home stuff is perfectly secure !!!

Too MUCH security reduces the value of it since people will just find other ways of getting round it!!.

Cheers
jimbo
You can expand size of vhdx files easily using the disk edit feature in Hyper-V.
 

My Computer

System One

  • OS
    Windows 11 Pro + Win11 Canary VM.
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Zenbook 14
    CPU
    I9 13th gen i9-13900H 2.60 GHZ
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB soldered
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    laptop OLED screen
    Screen Resolution
    2880x1800 touchscreen
    Hard Drives
    1 TB NVME SSD (only weakness is only one slot)
    PSU
    Internal + 65W thunderbolt USB4 charger
    Case
    Yep, got one
    Cooling
    Stella Artois (UK pint cans - 568 ml) - extra cost.
    Keyboard
    Built in UK keybd
    Mouse
    Bluetooth , wireless dongled, wired
    Internet Speed
    900 mbs (ethernet), wifi 6 typical 350-450 mb/s both up and down
    Browser
    Edge
    Antivirus
    Defender
    Other Info
    TPM 2.0, 2xUSB4 thunderbolt, 1xUsb3 (usb a), 1xUsb-c, hdmi out, 3.5 mm audio out/in combo, ASUS backlit trackpad (inc. switchable number pad)

    Macrium Reflect Home V8
    Office 365 Family (6 users each 1TB onedrive space)
    Hyper-V (a vm runs almost as fast as my older laptop)
....also get messages such as " You need permission from Trusted installee " ??? whatever that is.
That's because 'NT SERVICE\TrustedInstaller' is the current owner of the file, and the only one with full permissions.

Take ownership, then grant yourself full permission. Then you should be able to delete it.
 

My Computers

System One System Two

  • OS
    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 Samsung EVO 870 SSD
    Internet Speed
    150 Mbps
    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 2021 it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October. Windows Update offered the 22H2 Feature Update on 20th September 2022. It got the 23H2 Feature Update on 4th November 2023 through Windows Update, and 24H2 on 3rd October 2024 through Windows Update by setting the Target Release Version for 24H2.

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

    My SYSTEM FOUR is a 2-in-1 convertible Lenovo Yoga 11e 20DA, Celeron N2930, 8GB RAM, 256GB ssd. Unsupported device: currently running Win10 Pro, plus Win11 Pro RTM and Insider Dev, Beta, and RP 24H2 as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 8GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro, plus Insider Beta, Dev, and Canary builds (and a few others) as a native boot .vhdx.

    My SYSTEM SIX is a Dell Latitude 5550, Core Ultra 7 165H, 64GB RAM, 1TB NVMe SSD, supported device, Windows 11 Pro 24H2, Hyper-V host machine.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Latitude E4310
    CPU
    Intel® Core™ i5-520M
    Motherboard
    0T6M8G
    Memory
    8GB
    Graphics card(s)
    (integrated graphics) Intel HD Graphics
    Screen Resolution
    1366x768
    Hard Drives
    500GB Crucial MX500 SSD
    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. In-place upgrade to 22H2 using ISO and a workaround. Feature Update to 23H2 by manually installing the Enablement Package. In-place upgrade to 24H2 using hybrid 23H2/24H2 install media. Also running Insider Beta, Dev, and Canary builds as a native boot .vhdx.

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

    My SYSTEM FOUR is a 2-in-1 convertible Lenovo Yoga 11e 20DA, Celeron N2930, 8GB RAM, 256GB ssd. Unsupported device: currently running Win10 Pro, plus Win11 Pro RTM and Insider Dev, Beta, and RP 24H2 as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 8GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro, plus Insider Beta, Dev, and Canary builds (and a few others) as a native boot .vhdx.

    My SYSTEM SIX is a Dell Latitude 5550, Core Ultra 7 165H, 64GB RAM, 1TB NVMe SSD, supported device, Windows 11 Pro 24H2, Hyper-V host machine.
Thanks everybody

all good suggestions

Since I needed a bigger size for Windows I just cloned it to a bigger file and ran the UUPDUMP thing again which got rid of the problem -- I'll remember the trusted installet bit again though thanks @Bree

@cereberus thanks --I didn't realize that I could expand a vhdx file if I'd created it at start with type=fixed, maximum=x. Worth knowing.

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,10,11 Linux (Fedora 42&43 pre-release,Arch Linux)
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
    Screen Resolution
    4KUHD X 2
Back
Top Bottom