windowscommands
This is an old revision of the document!
Table of Contents
Powershell
Disable WSUS
Check Registry Key …
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]
Stop-Service -Name wuauserv Remove-Item HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate -Recurse Start-Service -name wuauserv Stop-Service -Name wuauserv New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" New-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" -Name "TargetGroupEnabled" -Value "1" Start-Service -name wuauserv
Install RSAT
Get-WindowsCapability -Online | Where-Object {$_.Name -like "RSAT*"} Add-WindowsCapability -Online -Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0 Add-WindowsCapability -Online -Name Rsat.GroupPolicy.Management.Tools~~~~0.0.1.0 Add-WindowsCapability -Online -Name Rsat.ServerManager.Tools~~~~0.0.1.0 Get-WindowsCapability -Online | Where-Object {$_.Name -like "Rsat.ActiveDirectory*"}
Block USB Storage
Computer Configuration > Administrative Templates > System > Removable Storage Access
windowscommands.1602451959.txt.gz · Last modified: 2025/03/08 22:23 (external edit)