Windows 10

From Indie IT Wiki

In a command line example anything shown in bold similar the following, is not to be run.

fsutil behavior query DisableDeleteNotify # press return

So in the above # press return is not to be run in the command line.


Disable IPv6 Networking Using Command Prompt

At Administrator command prompt, to disable IPv6 from all interfaces, type these commands. Then press enter, one command at a time ...

netsh interface teredo set state disabled
netsh interface ipv6 6to4 set state state=disabled undoonstop=disabled
netsh interface ipv6 isatap set state state=disabled

Download Files Using Command Prompt and Curl

Start > Run > cmd > curl -s -O C:\Users\Public\file.txt

System Information

Start > Run > cmd > systeminfo



netsh advfirewall reset

Turn On

Safe Mode

Run msconfig > Boot > tick Safe Boot

Find Your Windows 10 Username

Windows Key > cmd + ENTER

echo %username%

Fast Startup

S Mode

Windows 10 in S Mode is a more limited, locked-down Windows operating system. In S Mode, you can only install apps from the Store, and you can only browse the web with Microsoft Edge.

It's more secure and safer for younger or new users, but has limitations.

You can leave S mode at any time, but you cannot go back to S mode if you change your mind :)

What is Windows 10 S Mode?

Switching out of S Mode in Windows 10

Backup System

An external hard drive is best for backing up to, you will probably need in excess of 60GB of space.

Battery Report

powercfg /batteryreport /output "C:\battery_report.html"


Check if BitLocker is installed ...

manage-bde -status

Build Release Information

Clean Boot


Event Log Viewer

Focus Assistant

Settings --> System --> Focus Assist --> Set options as required

Installation Media - Create On Linux

sudo -i
woeusb --target-filesystem ntfs --device Win10_1809Oct_English_x64.iso /dev/sdX


WoeUSB from WebUPD8

woeUSB Direct Download

Install Without A Microsoft Account

Disconnect from the internet :-)

Licence Keys - Generic After Upgrading From Previous Windows Versions

Reboot Using The Command Prompt

shutdown /r /t 0

Shutdown Using A Shortcut

Create a shortcut inserting the following command:

"C:WindowsSystem32cmd.exe" /k shutdown /s /f /t 0

Recycle Bin - Show In File Manager

Startup - Add Program

Press Windows Logo Key + R then type shell:startup and press OK

Thanks to Lifehacker

Storage Sense

Settings --> System --> Storage --> Storage Sense option

Store Apps - Location

Memory Diagonstics Tool - mdsched.exe

Mounting A Hibernated Hard Drive Under Linux As Read-Only

Explanation: Why Linux can't open hibernated Windows partitions:

You are seeing this error because you hibernated Windows instead of turning it off the normal way (in newer versions of Windows, hibernate might be the default option).

  • Hibernating saves the current state information to the hard disk and then powers down the computer.
  • Shutting down the computer closes all programs and ends all running processes before powering down the computer.

When you turn off Windows by hibernating it, you are essentially pausing the system and saving all of that information (into a big file called hiberfil.sys) This way when you resume from hibernation all of your applications and files will be exactly how you left them. It also sets a flag in hiberfil.sys to let other Operating Systems know that Windows is hibernated.

Making changes to your Windows (ntfs) partition while it is hibernated could be dangerous--it could cause Windows to not resume from hibernation or to crash after resuming. Because of this, the tool (ntfs-3g) that mounts (opens) the partition will not mount it in read-write mode if it sees a hibernation flag. As such, Nautilus, the default file browser, will not be able to automatically open this partition--hence the error message that you see--because it is trying to open it in read-write mode.

Workaround for all versions of Windows:

There are three ways to mount a hibernated Windows partition:

Boot into Windows and power down the system by shutting it down completely. You may then boot back into Ubuntu and the partition will mount in read-write mode automatically when you open it in Nautilus. Note that the "Shut Down" option may not be the one displayed in your start menu by default. You may need to click the button next to it to see further options.

Manually mount the filesystem in read only mode.

Check to see if you have a mount point (folder for mounting your partition in) for your Windows partition in the folder /media using this command:

ls /media

If you don't see a folder for your Windows partition, you should create one with the following command:

sudo mkdir /media/windows

Next, mount the partition in read-only mode onto this folder with this command:

mount -t ntfs-3g -o ro /dev/sda3 /media/windows

Note that you should change /media/windows if your mountpoint is called something else.

Now you will be able to view/open files on your Windows partition using any program in Ubuntu. However you will not be able to write to the partition or modify any files as it is in read only mode.

