cannot Rename SoftwareDistribution folder error "the action can't be completed because the folder or a file in it is open in another program"

Anonymous
2014-11-30T16:22:08+00:00

OT: Renaming SoftwareDistribution folder

Split from this thread.

i cannot rename the folder SoftwareDistribution to SDold 

It says That the action can't be completed because the folder or a file in it is open in another program  what can i do then

Windows for home | Windows 11 | Windows update

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Anonymous
    2014-11-30T16:23:39+00:00

    Select Start, All Programs, Accessories, right click Command Prompt, and click Run as administrator from the drop down menu.. Type *cd* and press ENTER.

    Type net stop wuauserv and press the ENTER key.

    Type ren c:\windows\SoftwareDistribution softwaredistribution.old and press the ENTER key.

    Type: net start wuauserv and press the ENTER key.

    Type: exit and press the ENTER key

    146 people found this answer helpful.
    0 comments No comments

12 additional answers

Sort by: Most helpful
  1. Anonymous
    2015-07-15T15:06:40+00:00

    access is denied is being shown u sir plase help me

    17 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2015-07-15T16:08:50+00:00

    Hi,

    Did you run Command prompt in Elevated mode as suggested by Mr. Gerry C J Cornell?

    Please reply to help you further.

    3 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2015-09-06T19:25:55+00:00

    I ran elevated command prompt. I get the same issue - "access is denied" when attempting to run the command "ren c:\windows\SoftwareDistribution softwaredistribution.old".

    I already stopped the Windows Update service - I did this by opening services and stopping it that way (run "services.msc /s" then find Windows Update on the list of services and select 'stop'. Hence when running the command "net stop wuauserv" in elevated command prompt, it says "The Windows Update service is not started"). And yet if I attempt to rename SoftwareDistribution, either in Windows explorer or through the elevated command prompt, it doesn't work - apparently because it is open in another program.

    Which other program might this folder be open in, besides Windows Update?

    Is there a way I can find out?

    Help would be massively appreciated - not nice to run into such a serious problem (can't update any applications) on a brand new laptop.

    161 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2017-01-08T07:37:11+00:00

    Hi William,

    In case you haven't found the solution, here's what i found out:

    1. run command prompt in elevated mode (start - type "cmd" - right click on command prompt app and select "run as administrator")
    2. type "net stop wuauserv"
    3. type "net stop bits"
    4. open the folder "c:\windows" and locate SoftwareDistribution folder, rename or delete as you please.

    or if you want to keep using command prompt simply type "ren c:\windows\softwaredistribution softwaredistribution.old" or "del c:\windows\softwaredistribution"

    1. back to command prompt, type "net start wuauserv"
    2. type "net start bits"
    3. done

    Hope this helps!

    Wang.

    credits to http://www.thewindowsclub.com/software-distribution-folder-in-windows

    34 people found this answer helpful.
    0 comments No comments