Skip to content

Instantly share code, notes, and snippets.

View HamedAsoodeh's full-sized avatar

Hamed Asoodeh HamedAsoodeh

View GitHub Profile
@HamedAsoodeh
HamedAsoodeh / List.md
Created August 25, 2023 22:16 — forked from napsterrahul/List.md
List of open source projects made with Laravel
@HamedAsoodeh
HamedAsoodeh / disable windows update PowerShell.ps1
Created March 27, 2023 17:17
run as administrator powershell
sc.exe stop wuauserv
sc.exe query wuauserv
sc.exe config wuauserv start=disabled
Set-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Services\DksCfg\Parameters -Name IgnoreWindowsUpdate -type DWord -Value 1
Set-ItemProperty -Path HKLM:\SOFTWARE\DKS\WindowsUpdate -Name Disabled -type DWord -Value 1
Set-ItemProperty -Path HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU -Name NoAutoUpdate -type DWord -Value 1
Set-ItemProperty -Path HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU -Name NoAutoRebootWithLoggedOnUsers -type DWord -Value 1