techwiki:win10

Windows 10 subverisons and editions

  • Windows 10 has many major sub-versions:
    • 1607: (2016) the pure original
    • 1703: (2017) good version for old hardware, but some says N2060 gpu say no drive for it.
    • 1709: (2017) some says ryzen 2700x blue screen. but most recommended
    • 1803: (2018) most recommended
    • 1809: (2018) most not recommend
    • 1903: (2019.05) [code:19H1] many say cause lag in some software, and from that on, it will force future update from system.
    • 1909: (2019.11) [code:19H2]
  • Windows 10 has many edition:
    • Home: max 128GB ram, has parent control, no remote but accept help, no domain and no group policy
    • Pro: 2TB ram
      • Pro for Workstations: 6TB ram
    • Education: 2TB ram, no store
      • Pro Education
    • Enterprise: 6TB ram
      • Enterprise LTSC: 10 year support

Back Windows 10

  • MSI: F11 for boot option

ref: https://youtu.be/p6SRbhSNQWw

  1. it backs up a fully working windows 10 OS to a disk image to a external USB disk
  2. and at same time, it create system repair boot media, DVD or USB flash drive
  3. then, taken out the old hard disk, and put in the new hard disk
  4. boot from system repair media
  5. restore that disk image file into the new hard drive
  6. remove old hard drive, put in the new hard drive
  • pro:
    • keep everything including app and config
    • no need other software
  • con:
    • no
  1. put the new hard drive into a USB-external-hard-drive-case
  2. then connect that USB-external-hard-drive-case to the computer through USB port
  3. use disk clone software (many options) to directly clone current hard hard to the USD-attached-external-hard-drive-case's new hard drive
  4. remove old hard drive, put in the new hard drive
  • pro:
    • easy of process
    • keeps of everything including app and config
  • con:
    • need 3rd party app

ref: https://www.youtube.com/watch?v=mw_EuTYAGLI

  1. manually backup all files into external USB hard drive
  2. down windows 10 media creation tool to create a fresh OS install disk, (DVD or USB): https://www.microsoft.com/en-au/software-download/windows10
  3. then use the media to re-install OS on new hard disk
  4. manually copy all the files into new hard disk
  • Pro:
    • fresh copy of OS
  • Con:
    • new reinstall of apps and app config

Create Win10 PE inside Win10

Base Apps

Win 10 Fresh Install

  1. choose location
  2. choose keyboard layout
  3. no wifi and limited setup
  4. create admin account: MainAccount/MainPass
  5. 3 question: MainQuestion/MainAnswer
  6. no privacy for all
  7. Done and continue with default system config

