add GPEDIT.MSC in Windows 10/11 Home

สร้าง bat file ชื่อ gpedit-ena.bat แล้ว run 

				
					@echo off
pushd “%~dp0″
dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >Files.txt
dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>Files.txt
echo Installing Group Policy Editor…
for /f %%i in (‘findstr /i . Files.txt 2^>nul’) do dism /online /norestart /add-package:”C:\Windows\servicing\Packages\%%i”
echo.
echo Installation complete.
echo.
pause
				
			

Reinstall Mail Apps Windows 10 /11

powershell as admin

Get-AppxPackage –AllUsers

มองหา name: microsoft.windowscommunicationsapps แล้วคัดลอก PackageFullName เก็บไว้

เช่น PackageFullName : microsoft.windowscommunicationsapps_16005.11629.20316.0_x64__8wekyb3d8bbwe

จากนั้น Remove-AppxPackage ตามด้วย PackageFullName แล้ว Enter

cmd as admin

Service บน Windows ไม่ทำงาน Start Stop ก็ไม่ได้จาง

สมมุติ Remote Desktop Service ไม่ทำงาน เข้า Service กด Start Restart Stop ไม่ได้ จาง หรือ หายไป

เข้า Command Line พิมพ์

C:\Windows\system32>net start TermService (Enter) ระบบแสดง
The service is starting or stopping. Please try again later.

C:\Windows\system32>net stop TermService (Enter) ระบบแสดง
The service is starting or stopping. Please try again later.

ค้นหา Service

C:\Windows\system32>tasklist /svc | findstr /C:TermService(Enter) ระบบแสดง
svchost.exe 436 TermService

แสดงว่า TermService มีอยู่แต่ติดต่อไม่ได้ PID 436 ต้อง Kill process ทิ้ง

C:\Windows\system32>taskkill /F /PID 436 (Enter)
SUCCESS: The process with PID 436 has been terminated.

สั่ง Start ใหม่

C:\Windows\system32>net start TermService
The Remote Desktop Services service is starting.
The Remote Desktop Services service was started successfully.

error 0x000003e3 share print

do you trust this printer

cannot connect to the printer หรือ operation failed error 0x000003e3

ที่ตัวแม่ regedit

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows x64\Drivers\Version-3

เลือกเครื่องพิมพ์ มองหา PrinterDriverAttributes แก้เป็น 1

Restart Print Spooler

เพิ่มเติม ถ้าไม่ได้ สำหรับ Drivers 64-bit HKLM\System\CurrentControlSet\Control\Print\Enviroments\Windowsx64\Drivers\Version-X{Driver Name} สำหรับ Drivers 32-bit

HKLM\System\CurrentControlSet\Control\Print\Enviroments\Windows NT x86\Drivers\Version-X{Driver Name}

X is the print driver Type, usually either 3 or 4

แก้ PrinterDriverAttributes เป็น 1

Disable Windows 10 Update Permant

Service Windows Update
Stop Disable
Recovery ->
Reset fail count after 0 days

Restart service after 0 minutes
Background Intelligent Transfer Service
Stop Disable
Recovery ->

ไปที่ network
ปิด metered connection

regedit
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft
New Key: WindowsUpdate
New Key:AU
New Dword 32 bits :AUOptions :2

gpedit.msc
com config
admin temp
Windows Compoments
Windows Updates

  • Configure Windows Update ->Disable

task Schedule
Microsoft
Windows
Windows
Updates
Scheduled Start Disable
sihpostreboot Disable

Auto Start App Windows 10

กด Win+R

พิมพ์ shell:startup

copy shortcut app ไปวาง

Autologin Windows 10

regedit
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
AutoAdminLogon
ตั้งเป็น 1
DefaultUserName
DefaultPassword

ถ้าไม่มีสร้าง String Value