Windows 10 : รวมรายการที่ต้องปรับแต่ง

Post Reply
tong
Site Admin
Posts: 2386
Joined: Fri 01 May 2009 8:55 pm

Windows 10 : รวมรายการที่ต้องปรับแต่ง

Post by tong »

Microsoft พยายามทำทุกวิถีทางเพื่อเพิ่มยอดตัวเลขผู้ใช้ Windows 10

- มีการยัดเยียดให้ผู้ใช้ Windows 7 ให้หันไปใช้ Windows 10 ด้วยการลงโปรแกรม popup เตือนตลอดเวลา
- CPU Intel 7th generation (Kaby Lake) และ onboard VGA จะใช้ Windows 7 ได้ในโหมด Standard VGA เท่านั้น
- ผู้ที่เพิ่งลง Office 2016 หลังจากเดือนกรกฎาคม 2560 จะไม่สามารถ Windows Update ได้บน Windows 7
- ถ้า in-place upgrade เป็น Windows 10 เมนู FireFox จะถูกลบทิ้งไป
- ไม่สามารถเลือกรายการที่ต้องการใน Windows Update จะถูกบังคับลง OneDrive, Skype รกๆ
- ฟอนต์จะเละเมื่อใช้ High DPI
- Windows 10 บั๊กเยอะ เหมือนเล่นอยู่บนหน้าเวปเพจ

ข้อดี

- หน้าจอ Reboot BitLocker จะเปลี่ยนเป็นปุ่ม Enter แทน จากเดิมที่ใช้ปุ่ม Esc
- File Explorer มี toolbar bottons เหมือน Windows XP
- Fast Startup = logged off before the hibernation file is created.
- Chkdsk มีการปรับปรุงรายละเอียด
tong
Site Admin
Posts: 2386
Joined: Fri 01 May 2009 8:55 pm

Re: Windows 10: รวมรายการที่ต้องปรับแต่ง

Post by tong »

Stop Install Suggested Apps

Code: Select all

reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v SilentInstalledAppsEnabled /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\CloudContent" /v DisableWindowsConsumerFeatures /t REG_DWORD /d 1 /f
gpedit.msc

Code: Select all

Computer Configuration > Administrative Templates > Windows Components > Cloud Content
Turn off Microsoft consumer experience = Enabled
tong
Site Admin
Posts: 2386
Joined: Fri 01 May 2009 8:55 pm

Re: Windows 10: รวมรายการที่ต้องปรับแต่ง

Post by tong »

Create Windows Update Shortcut

Code: Select all

explorer ms-settings:windowsupdate
%SystemRoot%\System32\shell32.dll

Code: Select all

Closed captioning          ms-settings:easeofaccess-closedcaptioning
High contrast              ms-settings:easeofaccess-highcontrast
Keyboard                   ms-settings:easeofaccess-keyboard
Magnifier                  ms-settings:easeofaccess-magnifier
Mouse                      ms-settings:easeofaccess-mouse
Narrator                   ms-settings:easeofaccess-narrator
Other options              ms-settings:easeofaccess-otheroptions

Battery Saver              ms-settings:batterysaver
Battery Saver settings     ms-settings:batterysaver-settings
Battery use                ms-settings:batterysaver-usagedetails
Power and sleep            ms-settings:powersleep

Backgrounds                ms-settings:personalization-background
Colors (display)           ms-settings:colors
Colors (personaliation)    ms-settings:personalization-colors
Date and time              ms-settings:dateandtime
Display                    ms-settings:display
Mouse and touchpad         ms-settings:mousetouchpad
Personalization            ms-settings:personalization
Region and language        ms-settings:regionlanguage
Screen rotation            ms-settings:screenrotation
Speech                     ms-settings:speech
Start                      ms-settings:personalization-start
Themes                     ms-settings:themes
Typing                     ms-settings:typing

Airplane mode              ms-settings:network-airplanemode
Bluetooth                  ms-settings:bluetooth
Cellular                   ms-settings:network-cellular
Data usage                 ms-settings:datausage
Dialup                     ms-settings:network-dialup
DirectAccess               ms-settings:network-directaccess
Ethernet                   ms-settings:network-ethernet
Manage Wi-Fi               ms-settings:network-wifisettings
Mobile hotspot             ms-settings:network-mobilehotspot
Proxy                      ms-settings:network-proxy
Wi-Fi                      ms-settings:network-wifi
VPN                        ms-settings:network-vpn

