How to change windows 10 updates download location

I want to upgrade my windows 10 to a newer build but I haven't enough space on my system drive at all. and I know windows update files downloaded at this location : c:\windows\SoftwareDistribution

so I tried symlink methods  to change this location for saving my drive space and able to upgrade my windows to the better version but in this method I must stop update services for temp and for final step I must restart update service so I must use this code in cmd :

 

net stop wuauserv

but this code not works... so I cant rename this folder and I cant symlink this folder in another drive ...

so I posted this question for advise

thanks and regards

Answer
Answer

well I've fixed it my self :
1: create a target directory

for example :

D:\other\desired\location

2:Ctrl+alt+delete>taskmanager>services>(right click on) wuauserv (then choose stop)

3:rename c:\windows\softwaredistribution 

this folder to softwaredistribution.old

4:Run cmd as administrator and type this command then hit enter

mklink /j c:\windows\softwaredistribution d:\other\desired\location

("d:\other\desired\location" u can type another location that existed on your hard drive or you can create in step 1 )

5:type this command on Cmd and then hit enter

net start wuauserv

Or you can manually start service like step 2 !

6: if everything was ok

you can move softwaredistribution.old  files in new  directory in the new drive or ..

312 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated May 17, 2024 Views 95,322 Applies to: