techwiki:win10

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
techwiki:win10 [2022/11/30 16:41] – [Windows 10 Initial Config] yingtechwiki:win10 [2024/04/20 17:58] (current) – [Windows 10 Initial Config] ying
Line 80: Line 80:
  
   * Firefox app   * Firefox app
-  * hevc codec from windows store, (HEVC Video Extensions from Device Manufacturer) free version by cmd<code>ms-windows-store://pdp/?ProductId=9n4wgh0z6vhq</code>+  * hevc codec from windows store, (HEVC Video Extensions from Device Manufacturer) free version by run (win+r)<code>ms-windows-store://pdp/?ProductId=9n4wgh0z6vhq</code> 
 +    * update: 2024:  
 +      * if above download not available: 
 +        * download with this method:  
 +          * https://www.windowscentral.com/how-open-heic-and-hevc-files-windows-10s-photos-app 
 +          * or just download here https://github.com/mrmattipants/Resources 
 +        * once you install the AppxBundle file for hevc, you should be able to open 
 +        * if still can't open the heic image file, go Setting > App > HEVC app, reset the app data will fix the error \\ {{:techwiki:win10:hevc_install_post_fix_small.png?600|}} 
 +      * or just use 3rd party image viewer, like 
 +        * https://imageglass.org/ 
 +        * https://www.xnview.com/en/xnviewmp/
     * or download from https://www.free-codecs.com/hevc_video_extension_download.htm     * or download from https://www.free-codecs.com/hevc_video_extension_download.htm
 ====== Win 10 Fresh Install ====== ====== Win 10 Fresh Install ======
Line 96: Line 106:
   - quick restart <code>taskkill /f /im explorer.exe && start explorer.exe</code>   - quick restart <code>taskkill /f /im explorer.exe && start explorer.exe</code>
   - Initial Tracking Info:   - Initial Tracking Info:
-    * Privacy setting: all NO and OFF <code> +    * Privacy setting: all NO and OFF  
-reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo /v Enabled /t REG_DWORD /d 0 /f +    * activity history: NO 
-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 +
-</code> +
-    * activity history: NO <code> +
-# 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 +
-</code>+
   - MAJOR   - MAJOR
     - (optional disk space saving) admin cmd: (turn off hiberate to save space for RAM) <code>powercfg -h off</code>     - (optional disk space saving) admin cmd: (turn off hiberate to save space for RAM) <code>powercfg -h off</code>
Line 120: Line 117:
     - taskbar: No cortana; No Task View; No Search; No IE / Store / Mail <code>     - taskbar: No cortana; No Task View; No Search; No IE / Store / Mail <code>
 # no cortana # no cortana
-add reg HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v ShowCortanaButton /T REG_DWORD /D 0 /F+reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v ShowCortanaButton /T REG_DWORD /D 0 /F
 # no search # no search
-REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Search /V SearchboxTaskbarMode /T REG_DWORD /D 0 /F+reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Search /V SearchboxTaskbarMode /T REG_DWORD /D 0 /F
 # no task view # no task view
 REG DELETE HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MultiTaskingView\AllUpView /V Enabled /F REG DELETE HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MultiTaskingView\AllUpView /V Enabled /F
Line 128: Line 125:
  
 # no store # no store
-add reg HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\Explorer /v NoPinningStoreToTaskbar /t REG_DWORD /d 1 /f +reg add HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\Explorer /v NoPinningStoreToTaskbar /t REG_DWORD /d 1 /f 
-add reg HKEY_LOCAL_MACHINE\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
 </code> </code>
     - start menu: unpin tiles     - start menu: unpin tiles
     - change CD driver letter: diskmgmt.msc     - change CD driver letter: diskmgmt.msc
-    - disable Lock Screen totally (only once for admin acc): <code reg win10_lockScreen_off.reg>+    - turn off lock screen picture <code dos> 
 +reg add HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System /v DisableLogonBackgroundImage /t REG_DWORD /d 1 /f 
 +</code> 
 +    - disable Lock Screen change (only once for admin acc): <code reg win10_lockScreen_off.reg>
 Windows Registry Editor Version 5.00 Windows Registry Editor Version 5.00
  
Line 141: Line 141:
     - File Explore:      - File Explore: 
       - Folder Option:        - Folder Option: 
-        - Default view: this PC <code>add reg HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v LaunchTo /t REG_DWORD /d 1 /f</code> +        - Default view: this PC <code>reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v LaunchTo /t REG_DWORD /d 1 /f</code> 
-        - Privacy: uncheck "show frequent used folder / recent files in QuickAccess" <code>add reg HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer /v ShowRecent /t REG_DWORD /d 0 /f +        - Privacy: uncheck "show frequent used folder / recent files in QuickAccess" <code>reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer /v ShowRecent /t REG_DWORD /d 0 /f 
-add reg HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer /v ShowFrequent /t REG_DWORD /d 0 /f</code> +reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer /v ShowFrequent /t REG_DWORD /d 0 /f</code> 
-        - uncheck "hide extension" <code>add reg HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v HideFileExt /t REG_DWORD /d 0 /f</code>+        - uncheck "hide extension" <code>reg add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v HideFileExt /t REG_DWORD /d 0 /f</code>
         - show full path in title <code>REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState" /V FullPath /T REG_DWORD /D 1 /F</code>         - show full path in title <code>REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState" /V FullPath /T REG_DWORD /D 1 /F</code>
         - View tab: apply to Folders for all folders with detail list         - View tab: apply to Folders for all folders with detail list
