ran elevated command prompt/PowerShell as SYSTEM


  1. Posts : 3
    Windows 10 Pro [x64]
       #1

    ran elevated command prompt/PowerShell as SYSTEM


    ?

    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


  2. Posts : 72,051
    64-bit Windows 11 Pro for Workstations
       #2

    Hello Typhoon, :)

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

    Delete Windows.old Folder in Windows 10 Performance Maintenance Tutorials
      My Computer


  3. Posts : 3,615
    Win 10 x64, Linux Lite, Win 7 x64, BlackArch, & Kali
       #3

    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


  4. Posts : 3
    Windows 10 Pro [x64]
    Thread Starter
       #4

    Brink said:
    Hello Typhoon, :)

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

    Delete Windows.old Folder in Windows 10 Performance Maintenance Tutorials
    Snick said:
    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


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 02:54.
Find Us