Tuesday, June 6, 2023

Windows Time Zone

  1. Save the command in a text file and save the file with the extension ".bat" .
  2. Open start menu and select "Run" and type "shell:startup" and copy the file.

 

Set a timezone with DST off:

 tzutil /s "Arabic Standard time_dstoff"

 

Set a timezone

tzutil /s "Arabic Standard time"


Display current timezone:

tzutil /g

MS-SQL CPU limit

 ALTER RESOURCE GOVERNOR RECONFIGURE; CREATE RESOURCE POOL pMAX_CPU_65 WITH (MAX_CPU_PERCENT = 65); GO CREATE WORKLOAD GROUP gMAX_CPU_65 USI...