* * * Edward's Original Cheat Sheet - Windows 10 * * *
Rev 1.0 9/5/20, Rev 1.1 26/6/20, Rev 1.2 13/11/23

This is one of my personal "Cheat Sheets" which I've accumulated and built up
over the years to help me and other Technical People solve problems. And maybe
remind them or point out some tricks which they may have forgotten or not been
aware of.
I call them "Cheat Sheets" as they are intended to be very summarised hints
that someone might love to have in an exam :)

Windows 10 CheatSheet
---------------------
* How to bring up DOS Command Prompt: 
Press the Windows-key, type cmd.exe and hit ENTER
 
* Partition Hard Disks
Command Prompt|diskpart
* automount 
automount [ { enable | disable | scrub } ] [noerr]
* Check if Automount is Currently Enabled or Disabled
diskpart|automount
* To Enable Automount
diskpart|automount enable|exit|reboot computer to apply the change
* To stop windows trying to mount a hard disk that might be flakey.
If you disable automount it stops Windows from automatically mounting and
assigning drive letters to any new basic disk or drive volumes added when
connected to the system.
Any previously connected disks or drives that have been assigned a drive
letter will always continue to be mounted with their former drive letter
whenever connected by default, even after disabling automount. 
Command Prompt|diskpart|automount disable
* scrub. Removes volume mount point directories and registry settings for
volumes that are no longer in the system. This prevents volumes that were
previously in the system from being automatically mounted and given their
previous volume mount points when they are put back to the system.
So if the drive is reconnected it won’t remember the drive and try to
remount it or ask to be formatted.
Mounted devices are stored in the registry key:
HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
diskpart|automount disable|automount scrub|exit
* mountvol command
- Enable Automount
mountvol /e
- Disable Automount
mountvol /n
- Remove drive letters of previously connected Drives and Disks not
currently connected
mountvol /r
- Enable or Disable Automount using Registry setting
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mountmgr
NoAutoMount DWORD
0 = Enable, 1 = Disable

* To format a Hard Disk to FAT32
format /FS:FAT32 X:
Where X: is the drive to be formatted

* If Intermittant flakey Hard Disk is not registering and locking up windows
File Manager
Power off the drive|diskpart|automount disable|automount scrub|Disk
Management should now show the drive and allow to run data recovery software

* Windows 10 Activation
To check if Windows 10 is activated: Several ways
- slmgr /xpr
  Should show Windows version and "the machine is permanently activated"
  or "Volume activation will expire 1/2/2020 1:02:03 PM"
  or "Windows is in notification mode"
- Start|Settings|Activation
  Should show version and "Windows is activated"
- Control Panel|System
  Should show Product ID and "Windows is activated"


Best Regards
Edward Jozis
"The Digital Doctor"