If you need to mount the partition in read-write mode and are not able to or willing to boot into Windows and shut it down completely there is a third option. However, it is not included here because it completely deletes hiberfil.sys and will cause you to lose all unsaved information in the hibernated Windows programs. The following is a quotation from man ntfs-3g about the option that would be used to do this.

                 Unlike in case of  read-only  mount,  the  read-write  mount  is
                 denied  if  the  NTFS  volume is hibernated. One needs either to
                 resume Windows and shutdown it  properly,  or  use  this  option
                 which  will  remove  the  Windows hibernation file. Please note,
                 this means that the saved Windows  session  will  be  completely
                 lost. Use this option under your own responsibility.

The above tutorial was mercilessly ripped from AskUbuntu as I had a headache from working with Windows and was not in the mood to do a re-write.

Screenshot Tool - Reset Counter

System File Checker (SFC)

After completion log file is found at: C:\Windows\Logs\CBS\CBS.log (assuming your main drive is C:)

Windows Desktop

By default, saving files to the Windows is not recommended, as they are not treated in the same manner as other location by the Restore system.

To overcome this limitation, undertake the following steps:

  • Open File Manager
  • In the address bar, type 'Libraries' (without the )
  • Press return
  • Right click in an area of blank space in the right-hand pane and select 'Include a folder'
  • Name your new folder 'Desktop' (without the )
  • Press return
  • Press return again to get to the option of adding a folder, browse and select the Desktop folder

Windows Explorer

It is now know as 'File Explorer'.


New User With Microsoft Account

  • Windows key + R
  • Type 'netplwiz' (without speech marks), then press enter
  • On the 'User Accounts' window click the 'Add...' button
  • Fill out the user's details on the next screen


Action Center (aka Notifications Center)

Using Group Policy in Professional & Enterprise

  • Run gpedit.msc
  • Local Computer Policy --> User Configuration --> Administrative Templates --> Start Menu and Taskbar.
  • In the right pane locate and double-click:
Remove Notifications and Action Center
  • On the options page select:
  • Click 'OK' to save.

Using the Registry for Non-Professional & Enterprise Versions

  • Run regedit.exe
  • Navigate to, or paste in the search bar:
  • In the right-hand pane right-click and select “New>DWORD (32-bit) Value” and name it:
  • Double-click on the new DWORD to edit it.
  • Change the “Value data” to “1” to disable the Action Center or “0” to disable it. Click “OK”.
  • Restart the PC for the changes to take effect.

Lock Screen

Run regedit

  • Navigate to, or paste in the search bar:
  • Ensure the Windows is selected by clicking on it once.
  • Right click on the key and click New and then Key.
  • Rename the new key as:
  • Ensure the Personalization key is selected by clicking on it once.
  • In the right-hand pane right-click and select “New>DWORD (32-bit) Value” and name it:
  • Double-click on NoLockScreen and change the value data to 1, then click OK.
  • Restart the PC for the changes to take effect.


Airplane Mode Stuck On

Unable To Login In Using Microsoft Account

Extend TimeOut


Apps Ability To Send Email

Settings --> Privacy --> Email tab --> Either turn off the ability for all applications to send emails or select from the list to set for specific applications

Thanks to: My Windows Club.

Control Panel To Display All Icons (Classic View) (Professional & Ultimate)

RUN gpedit.msc

In the left hand pane click through:

'User Configuration' --> 'Administrative Templates' --> 'Control Panel'

In the right hand pane double click on:

'Always open All Control Panel Items when opening the Control Panel'



Default Programs Installation Drive and Folder

To change the registry, follow these steps:

  • Regedit” in the search All programs.
  • Locate the following:
  • Right click on the value:
  • Change the default value C:\Program Files to the path you want to install all your programs in.
  • Click OK and Exit.

By default Windows will now install your programs in the new drive or path.

Thanks to In To Windows.

Thanks to Microsoft.

SSD TRIM Support

Check if SSD TRIM Support by opening an elevated command prompt (Administrator):

fsutil behavior query DisableDeleteNotify # press return

One of the following states will be returned:

DisableDeleteNotify = 1 # TRIM support disabled
DisableDeleteNotify = 0 # TRIM support enabled

Use the following to change the TRIM state:

fsutil behavior set DisableDeleteNotify 0 # TRIM support enabled
fsutil behavior set DisableDeleteNotify 1 # TRIM support disabled

Thanks to Windows Hub

System Time

Start Administrator's Command Prompt (Win+X)

w32tm /query /status

w32tm /register

sc start W32Time

w32tm /config /update /manualpeerlist:””


Synchronize with a Domain Controller

net time /DOMAIN:domainname /querysntp /set