Script to setup Windows 10 1903
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

173 lines
3.9 KiB

<#systemprotection#>
CreateRestorePoint
<#privacy&telemetry#>
TelemetryService -Disable;
DiagnosticDataLevel -Minimal;
ErrorReporting -Disable;
WindowsFeedback -Disable;
ScheduledTasks -Disable;
SigninInfo -Disable;
LanguageListAccess -Disable;
AdvertisingID -Disable;
ShareAcrossDevices -Disable;
WindowsWelcomeExperience -Hide;
WindowsTips -Enable;
SettingsSuggestedContent -Hide;
AppsSilentInstalling -Disable;
WhatsNewInWindows -Disable;
TailoredExperiences -Disable;
BingSearch -Disable
<#ui&personal#>
ThisPC -Show;
CheckBoxes -Disable;
HiddenItems -Enable;
FileExtensions -Show;
MergeConflicts -Show;
OpenFileExplorerTo -ThisPC;
CortanaButton -Hide;
OneDriveFileExplorerAd -Hide;
TaskViewButton -Hide;
PeopleTaskbar -Hide;
SecondsInSystemClock -Show;
SnapAssist -Disable;
FileTransferDialog -Detailed;
FileExplorerRibbon -Expanded;
RecycleBinDeleteConfirmation -Enable;
3DObjects -Hide;
QuickAccessFrequentFolders -Hide;
QuickAccessRecentFiles -Hide;
WindowsInkWorkspace -Hide;
TrayIcons -Show;
MeetNow -Hide;
UnpinTaskbarEdgeStore;
WindowsColorScheme -Dark;
AppMode -Dark;
NewAppInstalledNotification -Hide;
FirstLogonAnimation -Disable;
JPEGWallpapersQuality -Max;
TaskManagerWindow -Expanded;
RestartNotification -Show;
ShortcutsSuffix -Disable;
PrtScnSnippingTool -Enable;
AppsLanguageSwitch -Disable
<#onedrive#>
OneDrive -Uninstall
<#system#>
StorageSense -Enable;
StorageSenseFrequency -Month;
StorageSenseTempFiles -Enable;
StorageSenseRecycleBin -Enable;
Hibernate -Disable;
Win32LongPathLimit -Disable;
BSoDStopError -Enable;
AdminApprovalMode -Disable;
MappedDrivesAppElevatedAccess -Enable;
DeliveryOptimization -Disable;
WaitNetworkStartup -Enable;
WindowsManageDefaultPrinter -Disable;
WindowsFeatures -Disable;
WindowsCapabilities -Uninstall;
UpdateMicrosoftProducts -Enable;
PowerManagementScheme -High;
LatestInstalled.NET -Enable;
PCTurnOffDevice -Disable;
SetInputMethod -English;
WinPrtScrFolder -Desktop;
RecommendedTroubleshooting -Automatic;
FoldersLaunchSeparateProcess -Enable;
ReservedStorage -Disable;
F1HelpPage -Disable;
NumLock -Enable;
StickyShift -Disable;
Autoplay -Disable;
ThumbnailCacheRemoval -Disable;
SaveRestartableApps -Enable;
NetworkDiscovery -Enable;
SmartActiveHours -Enable;
DeviceRestartAfterUpdate -Enable
<#start#>
RecentlyAddedApps -Hide;
AppSuggestions -Hide;
RunPowerShellShortcut -Elevated;
PinToStart -Tiles ControlPanel, DevicesPrinters, PowerShell
<#uwp#>
UninstallUWPApps;
HEIF -Install;
CortanaAutostart -Disable;
BackgroundUWPApps -Disable;
CheckUWPAppsUpdates
<#gaming#>
XboxGameBar -Disable;
XboxGameTips -Disable;
SetAppGraphicsPerformance;
GPUScheduling -Enable
<#scheduled#>
CleanUpTask -Register;
SoftwareDistributionTask -Register;
TempTask -Register
<#defender&security#>
AddProtectedFolders;
AddAppControlledFolder;
AddDefenderExclusionFolder;
AddDefenderExclusionFile;
NetworkProtection -Enable;
PUAppsDetection -Enable;
DefenderSandbox -Enable;
DismissMSAccount;
DismissSmartScreenFilter;
AuditProcess -Enable;
AuditCommandLineProcess -Enable;
EventViewerCustomView -Enable;
PowerShellModulesLogging -Enable;
PowerShellScriptsLogging -Enable;
AppsSmartScreen -Disable;
SaveZoneInformation -Disable;
WindowsScriptHost -Disable;
WindowsSandbox -Enable
<#context#>
MSIExtractContext -Add;
CABInstallContext -Add;
RunAsDifferentUserContext -Add;
CastToDeviceContext -Hide;
ShareContext -Hide;
EditWithPhotosContext -Hide;
CreateANewVideoContext -Hide;
ImagesEditContext -Hide;
PrintCMDContext -Hide;
IncludeInLibraryContext -Hide;
SendToContext -Hide;
BitLockerContext -Hide;
BitmapImageNewContext -Remove;
RichTextDocumentNewContext -Remove;
CompressedFolderNewContext -Remove;
MultipleInvokeContext -Enable;
UseStoreOpenWith -Hide;
PreviousVersionsPage -Hide
<#other#>
ControlPanelView -LargeIcons;
TaskbarSearch -Hide;
SetUserShellFolderLocation -Root
<#end#>