ran elevated command prompt/PowerShell as SYSTEM

Typhoon859

New member
Local time
6:59 PM
Messages
3
?

Code:
Remove-Item : A positional parameter cannot be found that accepts argument
'/Q'.
At line:1 char:1
+ RD /S /Q "C:\Windows.old"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Remove-Item], ParameterBin
   dingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell
   .Commands.RemoveItemCommand

I'm on Windows 10 Pro, 64-bit, and I ran the elevated command prompt/PowerShell as SYSTEM, not even Administrator, so pretty sure that's not the issue (other commands have worked fine). Might anyone know the issue? Thanks!
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 10 Pro [x64]

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Hi Typhoon859,

Here's the proper way to delete the Windows.old folder:

  1. Click in Windows' search field, type Cleanup, then click Disk Cleanup.
  2. Click the "Clean up system files" button.
  3. Wait a bit while Windows scans for files, then scroll down the list until you see "Previous Windows installation(s)."
  4. Check the box next to the entry, then make sure there are no other boxes checked (unless you do indeed want to delete those items). Click OK to start the cleanup.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP Desktop & Compaq Laptop
OS
Win 10 x64, Linux Lite, Win 7 x64, BlackArch, & Kali
Hard Drives
Samsung 850 Pro 256Gb,
Hitachi HDD 1Tb,
Crucial MX SSD 250Gb
Segate 3Tb USB 3.0 Ext. Backup HDD
Internet Speed
150Mbps dn, 20Mbps up
Antivirus
Avast Free, Malwarebytes Anti-Exploit & Anti-Ransomware
Browser
Firefox, Chrome, Opera, & VPN
Hello Typhoon, :)

You might see if an option in the tutorial below may help to delete the Windows.old folder.

:ar: Delete Windows.old Folder in Windows 10 Performance Maintenance Tutorials

Hi Typhoon859,

Here's the proper way to delete the Windows.old folder:

  1. Click in Windows' search field, type Cleanup, then click Disk Cleanup.
  2. Click the "Clean up system files" button.
  3. Wait a bit while Windows scans for files, then scroll down the list until you see "Previous Windows installation(s)."
  4. Check the box next to the entry, then make sure there are no other boxes checked (unless you do indeed want to delete those items). Click OK to start the cleanup.

Hey guys, I am aware how to properly delete that folder. For some reason, on my computer, it hasn't worked, as well as any other method. This is the method I have effectively now resorted to. There was only like one folder in there that was preventing the entire folder from being deleted.

Interestingly enough, I don't know what this program does, but I ended up using Unlocker v1.9.2 (64-bit) to delete it and it worked, effortlessly.

The error I mentioned seemed unrelated to the folder itself, so that's why I brought it up.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 10 Pro [x64]
Back
Top