Windows 10 Initial Config

  1. quick restart
    taskkill /f /im explorer.exe && start explorer.exe
  2. Initial Tracking Info:
    • Privacy setting: all NO and OFF
    • activity history: NO
  3. MAJOR
    1. (optional disk space saving) admin cmd: (turn off hiberate to save space for RAM)
      powercfg -h off
    2. (optional disk space saving) computer right menu > property > advance system setting
      1. Performance setting: advanced tab: virtual memory (change) > custom size: initial (2000MB) max (half of ram)
    3. (computer name change) computer right menu > property > advance system setting
      1. Computer name tab: bottom “Change” button > New name for PC in this network
    4. restart PC in one go if you do above
    5. taskbar: No cortana; No Task View; No Search; No IE / Store / Mail
      # no cortana
      reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v ShowCortanaButton /T REG_DWORD /D 0 /F
      # no search
      reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Search /V SearchboxTaskbarMode /T REG_DWORD /D 0 /F
      # no task view
      REG DELETE HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MultiTaskingView\AllUpView /V Enabled /F
      REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /V ShowTaskViewButton /T REG_DWORD /D 0 /F
      
      # no store
      reg add HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\Explorer /v NoPinningStoreToTaskbar /t REG_DWORD /d 1 /f
      reg add HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Explorer /v NoPinningStoreToTaskbar /t REG_DWORD /d 1 /f
    6. start menu: unpin tiles
    7. change CD driver letter: diskmgmt.msc
    8. disable Lock Screen totally (only once for admin acc):
      win10_lockScreen_off.reg
      Windows Registry Editor Version 5.00
       
      [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Personalization]
      "NoLockScreen"=dword:00000001


      cmd:

      reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Personalization" /v NoLockScreen /t REG_DWORD /d 1 /f
    9. File Explore:
      1. Folder Option:
        1. Default view: this PC
          reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v LaunchTo /t REG_DWORD /d 1 /f
        2. Privacy: uncheck “show frequent used folder / recent files in QuickAccess”
          reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer /v ShowRecent /t REG_DWORD /d 0 /f
          reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer /v ShowFrequent /t REG_DWORD /d 0 /f
        3. uncheck “hide extension”
          reg add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v HideFileExt /t REG_DWORD /d 0 /f
        4. show full path in title
          REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState" /V FullPath /T REG_DWORD /D 1 /F
        5. View tab: apply to Folders for all folders with detail list
      2. Hide OneDrive (uninstall it ref: https://gist.github.com/harrisonlingren/1ea1eef4937507d3bfef6a954074a73f, or use regedit: hide 64bit) (only once for admin) cmd
        reg add "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /v System.IsPinnedToNameSpaceTree /t REG_DWORD /d 0 /f
        reg add "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /v System.IsPinnedToNameSpaceTree /t REG_DWORD /d 0 /f

        reg

        win10_OneDrive_off.reg
        Windows Registry Editor Version 5.00
        [HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}]
        "System.IsPinnedToNameSpaceTree"=dword:00000000
         
        [HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}]
        "System.IsPinnedToNameSpaceTree"=dword:00000000

        Show

        win10_OneDrive_on.reg
        Windows Registry Editor Version 5.00
        [HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}]
        "System.IsPinnedToNameSpaceTree"=dword:00000001
         
        [HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}]
        "System.IsPinnedToNameSpaceTree"=dword:00000001
      3. Hide Folders in This PC view (only once for admin acc)
        win10_thisPCFolder_off.reg
        Windows Registry Editor Version 5.00
         
        ; Remove Desktop From This PC
        [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}]
        [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}]
        ; Remove Documents From This PC
        [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}]
        [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}]
        [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}]
        [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}]
        ; Remove Downloads From This PC
        [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{374DE290-123F-4565-9164-39C4925E467B}]
        [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}]
        [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{374DE290-123F-4565-9164-39C4925E467B}]
        [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}]
        ; Remove Music From This PC
        [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{1CF1260C-4DD0-4ebb-811F-33C572699FDE}]
        [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}]
        [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{1CF1260C-4DD0-4ebb-811F-33C572699FDE}]
        [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}]
        ; Remove Pictures From This PC
        [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3ADD1653-EB32-4cb0-BBD7-DFA0ABB5ACCA}]
        [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}]
        [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3ADD1653-EB32-4cb0-BBD7-DFA0ABB5ACCA}]
        [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}]
        ; Remove Videos From This PC
        [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A0953C92-50DC-43bf-BE83-3742FED03C9C}]
        [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}]
        [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A0953C92-50DC-43bf-BE83-3742FED03C9C}]
        [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}]

        remove 3d (only once for admin acc)

        win10_3dObjFolder_off.reg
        Windows Registry Editor Version 5.00
         
        [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}]
        [-HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}]
  4. Personalize
    1. Background: solid > Metal Blue (last 3rd)
      reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v WallPaper /t REG_SZ /d " " /f
      reg add "HKEY_CURRENT_USER\Control Panel\Colors" /v Background /t REG_SZ /d "102 102 152" /f
      REM need sign out and sign back in
    2. Color: transparency effects: OFF
      Reg Add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize /v EnableTransparency /t REG_DWORD /d 0 /f
    3. Lock Screen:
      1. Picture in lock screen: Create metal blue BG 100px in c:/zTmp (no need if you reg remove the lock screen)
      2. icon tiles and app status tiles: OFF as None
      3. Show lock screen BG as sign-in: On (off if you already reg remove the lock screen)
        REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System /V DisableLogonBackgroundImage /T REG_DWORD /D 1 /F
    4. Themes > Desktop Icons:
      1. add Computer
        reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel /v "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" /t REG_DWORD /d 0 /f
        reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu /v "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" /t REG_DWORD /d 0 /f
    5. Start
      1. recent app: OFF
        REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Explorer /V HideRecentlyAddedApps /T REG_dWORD /D 1 /F
      2. suggest app: OFF
        REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent /V DisableWindowsConsumerFeatures /T REG_dWORD /D 1 /F
      3. recent item: OFF
        REG ADD HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /V NoRecentDocsHistory /T REG_dWORD /D 1 /F
        REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer /V NoRecentDocsHistory /T REG_dWORD /D 1 /F
      4. Folder display: Settings / Download/ Network / Personal
    6. Taskbar
      1. Small button: ON
        REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced /V TaskbarSmallIcons /T REG_DWORD /D 1 /F
      2. double row of taskbar (drag it up, so it show dates)
      3. combine taskbar button: when is full only (actually Never is better)
        REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V TaskbarGlomLevel /T REG_DWORD /D 1 /F
        
        taskkill /f /im explorer.exe
        start explorer.exe
      4. turn off news and interest part on taskbar
        REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\default\NewsAndInterests\AllowNewsAndInterests /V value /T REG_DWORD /D 0 /F
        REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Feeds" /V EnableFeeds /T REG_DWORD /D 0 /F
      5. (option) Multiple display: combine taskbar only combine when full:
        REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced /V MMTaskbarEnabled /T REG_dWORD /D 1 /F
        REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced /V MMTaskbarGlomLevel /T REG_dWORD /D 1 /F
  5. System
  6. System > Notification
    1. : Quick Action : All OFF unpin
    2. : Notification: OFF
      reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PushNotifications /v ToastEnabled /t REG_DWORD /d 0 /f
    3. no show, no suggest, no tips
      reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager /v "SubscribedContent-310093Enabled" /t REG_DWORD /d 0 /f
      reg add HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement /v "ScoobeSystemSettingEnabled" /t REG_DWORD /d 0 /f
      reg add HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager /v "SubscribedContent-338389Enabled" /t REG_DWORD /d 0 /f
  7. System > Focus Assist > All OFF
  8. System > Multitasking > Timeline: OFF
  9. System > Power and Sleep: additional power setting: change Plan > setting pop-up: close lid and power button
  10. System > Shared experience: OFF
  11. Device > AutoPlay: OFF - All take no action
  12. App > Un-install
    1. Feedback hub
    2. Tips
    3. Groove Music
    4. Card game
    5. Movie TV
    6. Xbox
  13. App > Map > no auto update map (only once for admin acc)
  14. IMPORTANT: status bar, one drive open, Setting : no startup, quite
    1. App > startup app : OFF one drive (No need if you do above)
  15. Account > Sign-in Option > Privacy > OFF the my sign auto
  16. Game > Xbox game bar : OFF
  17. Ease of Access > Keyboard: sticky key off
  18. Search:
    1. OFF for ms account
    2. OFF for history
  19. Privacy:
    1. General: OFF for web, track, suggest
      reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo /v Enabled /t REG_DWORD /d 0 /f
      reg add "HKEY_CURRENT_USER\Control Panel\International\User Profile" /v HttpAcceptLanguageOptOut /t REG_DWORD /d 1 /f
      
      reg add HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\EdgeUI /v DisableMFUTracking /t REG_DWORD /d 1 /f
      reg add HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\EdgeUI /v DisableMFUTracking /t REG_DWORD /d 1 /f
      
      reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager /v SubscribedContent-338393Enabled /t REG_DWORD /d 0 /f
      reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager /v SubscribedContent-353694Enabled /t REG_DWORD /d 0 /f
      reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager /v SubscribedContent-353696Enabled /t REG_DWORD /d 0 /f
    2. Ink and Type: OFF for personal
    3. Feedback: NEVER
    4. Activity history: OFF
      # here only no send, you need to manual uncheck collect
      reg add HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System /v PublishUserActivities /t REG_DWORD /d 0 /f
    5. App Permission:
      1. voice act: OFF
      2. account info : OFF for all app
      3. contact: OFF for all app
  20. Update:
    1. advanced option: OFF update for MS product
    2. Delivery: OFF from other PC
  21. Time n Language:
    1. Language: check your preference language input
  22. Create other users (and loop from top again)
    1. Settings > Account > Family and Other users : under Other Users > “Add someone else to PC”
    2. logout and login new account
  23. Final Steps:
    1. shrink C drive to half (230GB) and create D drive
    2. rename C drive to OS, D drive to Data
    3. prepare initial C drive backup
  24. Actual Use Stage:
    1. connect to wifi, update all drives
    2. install license apps and activate
    3. back all OS again