For developers             ms-settings:developers
Offline maps               ms-settings:maps
Optional features          ms-settings:optionalfeatures

Account info               ms-settings:privacy-accountinfo
Calendar                   ms-settings:privacy-calendar
Camera                     ms-settings:privacy-webcam
Contacts                   ms-settings:privacy-contacts
Feedback                   ms-settings:privacy-feedback
Location                   ms-settings:privacy-location
Messaging                  ms-settings:privacy-messaging
Microphone                 ms-settings:privacy-microphone
Motion                     ms-settings:privacy-motion
Other devices (privacy)    ms-settings:privacy-customdevices
Privacy                    ms-settings:privacy
Radios                     ms-settings:privacy-radios
Speech, inking, typing     ms-settings:privacy-speechtyping

Connected devices          ms-settings:connecteddevices
Family and other users     ms-settings:otherusers
Lockscreen                 ms-settings:lockscreen
Notifications, actions     ms-settings:notifications
Proximity                  ms-settings:proximity
Signin options             ms-settings:signinoptions
Storage Sense              ms-settings:storagesense
Tablet mode                ms-settings:tabletmode
Windows Update             ms-settings:windowsupdate
Work access                ms-settings:workplace
tong
Site Admin
Posts: 2386
Joined: Fri 01 May 2009 8:55 pm

Re: Windows 10: รวมรายการที่ต้องปรับแต่ง

Post by tong »

Remove Bloat Apps

Power Shell

Code: Select all

Get-AppxPackage *3dbuilder*                  | Remove-AppxPackage
Get-AppxPackage *bingfinance*                | Remove-AppxPackage
Get-AppxPackage *bingnews*                   | Remove-AppxPackage
Get-AppxPackage *bingsports*                 | Remove-AppxPackage
Get-AppxPackage *bingweather*                | Remove-AppxPackage
Get-AppxPackage *getstarted*                 | Remove-AppxPackage
get-appxpackage *holographic*                | remove-appxpackage
Get-AppxPackage *officehub*                  | Remove-AppxPackage
Get-AppxPackage *onenote*                    | Remove-AppxPackage
Get-AppxPackage *people*                     | Remove-AppxPackage
Get-AppxPackage *photos*                     | Remove-AppxPackage
Get-AppxPackage *skypeapp*                   | Remove-AppxPackage
Get-AppxPackage *solitairecollection*        | Remove-AppxPackage
Get-AppxPackage *soundrecorder*              | Remove-AppxPackage
get-appxpackage *sway*                       | remove-appxpackage
Get-AppxPackage *windowsalarms*              | Remove-AppxPackage
Get-AppxPackage *windowscamera*              | Remove-AppxPackage
Get-AppxPackage *windowscommunicationsapps*  | Remove-AppxPackage
Get-AppxPackage *windowsmaps*                | Remove-AppxPackage
Get-AppxPackage *windowsphone*               | Remove-AppxPackage
Get-AppxPackage *xbox*                       | Remove-AppxPackage
Get-AppxPackage *zunemusic*                  | Remove-AppxPackage
Get-AppxPackage *zunevideo*                  | Remove-AppxPackage
Get-AppxPackage EclipseManager               | Remove-AppxPackage
Get-AppxPackage Microsoft.GetHelp            | Remove-AppxPackage
Get-AppxPackage Microsoft.OneConnect         | Remove-AppxPackage
Get-AppxPackage Microsoft.Messaging          | Remove-AppxPackage
Get-AppxPackage Microsoft.Microsoft3DViewer  | Remove-AppxPackage
Get-AppxPackage Microsoft.MicrosoftStickyNotes | Remove-AppxPackage
Get-AppxPackage Microsoft.MSPaint            | Remove-AppxPackage
Get-AppxPackage Microsoft.Print3D            | Remove-AppxPackage
Get-AppxPackage Microsoft.Wallet             | Remove-AppxPackage
Get-AppxPackage Windows.ContactSupport       | Remove-AppxPackage

Code: Select all

