How to restart stuck Windows 10 Update downloads

In some cases, Windows 10 Updates can get stuck while downloading – the download will get to a certain percentage and will not progress further. You can try and run Windows 10 Update Troubleshooter, but it won’t always resolve the issue.

To resolve stuck downloads manually, do the following:

Stop Windows Update service – open command prompt and run the following command

net stop wuauserv

Then open Windows Explorer and navigate to

C:\Windows\SoftwareDistribution

This is where Windows Update stores downloaded files before installing updates.

Delete everything from that folder.

Go back to command prompt and start the Windows Update service by running the following command

net start wuauserv

Go to Setting and then go to Updates and click on Check for Updates button. Any updates that were not installed will start downloading from the beginning (0%). This time the download should finish without issues.

Advertisements

How to Speed up Windows Folder Loading

Sometimes there is one (or more) folders on your PC that take a very long time to load and display contents when you try to open them. This is due to the fact that Windows will try to figure out what type of content is mostly present in that folder to optimize the folder view (e.g. Pictures, Music, etc.).

You can stop this behavior by changing the folder’s content type in Properties. Right-click on folder and select Properties, then go to Customize tab. Select General Items from “Optimize this folder for” drop down list. You can also select “Apply this template to all subfolders” if you have subfolders inside with the same issue. Click Apply to apply changes, and then OK to close Properties dialog.

Change should take place immediately next time you open up that folder.

Windows fast folder load

Windows 10 thrashing your hard drive? Turn off scheduled drive optimization

One thing that many people (including myself) have noticed is that hard drive usage in Windows 10 often jumps to 100% and stays there for a while.

One of the reasons for this is automated drive optimization, which runs defrag on schedule. Chances are that you don’t need this, or don’t needed it as frequent. You can either disable scheduled optimization, or change the schedule.

Tap Search and search search for “defrag”. Select Defragment and Optimize Drives desktop app from search results. When the app opens, click on Turn Off under “Scheduled optimization” section. A new window with options will pop up – you can either disable optimization, or change the frequency so that it runs less often.

OptimizeDrives

This should solve your problem with hard disk thrashing under Windows 10. If you are still having the issue, culprit could be one of third party services or background applications that are running on your PC.

How to disable lock screen in Windows 10

If you would rather have login screen displayed on Windows 10 boot instead of lock screen, you can change a registry setting to disable lock screen.

Open Regedit and navigate to

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Personalization

Note: if you don’t see Personalization key, just create it.

Inside Personalisation key create new DWORD value called NoLockScreen. Edit NoLockScreen and set value to 1 do disable lock screen. If you wish to enable it again, just change the value to 0 or delete NoLockScreen DWORD.

Windows 10 Universal Apps – Read a file from within app container

Let’s say you want to include content files in you Windows 10 Universal App (text, XML, etc.) and then read content from those file to display inside your app.

For example, you’ve created “DataContent” folder inside your Visual Studio 2015 project, and placed sample.txt file inside.

To read that file, use the following code:

private async void ReadSampleFile()
{
StorageFile sampleFile = await StorageFile.GetFileFromApplicationUriAsync(new Uri(@"ms-appx:///DataContent/sample.txt"));

string text = await Windows.Storage.FileIO.ReadTextAsync(sampleFile);
}