Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- REM Administrative Templates (Computers)
- REM Network
- REM Network Connections
- REM Windows Defender Firewall
- REM Standard Profile
- REM Windows Defender Firewall: Allow inbound Remote Desktop exceptions
- REG ADD "HKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Services\RemoteDesktop" /v Enabled /t REG_DWORD /d 1 /f
- REM System
- REM Driver Installation
- REM Turn off Windows Update device driver search prompt
- REG ADD "HKLM\Software\Policies\Microsoft\Windows\DriverSearching" /v DontPromptForWindowsUpdate /t REG_DWORD /d 1 /f
- REM Internet Communication Management
- REM Internet Communication Settings
- REM Turn off Windows Customer Experience Improvement Program
- REG ADD "HKLM\Software\Policies\Microsoft\SQMClient\Windows" /v CEIPEnable /t REG_DWORD /d 0 /f
- REM Turn off Windows Error Reporting
- REG ADD "HKLM\Software\Policies\Microsoft\PCHealth\ErrorReporting" /v DoReport /t REG_DWORD /d 0 /f
- REG ADD "HKLM\Software\Policies\Microsoft\Windows\Windows Error Reporting" /v Disabled /t REG_DWORD /d 1 /f
- REM Turn off Windows Update device driver searching
- REG ADD "HKLM\Software\Policies\Microsoft\Windows\DriverSearching" /v DontSearchWindowsUpdate /t REG_DWORD /d 1 /f
- REM Windows Components
- REM AutoPlay Policies
- REM Turn off Autoplay
- REG ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoDriveTypeAutoRun /t REG_DWORD /d 255 /f
- REM Internet Explorer
- REM Prevent participation in the Customer Experience Improvement Program
- REG ADD "HKLM\Software\Policies\Microsoft\Internet Explorer\SQM" /v DisableCustomerImprovementProgram /t REG_DWORD /d 0 /f
- REM Location and Sensors
- REM Turn off location
- REG ADD "HKLM\Software\Policies\Microsoft\Windows\LocationAndSensors" /v DisableLocation /t REG_DWORD /d 1 /f
- REM Turn off sensors
- REG ADD "HKLM\Software\Policies\Microsoft\Windows\LocationAndSensors" /v DisableSensors /t REG_DWORD /d 1 /f
- REM Remote Desktop Services
- REM Remote Desktop Session Host
- REM Connections
- REM Allow users to connect remotely using Remote Desktop Services
- REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v fDenyTSConnections /t REG_DWORD /d 0 /f
- REM Security
- REM Require user authentication for remote connections by using Network Level Authentication
- REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v UserAuthentication /t REG_DWORD /d 1 /f
- REM Windows Defender
- REM Turn off Windows Defender
- REG ADD "HKLM\Software\Policies\Microsoft\Windows Defender" /v DisableAntiSpyware /t REG_DWORD /d 1 /f
- REM Windows Error Reporting
- REM Disable Windows Error Reporting
- REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting" /v Disabled /t REG_DWORD /d 1 /f
- REM Windows Update
- REM Turn off the upgrade to the latest version of Windows through Windows Update
- REG ADD "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v DisableOSUpgrade /t REG_DWORD /d 1 /f
- REM Configure Automatic Updates
- REG ADD "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoUpdate /t REG_DWORD /d 1 /f
- REM No auto-restart with logged on users for scheduled automatic updates installations
- REG ADD "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoRebootWithLoggedOnUsers /t REG_DWORD /d 1 /f
- REM Turn on recommended updates via Automatic Updates
- REG ADD "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v IncludeRecommendedUpdates /t REG_DWORD /d 0 /f
- pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement