Open Powershell as Administrator Change RDP port: Set-ItemProperty -Path “HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\” -Name PortNumber -Value 3391 Check current port: (Get-ItemProperty -Path “HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\” -Name PortNumber).PortNumber
Open Powershell as Admin and run below command, change RDP port to 3400 or your choice in given command Set-ItemProperty -Path “HKLM:System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp” -Name PortNumber -Value 3400
Create a file with notepad and paste below code, rename file as disable_update.ps1 then open Powershell as Admin then run it ./ps1 $WUSettings = (New-Object -com “Microsoft.Update.AutoUpdate”).Settings $WUSettings.NotificationLevel=1 $WUSettings.save() $WindowsUpdatePath = “HKLM:SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\” $AutoUpdatePath = “HKLM:SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU” If(Test-Path -Path $WindowsUpdatePath) { Remove-Item -Path $WindowsUpdatePath -Recurse } New-Item -Path $WindowsUpdatePath New-Item -Path $AutoUpdatePath Set-ItemProperty -Path $AutoUpdatePath -Name NoAutoUpdate -Value 1