วันอังคารที่ 22 กันยายน พ.ศ. 2563

Win10-Registry

 ::PowerShell-Layout

PS C:\WINDOWS\system32>Export-StartLayout –path c:\admscript\Layout.xml

PS C:\WINDOWS\system32>Import-StartLayout –LayoutPath c:\admscript\Layout.xml -MountPath C:\


::CMD

Dism.exe /online /Export-DefaultAppAssociations:c:\AppAssoc.xml

Dism.exe /online /Import-DefaultAppAssociations:c:\AppAssoc.xml


::Remove PrivacyExperience win10_1903

reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\OOBE" /v "DisablePrivacyExperience" /t REG_DWORD /d 1 /f


::Disable_app_Suggestions

reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f



::Disable_IPv6

reg add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters" /v DisabledComponents /t REG_DWORD /d 255 /f






::https://www.urtech.ca/2019/06/solved-how-to-customize-the-default-user-in-windows-10-without-using-copyuser-switch-with-sysprep/



::Create folder and copy theme to

%SystemRoot%\resources\Themes\aero.theme


to


SHERA.deskthemepack


1.Launch REGEDIT

2.Expand HKEY_LOCAL_MACHINE

3.Click FILE > LOAD HIVE > select C:\USERS\DEFAULT\NTUSER.DAT (that is the HKCU for the default user)

4.Name_test


Change

DEFAULT>\Software\Microsoft\Windows\CurrentVersion\Themes\CurrentTheme

5.Select_test

5.Unload Hive