Difference between revisions of "Windows 10"

From Indie IT Wiki
Line 149: Line 149:
  
 
https://ccm.net/faq/44234-where-does-windows-10-install-apps
 
https://ccm.net/faq/44234-where-does-windows-10-install-apps
 +
 +
=== Sync Center ===
 +
 +
* Open the Control Panel.
 +
* Open Sync Center.
 +
 +
''' Note: ''' If Sync Center is not available, change View by to Large icons at the top right of the Control Panel.
 +
 +
* Click 'Manage offline files' found in the left column of the Sync Center window.
 +
* Click 'Disable Offline Files' in the Offline Files window.
 +
* Click 'OK' in the Offline Files window.
 +
* Click 'Yes' when asked if you want to restart the computer to complete disablement.
  
 
=== Memory Diagonstics Tool - mdsched.exe ===
 
=== Memory Diagonstics Tool - mdsched.exe ===

Revision as of 10:51, 10 January 2022

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.

INFO

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

Reset Network Settings

At Administrator command prompt ...

netsh winsock reset

... then restart Windows.

Download Files Using Command Prompt and Curl

Start > Run > cmd > curl -s https://www.awebsite.com/file.txt -O C:\Users\Public\file.txt

System Information

Start > Run > cmd > systeminfo

Firewall

Reset

netsh advfirewall reset

Turn On

Safe Mode

Run msconfig > Boot > tick Safe Boot

Find Your Windows 10 Username

Windows Key > cmd + ENTER

echo %username%

https://thegeekpage.com/know-your-computer-username-in-windows-10/

Fast Startup

https://www.howtogeek.com/243901/the-pros-and-cons-of-windows-10s-fast-startup-mode/amp/

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

http://www.tomshardware.co.uk/faq/id-2569587/back-windows.html

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"

BitLocker

Check if BitLocker is installed ...

manage-bde -status

Build Release Information

https://docs.microsoft.com/en-us/windows/release-information/

Clean Boot

https://support.microsoft.com/en-us/help/929135/how-to-perform-a-clean-boot-in-windows

Download

https://www.microsoft.com/en-gb/software-download/windows10ISO

Event Log Viewer

http://www.resplendence.com/whocrashed

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

WoeUSB from WebUPD8

woeUSB Direct Download

Install Without A Microsoft Account

Disconnect from the internet :-)

Licence Keys - Generic After Upgrading From Previous Windows Versions

https://www.makeuseof.com/tag/3-portable-applications-to-help-you-find-serial-keys-on-your-pc-windows/

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

https://ccm.net/faq/44234-where-does-windows-10-install-apps

Sync Center

  • Open the Control Panel.
  • Open Sync Center.

Note: If Sync Center is not available, change View by to Large icons at the top right of the Control Panel.

  • Click 'Manage offline files' found in the left column of the Sync Center window.
  • Click 'Disable Offline Files' in the Offline Files window.
  • Click 'OK' in the Offline Files window.
  • Click 'Yes' when asked if you want to restart the computer to complete disablement.

Memory Diagonstics Tool - mdsched.exe

https://windowsreport.com/mdsched-exe-windows-10/

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.

   remove_hiberfile
                 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

https://mywindowshub.com/how-to-reset-the-screenshot-index-counter-in-windows-10/

System File Checker (SFC)

https://www.windowscentral.com/how-use-sfc-command-utility-fix-system-files-windows-10

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'.

HOWTO: ENABLE:

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

HOWTO: DISABLE:

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:
Enable
  • Click 'OK' to save.

Using the Registry for Non-Professional & Enterprise Versions

  • Run regedit.exe
  • Navigate to, or paste in the search bar:
Computer\HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\Explorer
  • In the right-hand pane right-click and select “New>DWORD (32-bit) Value” and name it:
DisableActionCenter
  • 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:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows
  • 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:
Personalization
  • 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:
NoLockScreen
  • Double-click on NoLockScreen and change the value data to 1, then click OK.
  • Restart the PC for the changes to take effect.

HOWTO: FIX

Airplane Mode Stuck On

Unable To Login In Using Microsoft Account

https://www.techbout.com/unable-to-login-to-windows-10-using-microsoft-account-30237/

Extend TimeOut

HOWTO: MODIFY:

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'

Select:

'Enabled'

Default Programs Installation Drive and Folder

To change the registry, follow these steps:

  • Regedit” in the search All programs.
  • Locate the following:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
  • Right click on the value:
ProgramFilesDir
  • 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:”pool.ntp.org”

time

Synchronize with a Domain Controller

net time /DOMAIN:domainname /querysntp /set