วันศุกร์ที่ 6 สิงหาคม พ.ศ. 2564
วันพุธที่ 4 สิงหาคม พ.ศ. 2564
Group Policy
::Disable Sound Icon
User Configuration -> Policies -> Administrative Templates -> Start Menu and Taskbar -> Remove the volume control icon = enabled.
::Disable Server Management
Computer Configuration -> Administrative Templates -> System -> Server Manager -> Do not display Server Manager automatically at logon = enabled.
::Show Computer
"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu]
"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000
วันอังคารที่ 29 มิถุนายน พ.ศ. 2564
wServer_OpenSSH
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0 Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
Set-Service sshd -StartupType Automatic
Set-Service ssh-agent -StartupType Automatic
Start-Service sshd
Start-Service ssh-agent
get-service bits, wuauserv
$Password = ConvertTo-SecureString "P@ssW0rD!" -AsPlainText -Force
New-LocalUser "User03" -Password $Password
วันศุกร์ที่ 11 มิถุนายน พ.ศ. 2564
CAR-Part
วันจันทร์ที่ 17 พฤษภาคม พ.ศ. 2564
Apache
Ubuntu 20
vi /etc/apache2/apache2.conf
เพิ่มโค๊ดด้านล่างนี้ใว้บรรทัดล่างสุด
ServerName localhost
apachectl -t -D DUMP_INCLUDES
วันอังคารที่ 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
วันอาทิตย์ที่ 10 พฤษภาคม พ.ศ. 2563
Vmware-OVF convert
https://felixcentmerino.wordpress.com/virtualization/migrate-virtual-machine-from-oracle-virtualbox-to-esxi-5-5/
1.download ovftool 3.5
C:\Program Files\VMware\VMware OVF Tool> ovftool.exe --shaAlgorithm=SHA1 c:\vmbox\aa.ova c:\vmbox\bb.ovf
2.edit c:\vmbox\bb.ovf
3. Microsoft File Checksum Integrity Verifier
fciv.exe -sha1 c:\odoo.ovf
copy sha1 to c:\vmbox\bb.mf