Extra Config

  1. Config Wacom under Control Panel
    • Wacom Pref Panel
      • pen click (right, mid click)
      • Pen > Mapping: uncheck “use windows ink”
    • Pen and Touch (Control Panel)
      1. Flicks (disable)
      2. Pen option: Press hold (disable)
    • Addition Click Feedback fix (only applicable to Windows 7 Ultimate Edition or higher)
      1. gpedit.msc
      2. User Configuration - Administrative Templates - Windows Components - Tablet PC - Cursor
      3. and Computer Configuration - Administrative Templates - Windows Components - Tablet PC - Cursor
      4. Enable the Turn off pen feedback setting
    • Tablet PC setting
      1. Other: input panel setting> Opening (un-check all to disable)
    • The modifier key popups (ctrl, alt. shift) fix on Windows 10
      • Method 1: go wacom tablet setting, Tracking: Pen Mode: Mapping button, uncheck “use windows Ink”
      • Method 2 (not working): go RegEdit.exe, search UIButtonMode, and change UIButtonMode and UIModKeyMode value to 0 (ref)
  2. Power and Sleep
    • go additional, and choose “Performance” for best kinect USB connection.
    • When use external monitor, enable laptop close, Control Panel > Power Option > Change current plan setting > Change Advanced power setting > Power button and laptop lid option > (lid close): do nothing

Last Step - Backup System Image

  1. clean up before backup and restore
    1. move user folders
      %userprofile%\Desktop
      %userprofile%\Downloads
    2. move browser Bookmark
    3. clean tmp folder
      %userprofile%\AppData\Local\Temp
    4. clean run history
      reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU" /va /f >nul 2>nul
    5. clean basic history
      • Browser: History
      • Explorer: Recent Places
  2. backup System Image

Windows 10 Problem and Solution

  • usb device keep disconnecting and reconnecting
    • go device manager, universal serial bus controller, uninstall intel usb 3 and rescan or restart to auto re install that driver
  • make ps2 keyboard working in windows 10:
  • techwiki/win10.txt
  • Last modified: 2023/01/24 16:20
  • by ying