Get-AppxPackage Microsoft.GetHelp            | Remove-AppxPackage
Get-AppxPackage Microsoft.YourPhone          | Remove-AppxPackage
Get-AppxPackage Microsoft.Wallet             | Remove-AppxPackage
Get-AppxPackage *officehub*                  | Remove-AppxPackage
Get-AppxPackage *people*                     | Remove-AppxPackage
Get-AppxPackage *photos*                     | Remove-AppxPackage
Get-AppxPackage *windowsalarms*              | Remove-AppxPackage
Get-AppxPackage *windowscamera*              | Remove-AppxPackage
Get-AppxPackage *windowsmaps*                | Remove-AppxPackage
Get-AppxPackage *xbox*                       | Remove-AppxPackage



tong
Site Admin
Posts: 2386
Joined: Fri 01 May 2009 8:55 pm

Re: Windows 10: รวมรายการที่ต้องปรับแต่ง

Post by tong »

Fix blurry fonts on high DPI

Note: When we manually modified the registry values, Windows will reset these settings every 2 reboots.
We have to adjust the registry again (Microsoft forces you almost to use its new DPI scaling method).

Code: Select all

REG ADD "HKCU\Control Panel\Desktop" /v DpiScalingVer /t REG_DWORD /d 0x00001018 /f
REG ADD "HKCU\Control Panel\Desktop" /v Win8DpiScaling /t REG_DWORD /d 0x00000001 /f
REG ADD "HKCU\Control Panel\Desktop" /v LogPixels /t REG_DWORD /d 0x00000078 /f
Ref: http://windows10_dpi_blurry_fix.xpexplorer.com/


Fix blurry fonts by input custom dpi

Do not choose predefined 125 value, you have to type 125 in custom box.
snap4817.png snap4816.png
tong
Site Admin
Posts: 2386
Joined: Fri 01 May 2009 8:55 pm

Re: Windows 10: รวมรายการที่ต้องปรับแต่ง

Post by tong »

Remove OneDrive

Code: Select all

reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\OneDrive" /v DisableFileSyncNGSC /t REG_DWORD /d 1 /f
GPedit.msc

Code: Select all

Computer Configuration > Administrative Templates > Windows Components > OneDrive
Prevent the usage of OneDrive for file storage = Enabled

Code: Select all

taskkill /f /im OneDrive.exe
%SystemRoot%\System32\OneDriveSetup.exe /uninstall
%SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall

rd "%UserProfile%\OneDrive" /Q /S
rd "%LocalAppData%\Microsoft\OneDrive" /Q /S
rd "%ProgramData%\Microsoft OneDrive" /Q /S
rd "C:\OneDriveTemp" /Q /S

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A52BBA46-E9E1-435f-B3D9-28DAA648C0F6}" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A52BBA46-E9E1-435f-B3D9-28DAA648C0F6}" /f

reg delete "HKCR\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f
reg delete "HKCR\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f

Hide OneDrive

Code: Select all

reg add "HKCR\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /v System.IsPinnedToNameSpaceTree /t REG_DWORD /d 0 /f
reg add "HKCR\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /v System.IsPinnedToNameSpaceTree /t REG_DWORD /d 0 /f
tong
Site Admin
Posts: 2386
Joined: Fri 01 May 2009 8:55 pm

Re: Windows 10: รวมรายการที่ต้องปรับแต่ง

Post by tong »

Remove 7 Extra Folders from "This PC"

Code: Select all

HKLM\...\MyComputer\NameSpace          Name            HKLM\...\FolderDescriptions
----                                   ----            ----                                  
{374DE290-123F-4565-9164-39C4925E467B} Downloads       {374DE290-123F-4565-9164-39C4925E467B}
{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0} Personal        {FDD39AD0-238F-46AF-ADB4-6C85480369C7}
{1CF1260C-4DD0-4ebb-811F-33C572699FDE} My Music        {4BD8D571-6D19-48D3-BE97-422220080E43}
{3ADD1653-EB32-4cb0-BBD7-DFA0ABB5ACCA} My Pictures     {33E28130-4E1E-4676-835A-98395C3BC3BB}
{A0953C92-50DC-43bf-BE83-3742FED03C9C} My Video        {18989B1D-99B5-455B-841C-AB7C74E4DDFC}