Line 207: Line 207:
       - Show lock screen BG as sign-in: On (off if you already reg remove the lock screen) <code>REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System /V DisableLogonBackgroundImage /T REG_DWORD /D 1 /F</code>       - Show lock screen BG as sign-in: On (off if you already reg remove the lock screen) <code>REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System /V DisableLogonBackgroundImage /T REG_DWORD /D 1 /F</code>
     - Themes > Desktop Icons:     - Themes > Desktop Icons:
-      - add Computer+      - add Computer <code>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</code>
     - Start     - Start
       - recent app: OFF <code>REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Explorer /V HideRecentlyAddedApps /T REG_dWORD /D 1 /F</code>       - recent app: OFF <code>REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Explorer /V HideRecentlyAddedApps /T REG_dWORD /D 1 /F</code>
       - suggest app: OFF <code>REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent /V DisableWindowsConsumerFeatures /T REG_dWORD /D 1 /F</code>       - suggest app: OFF <code>REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent /V DisableWindowsConsumerFeatures /T REG_dWORD /D 1 /F</code>
       - recent item: OFF <code>       - recent item: OFF <code>
-REG ADD HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer  +REG ADD HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /V NoRecentDocsHistory /T REG_dWORD /D 1 /F 
-/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
- +
-REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer +
-/V NoRecentDocsHistory /T REG_dWORD /D 1 /F+
 </code> </code>
       - Folder display: Settings / Download/ Network / Personal       - Folder display: Settings / Download/ Network / Personal
     - Taskbar     - Taskbar
       - Small button: ON <code>REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced /V TaskbarSmallIcons /T REG_DWORD /D 1 /F</code>       - Small button: ON <code>REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced /V TaskbarSmallIcons /T REG_DWORD /D 1 /F</code>
 +      - double row of taskbar (drag it up, so it show dates)
       - combine taskbar button: when is full only (actually Never is better) <code>       - combine taskbar button: when is full only (actually Never is better) <code>
 REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V TaskbarGlomLevel /T REG_DWORD /D 1 /F REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V TaskbarGlomLevel /T REG_DWORD /D 1 /F
Line 236: Line 235:
   - System > Notification   - System > Notification
     - : Quick Action : All OFF unpin     - : Quick Action : All OFF unpin
-    - : Notification: OFF +    - : Notification: OFF <code>reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PushNotifications /v ToastEnabled /t REG_DWORD /d 0 /f</code> 
-    - no show, no suggest, no tips+    - no show, no suggest, no tips<code>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</code>
   - System > Focus Assist > All OFF   - System > Focus Assist > All OFF
   - System > Multitasking > Timeline: OFF   - System > Multitasking > Timeline: OFF
Line 260: Line 261:
     - OFF for history     - OFF for history
   - **Privacy**:   - **Privacy**:
-    - General: OFF for web, track, suggest+    - General: OFF for web, track, suggest <code> 
 +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 
 +</code>
     - Ink and Type: OFF for personal     - Ink and Type: OFF for personal
-    - Feedback: NEVER +    - Feedback: NEVER (at the bottom) 
-    - Activity history: OFF+    - Activity history: OFF<code> 
 +# 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 
 +</code>
     - App Permission:     - App Permission:
       - voice act: OFF       - voice act: OFF
Line 284: Line 298:
     - install license apps and activate     - install license apps and activate
     - back all OS again     - back all OS again
 +
 +ref:
 +  * https://gist.github.com/mackwage/08604751462126599d7e52f233490efe
 ====== Extra Config ====== ====== Extra Config ======
  
Line 307: Line 324:
     * **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     * **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
  
 +
 +====== ssh server and client ======
 +  - setting > system > add optional features
 +  - find openssh client, openssh server, install
 +  - services (services.msc) > openssh server > general - startup type: automatic
 +  - start the service
 +
 +if GUI install fail, try powershell (not cmd) version
 +<code>
 +Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH*'
 +
 +# Install the OpenSSH Client
 +Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
 +
 +# Install the OpenSSH Server
 +Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
 +
 +# Start the sshd service
 +Start-Service sshd
 +
 +# OPTIONAL but recommended:
 +Set-Service -Name sshd -StartupType 'Automatic'
 +
 +# Confirm the Firewall rule is configured. It should be created automatically by setup. Run the following to verify
 +if (!(Get-NetFirewallRule -Name "OpenSSH-Server-In-TCP" -ErrorAction SilentlyContinue | Select-Object Name, Enabled)) {
 +    Write-Output "Firewall Rule 'OpenSSH-Server-In-TCP' does not exist, creating it..."
 +    New-NetFirewallRule -Name 'OpenSSH-Server-In-TCP' -DisplayName 'OpenSSH Server (sshd)' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22
 +} else {
 +    Write-Output "Firewall rule 'OpenSSH-Server-In-TCP' has been created and exists."
 +}
 +</code>
  
 ====== Last Step - Backup System Image ====== ====== Last Step - Backup System Image ======
Line 344: Line 392:
       * method B: System Property > Startup n Recovery : Setting > System Failure: uncheck automatically restart       * method B: System Property > Startup n Recovery : Setting > System Failure: uncheck automatically restart
         * ref: https://answers.microsoft.com/en-us/windows/forum/all/freeze-after-auto-turn-off-display/4748b7e5-67f9-4f9c-9f4e-b4c34aaf450b         * ref: https://answers.microsoft.com/en-us/windows/forum/all/freeze-after-auto-turn-off-display/4748b7e5-67f9-4f9c-9f4e-b4c34aaf450b
 +
 +  * Problem: ASUS motherboard keep popup Armoury crate service upgrade
 +    * go asus bios > Advanced > tool, change Download and install armoury crate to disable
 +    * go windows and unintall armoury crate
 +    * then, uninstall asus framework service
  • techwiki/win10.1669826512.txt.gz
  • Last modified: 2022/11/30 16:41
  • by ying