1+ ##########
2+ # Win 10 / Server 2016 / Server 2019 Initial Setup Script - Default preset
3+ # Author: Disassembler <disassembler@dasm.cz>
4+ # Version: v3.8, 2019-09-11
5+ # Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script
6+ ##########
7+
8+ ### Require administrator privileges ###
9+ RequireAdmin
10+
11+ ### Privacy Tweaks ###
12+ DisableTelemetry # EnableTelemetry
13+ DisableWiFiSense # EnableWiFiSense
14+ DisableSmartScreen # EnableSmartScreen
15+ # DisableWebSearch # EnableWebSearch
16+ DisableAppSuggestions # EnableAppSuggestions
17+ DisableActivityHistory # EnableActivityHistory
18+ DisableBackgroundApps # EnableBackgroundApps
19+ # DisableSensors # EnableSensors
20+ DisableLocation # EnableLocation
21+ DisableMapUpdates # EnableMapUpdates
22+ DisableFeedback # EnableFeedback
23+ DisableTailoredExperiences # EnableTailoredExperiences
24+ DisableAdvertisingID # EnableAdvertisingID
25+ DisableWebLangList # EnableWebLangList
26+ DisableCortana # EnableCortana
27+ # DisableBiometrics # EnableBiometrics
28+ # DisableCamera # EnableCamera
29+ # DisableMicrophone # EnableMicrophone
30+ DisableErrorReporting # EnableErrorReporting
31+ # SetP2PUpdateLocal # SetP2PUpdateInternet # SetP2PUpdateDisable
32+ DisableDiagTrack # EnableDiagTrack
33+ DisableWAPPush # EnableWAPPush
34+ # EnableClearRecentFiles # DisableClearRecentFiles
35+ # DisableRecentFiles # EnableRecentFiles
36+
37+ ### Security Tweaks ###
38+ # SetUACLow # SetUACHigh
39+ # EnableSharingMappedDrives # DisableSharingMappedDrives
40+ DisableAdminShares # EnableAdminShares
41+ # DisableFirewall # EnableFirewall
42+ # HideDefenderTrayIcon # ShowDefenderTrayIcon
43+ # DisableDefender # EnableDefender
44+ # DisableDefenderCloud # EnableDefenderCloud
45+ # EnableCtrldFolderAccess # DisableCtrldFolderAccess
46+ # EnableCIMemoryIntegrity # DisableCIMemoryIntegrity
47+ # EnableDefenderAppGuard # DisableDefenderAppGuard
48+ HideAccountProtectionWarn # ShowAccountProtectionWarn
49+ # DisableDownloadBlocking # EnableDownloadBlocking
50+ DisableScriptHost # EnableScriptHost
51+ EnableDotNetStrongCrypto # DisableDotNetStrongCrypto
52+ # EnableMeltdownCompatFlag # DisableMeltdownCompatFlag
53+ EnableF8BootMenu # DisableF8BootMenu
54+ # DisableBootRecovery # EnableBootRecovery
55+ # DisableRecoveryAndReset # EnableRecoveryAndReset
56+ SetDEPOptOut # SetDEPOptIn
57+
58+ ### Network Tweaks ###
59+ SetCurrentNetworkPrivate # SetCurrentNetworkPublic
60+ # SetUnknownNetworksPrivate # SetUnknownNetworksPublic
61+ # DisableNetDevicesAutoInst # EnableNetDevicesAutoInst
62+ # DisableHomeGroups # EnableHomeGroups
63+ # DisableSMB1 # EnableSMB1
64+ # DisableSMBServer # EnableSMBServer
65+ # DisableNetBIOS # EnableNetBIOS
66+ # DisableLLMNR # EnableLLMNR
67+ # DisableLLDP # EnableLLDP
68+ # DisableLLTD # EnableLLTD
69+ # DisableMSNetClient # EnableMSNetClient
70+ # DisableQoS # EnableQoS
71+ # DisableIPv4 # EnableIPv4
72+ # DisableIPv6 # EnableIPv6
73+ # DisableNCSIProbe # EnableNCSIProbe
74+ # DisableConnectionSharing # EnableConnectionSharing
75+ DisableRemoteAssistance # EnableRemoteAssistance
76+ # EnableRemoteDesktop # DisableRemoteDesktop
77+
78+ ### Service Tweaks ###
79+ # DisableUpdateMSRT # EnableUpdateMSRT
80+ # DisableUpdateDriver # EnableUpdateDriver
81+ EnableUpdateMSProducts # DisableUpdateMSProducts
82+ # DisableUpdateAutoDownload # EnableUpdateAutoDownload
83+ DisableUpdateRestart # EnableUpdateRestart
84+ DisableMaintenanceWakeUp # EnableMaintenanceWakeUp
85+ DisableSharedExperiences # EnableSharedExperiences
86+ # EnableClipboardHistory # DisableClipboardHistory
87+ DisableAutoplay # EnableAutoplay
88+ DisableAutorun # EnableAutorun
89+ # DisableRestorePoints # EnableRestorePoints
90+ # EnableStorageSense # DisableStorageSense
91+ # DisableDefragmentation # EnableDefragmentation
92+ # DisableSuperfetch # EnableSuperfetch
93+ # DisableIndexing # EnableIndexing
94+ # DisableSwapFile # EnableSwapFile
95+ # DisableRecycleBin # EnableRecycleBin
96+ EnableNTFSLongPaths # DisableNTFSLongPaths
97+ # DisableNTFSLastAccess # EnableNTFSLastAccess
98+ # SetBIOSTimeUTC # SetBIOSTimeLocal
99+ # EnableHibernation # DisableHibernation
100+ # DisableSleepButton # EnableSleepButton
101+ # DisableSleepTimeout # EnableSleepTimeout
102+ # DisableFastStartup # EnableFastStartup
103+ # DisableAutoRebootOnCrash # EnableAutoRebootOnCrash
104+
105+ ### UI Tweaks ###
106+ DisableActionCenter # EnableActionCenter
107+ DisableLockScreen # EnableLockScreen
108+ # DisableLockScreenRS1 # EnableLockScreenRS1
109+ HideNetworkFromLockScreen # ShowNetworkOnLockScreen
110+ HideShutdownFromLockScreen # ShowShutdownOnLockScreen
111+ DisableLockScreenBlur # EnableLockScreenBlur
112+ # DisableAeroShake # EnableAeroShake
113+ DisableAccessibilityKeys # EnableAccessibilityKeys
114+ ShowTaskManagerDetails # HideTaskManagerDetails
115+ # ShowFileOperationsDetails # HideFileOperationsDetails
116+ # EnableFileDeleteConfirm # DisableFileDeleteConfirm
117+ # HideTaskbarSearch # ShowTaskbarSearchIcon # ShowTaskbarSearchBox
118+ HideTaskView # ShowTaskView
119+ # ShowSmallTaskbarIcons # ShowLargeTaskbarIcons
120+ # SetTaskbarCombineWhenFull # SetTaskbarCombineNever # SetTaskbarCombineAlways
121+ HideTaskbarPeopleIcon # ShowTaskbarPeopleIcon
122+ ShowTrayIcons # HideTrayIcons
123+ # ShowSecondsInTaskbar # HideSecondsFromTaskbar
124+ DisableSearchAppInStore # EnableSearchAppInStore
125+ DisableNewAppPrompt # EnableNewAppPrompt
126+ # HideRecentlyAddedApps # ShowRecentlyAddedApps
127+ # HideMostUsedApps # ShowMostUsedApps
128+ # SetControlPanelSmallIcons # SetControlPanelLargeIcons # SetControlPanelCategories
129+ DisableShortcutInName # EnableShortcutInName
130+ # HideShortcutArrow # ShowShortcutArrow
131+ SetVisualFXPerformance # SetVisualFXAppearance
132+ # EnableTitleBarColor # DisableTitleBarColor
133+ EnableDarkTheme # DisableDarkTheme
134+ # AddENKeyboard # RemoveENKeyboard
135+ # EnableNumlock # DisableNumlock
136+ # DisableEnhPointerPrecision # EnableEnhPointerPrecision
137+ # SetSoundSchemeNone # SetSoundSchemeDefault
138+ # DisableStartupSound # EnableStartupSound
139+ # DisableChangingSoundScheme # EnableChangingSoundScheme
140+ # EnableVerboseStatus # DisableVerboseStatus
141+ DisableF1HelpKey # EnableF1HelpKey
142+
143+ ### Explorer UI Tweaks ###
144+ # ShowExplorerTitleFullPath # HideExplorerTitleFullPath
145+ ShowKnownExtensions # HideKnownExtensions
146+ ShowHiddenFiles # HideHiddenFiles
147+ # ShowSuperHiddenFiles # HideSuperHiddenFiles
148+ # ShowEmptyDrives # HideEmptyDrives
149+ # ShowFolderMergeConflicts # HideFolderMergeConflicts
150+ EnableNavPaneExpand # DisableNavPaneExpand
151+ # ShowNavPaneAllFolders # HideNavPaneAllFolders
152+ # EnableFldrSeparateProcess # DisableFldrSeparateProcess
153+ # EnableRestoreFldrWindows # DisableRestoreFldrWindows
154+ # ShowEncCompFilesColor # HideEncCompFilesColor
155+ # DisableSharingWizard # EnableSharingWizard
156+ # HideSelectCheckboxes # ShowSelectCheckboxes
157+ HideSyncNotifications # ShowSyncNotifications
158+ HideRecentShortcuts # ShowRecentShortcuts
159+ # SetExplorerThisPC # SetExplorerQuickAccess
160+ HideQuickAccess # ShowQuickAccess
161+ # HideRecycleBinFromDesktop # ShowRecycleBinOnDesktop
162+ ShowThisPCOnDesktop # HideThisPCFromDesktop
163+ # ShowUserFolderOnDesktop # HideUserFolderFromDesktop
164+ # ShowControlPanelOnDesktop # HideControlPanelFromDesktop
165+ # ShowNetworkOnDesktop # HideNetworkFromDesktop
166+ # ShowBuildNumberOnDesktop # HideBuildNumberFromDesktop
167+ # HideDesktopFromThisPC # ShowDesktopInThisPC
168+ # HideDesktopFromExplorer # ShowDesktopInExplorer
169+ # HideDocumentsFromThisPC # ShowDocumentsInThisPC
170+ # HideDocumentsFromExplorer # ShowDocumentsInExplorer
171+ # HideDownloadsFromThisPC # ShowDownloadsInThisPC
172+ # HideDownloadsFromExplorer # ShowDownloadsInExplorer
173+ HideMusicFromThisPC # ShowMusicInThisPC
174+ # HideMusicFromExplorer # ShowMusicInExplorer
175+ HidePicturesFromThisPC # ShowPicturesInThisPC
176+ # HidePicturesFromExplorer # ShowPicturesInExplorer
177+ HideVideosFromThisPC # ShowVideosInThisPC
178+ # HideVideosFromExplorer # ShowVideosInExplorer
179+ Hide3DObjectsFromThisPC # Show3DObjectsInThisPC
180+ # Hide3DObjectsFromExplorer # Show3DObjectsInExplorer
181+ # HideIncludeInLibraryMenu # ShowIncludeInLibraryMenu
182+ # HideGiveAccessToMenu # ShowGiveAccessToMenu
183+ # HideShareMenu # ShowShareMenu
184+ # DisableThumbnails # EnableThumbnails
185+ DisableThumbnailCache # EnableThumbnailCache
186+ DisableThumbsDBOnNetwork # EnableThumbsDBOnNetwork
187+
188+ ### Application Tweaks ###
189+ DisableOneDrive # EnableOneDrive
190+ UninstallOneDrive # InstallOneDrive
191+ UninstallMsftBloat # InstallMsftBloat
192+ UninstallThirdPartyBloat # InstallThirdPartyBloat
193+ # UninstallWindowsStore # InstallWindowsStore
194+ DisableXboxFeatures # EnableXboxFeatures
195+ # DisableFullscreenOptims # EnableFullscreenOptims
196+ # DisableAdobeFlash # EnableAdobeFlash
197+ DisableEdgePreload # EnableEdgePreload
198+ DisableEdgeShortcutCreation # EnableEdgeShortcutCreation
199+ DisableIEFirstRun # EnableIEFirstRun
200+ DisableFirstLogonAnimation # EnableFirstLogonAnimation
201+ DisableMediaSharing # EnableMediaSharing
202+ # UninstallMediaPlayer # InstallMediaPlayer
203+ # UninstallInternetExplorer # InstallInternetExplorer
204+ # UninstallWorkFolders # InstallWorkFolders
205+ # UninstallPowerShellV2 # InstallPowerShellV2
206+ # InstallLinuxSubsystem # UninstallLinuxSubsystem
207+ # InstallHyperV # UninstallHyperV
208+ # InstallNET23 # UninstallNET23
209+ SetPhotoViewerAssociation # UnsetPhotoViewerAssociation
210+ AddPhotoViewerOpenWith # RemovePhotoViewerOpenWith
211+ # UninstallPDFPrinter # InstallPDFPrinter
212+ UninstallXPSPrinter # InstallXPSPrinter
213+ RemoveFaxPrinter # AddFaxPrinter
214+ # UninstallFaxAndScan # InstallFaxAndScan
215+
216+ ### Server Specific Tweaks ###
217+ # HideServerManagerOnLogin # ShowServerManagerOnLogin
218+ # DisableShutdownTracker # EnableShutdownTracker
219+ # DisablePasswordPolicy # EnablePasswordPolicy
220+ # DisableCtrlAltDelLogin # EnableCtrlAltDelLogin
221+ # DisableIEEnhancedSecurity # EnableIEEnhancedSecurity
222+ # EnableAudio # DisableAudio
223+
224+ ### Unpinning ###
225+ # UnpinStartMenuTiles
226+ # UnpinTaskbarIcons
227+
228+ ### Auxiliary Functions ###
229+ # WaitForKey
230+ # Restart
0 commit comments