{0DB7E03F-FC29-4DC6-9020-FF41B59E513A} 3D Objects      {31C0DD25-9439-4F12-BF41-7FF4EDA38722}
{B4BFCC3A-DB2C-424C-B029-7FE99A87C641} Desktop         {B4BFCC3A-DB2C-424C-B029-7FE99A87C641}
{088E3905-0323-4B02-9826-5D99428E115F} Local Downloads {7D83EE9B-2244-4E70-B1F5-5393042AF1E4}
{D3162B92-9365-467A-956B-92703ACA08AF} Local Documents {F42EE2D3-909F-4907-8871-4C22FC0BF756}
{3DFDF296-DBEC-4FB4-81D1-6A3438BCF4DE} Local Music     {A0C69A99-21C8-4671-8703-7934162FCF1D}
{24AD3AD4-A569-4530-98E1-AB02F9417AA8} Local Pictures  {0DDD015D-B06C-45D5-8C4C-F59713854639}
{F86FA3AB-70D2-4FC7-9C99-FCBF05467F3A} Local Videos    {35286A68-3C57-41A1-BBB1-0EAE73D76C95}

Code: Select all

;3D Objects
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{31C0DD25-9439-4F12-BF41-7FF4EDA38722}\PropertyBag" /v ThisPCPolicy /t REG_SZ /d Hide /f
reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{31C0DD25-9439-4F12-BF41-7FF4EDA38722}\PropertyBag" /v ThisPCPolicy /t REG_SZ /d Hide /f

;Desktop
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}\PropertyBag" /v ThisPCPolicy /t REG_SZ /d Hide /f
reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}\PropertyBag" /v ThisPCPolicy /t REG_SZ /d Hide /f

;Downloads
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7D83EE9B-2244-4E70-B1F5-5393042AF1E4}\PropertyBag" /v ThisPCPolicy /t REG_SZ /d Hide /f
reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7D83EE9B-2244-4E70-B1F5-5393042AF1E4}\PropertyBag" /v ThisPCPolicy /t REG_SZ /d Hide /f

;Documents
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{F42EE2D3-909F-4907-8871-4C22FC0BF756}\PropertyBag" /v ThisPCPolicy /t REG_SZ /d Hide /f
reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{F42EE2D3-909F-4907-8871-4C22FC0BF756}\PropertyBag" /v ThisPCPolicy /t REG_SZ /d Hide /f

;Music
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A0C69A99-21C8-4671-8703-7934162FCF1D}\PropertyBag" /v ThisPCPolicy /t REG_SZ /d Hide /f
reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A0C69A99-21C8-4671-8703-7934162FCF1D}\PropertyBag" /v ThisPCPolicy /t REG_SZ /d Hide /f

;Pictures
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{0DDD015D-B06C-45D5-8C4C-F59713854639}\PropertyBag" /v ThisPCPolicy /t REG_SZ /d Hide /f
reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{0DDD015D-B06C-45D5-8C4C-F59713854639}\PropertyBag" /v ThisPCPolicy /t REG_SZ /d Hide /f

;Videos
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{35286A68-3C57-41A1-BBB1-0EAE73D76C95}\PropertyBag" /v ThisPCPolicy /t REG_SZ /d Hide /f
reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{35286A68-3C57-41A1-BBB1-0EAE73D76C95}\PropertyBag" /v ThisPCPolicy /t REG_SZ /d Hide /f
tong
Site Admin
Posts: 2386
Joined: Fri 01 May 2009 8:55 pm

Re: Windows 10: รวมรายการที่ต้องปรับแต่ง

Post by tong »

Remove Removable Drive Icon from Navigation Pane

Code: Select all

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\DelegateFolders\{F5FB2C77-0E2F-4A16-A381-3E560C68BC83}" /f
reg delete "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\DelegateFolders\{F5FB2C77-0E2F-4A16-A381-3E560C68BC83}" /f
tong
Site Admin
Posts: 2386
Joined: Fri 01 May 2009 8:55 pm

Re: Windows 10: รวมรายการที่ต้องปรับแต่ง

Post by tong »

Remove Libraries Icon from Navigation Pane

Code: Select all

reg add "HKCU\Software\Classes\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}" /v System.IsPinnedToNameSpaceTree /t REG_DWORD /d 0 /f
Remove Homegroup Icon from Navigation Pane

Code: Select all

reg add "HKCU\Software\Classes\CLSID\{B4FB3F98-C1EA-428d-A78A-D1F5659CBA93}" /v System.IsPinnedToNameSpaceTree /t REG_DWORD /d 0 /f
tong
Site Admin
Posts: 2386
Joined: Fri 01 May 2009 8:55 pm

Re: Windows 10: รวมรายการที่ต้องปรับแต่ง

Post by tong »

Fixed Windows 10 Slow Lag Unresponsive

For onboard Intel Graphics Chipset, you need to install the latest Intel Graphics driver.

For Intel Chipset, you need to install the latest Intel Rapid Storage Technology (Intel RST) driver.
If you don't use RAID, just download f6flpy-x64.zip. It doesn't have any GUI.
Snap-2017-08-21_230518.png Snap-2017-08-21_230444.png
tong
Site Admin
Posts: 2386
Joined: Fri 01 May 2009 8:55 pm

Re: Windows 10: รวมรายการที่ต้องปรับแต่ง

Post by tong »

Remove Mixed Reality Portal

Code: Select all

reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Holographic" /v FirstRunSucceeded /t REG_DWORD /d 1 /f
2. Go to Settings (WIN+I)

3. Click on Mixed Reality.

4. Click on Uninstall.
tong
Site Admin
Posts: 2386
Joined: Fri 01 May 2009 8:55 pm

Re: Windows 10: รวมรายการที่ต้องปรับแต่ง

Post by tong »

Disable Cortana

Code: Select all

reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v AllowCortana /t REG_DWORD /d 0 /f
gpedit.msc

Code: Select all

Computer Configuration > Administrative Templates > Windows Components > Search
Allow Cortana = Disabled
tong
Site Admin
Posts: 2386
Joined: Fri 01 May 2009 8:55 pm

Re: Windows 10: รวมรายการที่ต้องปรับแต่ง

Post by tong »

Turn off Windows Defender

Code: Select all

reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection" /v DisableRealtimeMonitoring /t REG_DWORD /d 1 /f
gpedit.msc

Code: Select all

Computer Configuration > Administrative Templates > Windows Components > Windows Defender Antivirus
Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus
Turn off Windows Defender Antivirus = Enabled
tong
Site Admin
Posts: 2386
Joined: Fri 01 May 2009 8:55 pm

Re: Windows 10: รวมรายการที่ต้องปรับแต่ง

Post by tong »

How to Turn Off Require Sign-in on Wakeup in Windows 10

https://www.tenforums.com/tutorials/11129-turn-off-require-sign-wakeup-windows-10-a.html

Code: Select all

reg add "HKLM\SOFTWARE\Policies\Microsoft\Power\PowerSettings\0e796bdb-100d-47d6-a2d5-f7d2daa51f51" /v DCSettingIndex /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Power\PowerSettings\0e796bdb-100d-47d6-a2d5-f7d2daa51f51" /v ACSettingIndex /t REG_DWORD /d 0 /f

Code: Select all

powercfg /SETDCVALUEINDEX SCHEME_CURRENT SUB_NONE CONSOLELOCK 0
powercfg /SETACVALUEINDEX SCHEME_CURRENT SUB_NONE CONSOLELOCK 0

gpedit.msc

Code: Select all

Computer Configuration > Administrative Templates > System > Power Management > Sleep Settings
Require a password when a computer wakes (plugged in) = Disabled
Require a password when a computer wakes (on battery) = Disabled
tong
Site Admin
Posts: 2386
Joined: Fri 01 May 2009 8:55 pm

Re: Windows 10 : รวมรายการที่ต้องปรับแต่ง

Post by tong »

Hide Quick Access

Code: Select all

reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v HubMode /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer" /v HubMode /t REG_DWORD /d 1 /f
tong
Site Admin
Posts: 2386
Joined: Fri 01 May 2009 8:55 pm

Re: Windows 10 : รวมรายการที่ต้องปรับแต่ง

Post by tong »

Add Control Panel to File Explorer

For the standard Control Panel :

Code: Select all

reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{26EE0668-A00A-44D7-9371-BEB064C98683}"  /f
reg add "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{26EE0668-A00A-44D7-9371-BEB064C98683}"  /f
For all Control Panel items :

Code: Select all

reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{21EC2020-3AEA-1069-A2DD-08002B30309D}"  /f
reg add "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{21EC2020-3AEA-1069-A2DD-08002B30309D}"  /f
tong
Site Admin
Posts: 2386
Joined: Fri 01 May 2009 8:55 pm

Re: Windows 10 : รวมรายการที่ต้องปรับแต่ง

Post by tong »

Edit hosts file

Code: Select all

takeown /f %windir%\system32\drivers\etc\hosts
icacls %windir%\system32\drivers\etc\hosts /grant administrators:F
attrib -s -h -r %windir%\system32\drivers\etc\hosts

notepad.exe %windir%\System32\drivers\etc\hosts

Code: Select all

127.0.0.1 localhost

127.0.0.1 xrayz.co.uk
127.0.0.1 faststone.org
127.0.0.1 acdid.acdsystems.com

127.0.0.1 my.nero.com
127.0.0.1 secure.nero.com
127.0.0.1 support.nero.com
127.0.0.1 activate.nero.com
127.0.0.1 activation.nero.com
127.0.0.1 nmf.nero.com

127.0.0.1 activate.adobe.com
127.0.0.1 practivate.adobe.com
127.0.0.1 ereg.adobe.com
127.0.0.1 activate.wip3.adobe.com
127.0.0.1 wip3.adobe.com
127.0.0.1 3dns-3.adobe.com
127.0.0.1 3dns-2.adobe.com
127.0.0.1 adobe-dns.adobe.com
127.0.0.1 adobe-dns-2.adobe.com
127.0.0.1 adobe-dns-3.adobe.com
127.0.0.1 ereg.wip3.adobe.com
127.0.0.1 activate-sea.adobe.com
127.0.0.1 activate-sjc0.adobe.com
127.0.0.1 wwis-dubc1-vip60.adobe.com

127.0.0.1 lmlicenses.wip4.adobe.com
127.0.0.1 lm.licenses.adobe.com

127.0.0.1 gc.kis.scr.kaspersky-labs.com
127.0.0.1 ff.kis.scr.kaspersky-labs.com
127.0.0.1 ie.kis.scr.kaspersky-labs.com
127.0.0.1 gc.kis.v2.scr.kaspersky-labs.com
127.0.0.1 ff.kis.v2.scr.kaspersky-labs.com
127.0.0.1 ie.kis.v2.scr.kaspersky-labs.com



tong
Site Admin
Posts: 2386
Joined: Fri 01 May 2009 8:55 pm

Re: Windows 10 : รวมรายการที่ต้องปรับแต่ง

Post by tong »

Add Firewall Rules
netsh.exe advfirewall firewall add rule name="EmEditor"     dir=out action=block program="D:\software\PC-Doctor\tool\EmEditor\EmEditor.exe"
netsh.exe advfirewall firewall add rule name="ClipCache"    dir=out action=block program="D:\software\PC-Doctor\tool\ClipCache\clipc.exe"
netsh.exe advfirewall firewall add rule name="FastStone1"   dir=out action=block program="D:\software\PC-Doctor\tool\FastStone Capture\FSCapture.exe"
netsh.exe advfirewall firewall add rule name="FastStone2"   dir=out action=block program="D:\software\PC-Doctor\tool\FastStone Capture\FSCrossHair.exe"
netsh.exe advfirewall firewall add rule name="FastStone3"   dir=out action=block program="D:\software\PC-Doctor\tool\FastStone Capture\FSFocus.exe"
netsh.exe advfirewall firewall add rule name="FastStone4"   dir=out action=block program="D:\software\PC-Doctor\tool\FastStone Capture\FSRecorder.exe"

netsh.exe advfirewall firewall add rule name="Nero 1"       dir=out action=block program="C:\Program Files (x86)\Nero\Nero 9\Nero Burning ROM\Nero.exe"
netsh.exe advfirewall firewall add rule name="Nero 2"       dir=out action=block program="C:\Program Files (x86)\Common Files\Nero\AdvrCntr4\NeroPatentActivation.exe"

netsh.exe advfirewall firewall add rule name="WOWSlider"    dir=out action=block program="C:\Program Files (x86)\WOW Slider\WOWSlider.exe"
tong
Site Admin
Posts: 2386
Joined: Fri 01 May 2009 8:55 pm

Re: Windows 10 : รวมรายการที่ต้องปรับแต่ง

Post by tong »

SubInACL
https://www.microsoft.com/en-nz/download/details.aspx?id=23510

Code: Select all

Usage : SubInAcl [/option...] /object_type object_name [[/action[=parameter]...]
Can use with both files and registry keys. The command line is not case-sensitive. The /action are executed in the order of the command line. You can specify as many /action as you wish.

Code: Select all

/subdirectories  
manipulate files in specified directory and all subdirectories

/subdirectories c:\temp\*.txt     : work with all txt files
/subdirectories c:\temp\test      : work with all test files below the c:\temp directory
/subdirectories c:\temp\test\     : work with all files below c:\temp\test
/subdirectories c:\temp\test\*.*  : work with all files below c:\temp\test
/subdirectories=directoriesonly   : will apply parameters on directories only
/subdirectories=filesonly         : will apply parameters on files only

Code: Select all

/subkeyreg
manipulate registry keys and subkeys

/subkeyreg "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes"
/subkeyreg "HKEY_CURRENT_USER\Software\*Version"

Code: Select all

/setowner
will change the owner of the object

/setowner=Administrators

Code: Select all

/grant
will add a Permission Ace for the user.
if Access is not specified, the Full Control access will be granted.

/grant=Administrators=F
/grant=SYSTEM
Example:

Code: Select all

SubInACL.exe /subkeyreg "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes" /setowner=Administrators /grant=Administrators=F /grant=SYSTEM
tong
Site Admin
Posts: 2386
Joined: Fri 01 May 2009 8:55 pm

Re: Windows 10 : รวมรายการที่ต้องปรับแต่ง

Post by tong »

Hide Dropbox

Code: Select all

reg add "HKCR\CLSID\{E31EA727-12ED-4702-820C-4B6445F28E1A}" /v System.IsPinnedToNameSpaceTree /t REG_DWORD /d 0 /f
reg add "HKCR\Wow6432Node\CLSID\{E31EA727-12ED-4702-820C-4B6445F28E1A}" /v System.IsPinnedToNameSpaceTree /t REG_DWORD /d 0 /f
tong
Site Admin
Posts: 2386
Joined: Fri 01 May 2009 8:55 pm

Re: Windows 10 : รวมรายการที่ต้องปรับแต่ง

Post by tong »

Start Menu

Code: Select all

%AppData%\Microsoft\Windows\Start Menu\
%ProgramData%\Microsoft\Windows\Start Menu\
%ProgramData%\Microsoft\Windows\Start Menu Places\
tong
Site Admin
Posts: 2386
Joined: Fri 01 May 2009 8:55 pm

Re: Windows 10 : รวมรายการที่ต้องปรับแต่ง

Post by tong »

snap_2020-09-02_12.00.19.png

Stay on target release version

gpedit.msc
Computer Configuration > Administrative Templates > Windows Components > Windows Update > Windows Update for Business
tong
Site Admin
Posts: 2386
Joined: Fri 01 May 2009 8:55 pm

Re: Windows 10 : รวมรายการที่ต้องปรับแต่ง

Post by tong »

Locked Windows Update Build to 20H2

reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f /t REG_DWORD /v ManagePreviewBuilds            /d 1
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f /t REG_DWORD /v ManagePreviewBuildsPolicyValue /d 0

	0 = Disable preview builds
	1 = Disable preview builds once next release is public
	2 = Enable preview builds


reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f /t REG_DWORD /v TargetReleaseVersion     /d 1
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f /t REG_SZ    /v TargetReleaseVersionInfo /d "20H2"
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f /t REG_SZ    /v ProductVersion           /d "Windows 10"

	Enter the product and version as listed on the Windows Update target version webpage: aka.ms/WindowsTargetVersioninfo
	If you enter an invalid value, you will remain on your current version..


reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f /t REG_DWORD /v BranchReadinessLevel /d 16

	 2 = Preview Build - Fast : Receive new builds of Windows not yet available to the general public.
	 4 = Preview Build - Slow : Receive new builds of Windows before they are available to the general public.
	 8 = Release Preview      : Receive new builds of Windows just before releases them to the general public.
	16 = Semi-Annual Channel  : Receive new builds of Windows when they are released to the general public.


reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f /t REG_DWORD /v DeferFeatureUpdates             /d 1
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f /t REG_DWORD /v DeferFeatureUpdatesPeriodInDays /d 365

	You can defer receiving Preview Builds for up to 14 days.
	You can defer receiving Feature Updates for up to 365 days.


reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f /t REG_DWORD /v DeferQualityUpdates             /d 1
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f /t REG_DWORD /v DeferQualityUpdatesPeriodInDays /d 30

	You can defer receiving quality updates for up to 30 days.
Post Reply