|
1 | | -# Default preset |
| 1 | +########## |
| 2 | +# Win10 / WinServer2016 Initial Setup Script - Default preset |
| 3 | +# Author: Disassembler < [email protected]> |
| 4 | +# Version: v3.0, 2018-09-15 |
| 5 | +# Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script |
| 6 | +########## |
2 | 7 |
|
| 8 | +### Require administrator privileges ### |
3 | 9 | RequireAdmin |
4 | 10 |
|
5 | | -DisableTelemetry |
6 | | -DisableWiFiSense |
7 | | -# DisableSmartScreen |
8 | | -DisableWebSearch |
9 | | -DisableAppSuggestions |
10 | | -DisableActivityHistory |
11 | | -DisableBackgroundApps |
12 | | -DisableLocationTracking |
13 | | -DisableMapUpdates |
14 | | -DisableFeedback |
15 | | -DisableTailoredExperiences |
16 | | -DisableAdvertisingID |
17 | | -DisableWebLangList |
18 | | -DisableCortana |
19 | | -DisableErrorReporting |
20 | | -# SetP2PUpdateLocal |
21 | | -DisableDiagTrack |
22 | | -DisableWAPPush |
23 | | -# HideRecentJumplists |
| 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 | +DisableLocationTracking # EnableLocationTracking |
| 20 | +DisableMapUpdates # EnableMapUpdates |
| 21 | +DisableFeedback # EnableFeedback |
| 22 | +DisableTailoredExperiences # EnableTailoredExperiences |
| 23 | +DisableAdvertisingID # EnableAdvertisingID |
| 24 | +DisableWebLangList # EnableWebLangList |
| 25 | +DisableCortana # EnableCortana |
| 26 | +DisableErrorReporting # EnableErrorReporting |
| 27 | +# SetP2PUpdateLocal # SetP2PUpdateInternet # SetP2PUpdateDisable |
| 28 | +DisableDiagTrack # EnableDiagTrack |
| 29 | +DisableWAPPush # EnableWAPPush |
| 30 | +# HideRecentJumplists # ShowRecentJumplists |
24 | 31 |
|
25 | | -# SetUACLow |
26 | | -# EnableSharingMappedDrives |
27 | | -DisableAdminShares |
28 | | -# DisableSMB1 |
29 | | -# DisableSMBServer |
30 | | -# DisableLLMNR |
31 | | -# DisableNCSIProbe |
32 | | -SetCurrentNetworkPrivate |
33 | | -# SetUnknownNetworksPrivate |
34 | | -# DisableNetDevicesAutoInst |
35 | | -# EnableCtrldFolderAccess |
36 | | -# DisableFirewall |
37 | | -# DisableDefender |
38 | | -# DisableDefenderCloud |
39 | | -EnableF8BootMenu |
40 | | -SetDEPOptOut |
41 | | -# EnableCIMemoryIntegrity |
42 | | -DisableScriptHost |
43 | | -EnableDotNetStrongCrypto |
44 | | -# EnableMeltdownCompatFlag |
| 32 | +### Security Tweaks ### |
| 33 | +# SetUACLow # SetUACHigh |
| 34 | +# EnableSharingMappedDrives # DisableSharingMappedDrives |
| 35 | +DisableAdminShares # EnableAdminShares |
| 36 | +# DisableSMB1 # EnableSMB1 |
| 37 | +# DisableSMBServer # EnableSMBServer |
| 38 | +# DisableLLMNR # EnableLLMNR |
| 39 | +# DisableNCSIProbe # EnableNCSIProbe |
| 40 | +SetCurrentNetworkPrivate # SetCurrentNetworkPublic |
| 41 | +# SetUnknownNetworksPrivate # SetUnknownNetworksPublic |
| 42 | +# DisableNetDevicesAutoInst # EnableNetDevicesAutoInst |
| 43 | +# EnableCtrldFolderAccess # DisableCtrldFolderAccess |
| 44 | +# DisableFirewall # EnableFirewall |
| 45 | +# DisableDefender # EnableDefender |
| 46 | +# DisableDefenderCloud # EnableDefenderCloud |
| 47 | +EnableF8BootMenu # DisableF8BootMenu |
| 48 | +SetDEPOptOut # SetDEPOptIn |
| 49 | +# EnableCIMemoryIntegrity # DisableCIMemoryIntegrity |
| 50 | +DisableScriptHost # EnableScriptHost |
| 51 | +EnableDotNetStrongCrypto # DisableDotNetStrongCrypto |
| 52 | +# EnableMeltdownCompatFlag # DisableMeltdownCompatFlag |
45 | 53 |
|
46 | | -# DisableUpdateMSRT |
47 | | -# DisableUpdateDriver |
48 | | -DisableUpdateRestart |
49 | | -# DisableHomeGroups |
50 | | -DisableSharedExperiences |
51 | | -DisableRemoteAssistance |
52 | | -EnableRemoteDesktop |
53 | | -DisableAutoplay |
54 | | -DisableAutorun |
55 | | -# EnableStorageSense |
56 | | -# DisableDefragmentation |
57 | | -# DisableSuperfetch |
58 | | -# DisableIndexing |
59 | | -# SetBIOSTimeUTC |
60 | | -# EnableHibernation |
61 | | -# DisableSleepButton |
62 | | -# DisableSleepTimeout |
63 | | -# DisableFastStartup |
| 54 | +### Service Tweaks ### |
| 55 | +# DisableUpdateMSRT # EnableUpdateMSRT |
| 56 | +# DisableUpdateDriver # EnableUpdateDriver |
| 57 | +DisableUpdateRestart # EnableUpdateRestart |
| 58 | +# DisableHomeGroups # EnableHomeGroups |
| 59 | +DisableSharedExperiences # EnableSharedExperiences |
| 60 | +DisableRemoteAssistance # EnableRemoteAssistance |
| 61 | +EnableRemoteDesktop # DisableRemoteDesktop |
| 62 | +DisableAutoplay # EnableAutoplay |
| 63 | +DisableAutorun # EnableAutorun |
| 64 | +# EnableStorageSense # DisableStorageSense |
| 65 | +# DisableDefragmentation # EnableDefragmentation |
| 66 | +# DisableSuperfetch # EnableSuperfetch |
| 67 | +# DisableIndexing # EnableIndexing |
| 68 | +# SetBIOSTimeUTC # SetBIOSTimeLocal |
| 69 | +# EnableHibernation # DisableHibernation |
| 70 | +# DisableSleepButton # EnableSleepButton |
| 71 | +# DisableSleepTimeout # EnableSleepTimeout |
| 72 | +# DisableFastStartup # EnableFastStartup |
64 | 73 |
|
65 | | -DisableActionCenter |
66 | | -HideAccountProtectionWarn |
67 | | -DisableLockScreen |
68 | | -# DisableLockScreenRS1 |
69 | | -HideNetworkFromLockScreen |
70 | | -HideShutdownFromLockScreen |
71 | | -DisableStickyKeys |
72 | | -ShowTaskManagerDetails |
73 | | -ShowFileOperationsDetails |
74 | | -# EnableFileDeleteConfirm |
75 | | -HideTaskbarSearch |
76 | | -HideTaskView |
77 | | -ShowSmallTaskbarIcons |
78 | | -SetTaskbarCombineWhenFull |
79 | | -HideTaskbarPeopleIcon |
80 | | -ShowTrayIcons |
81 | | -DisableSearchAppInStore |
82 | | -DisableNewAppPrompt |
83 | | -# HideRecentlyAddedApps |
84 | | -# SetControlPanelSmallIcons |
85 | | -SetVisualFXPerformance |
86 | | -# AddENKeyboard |
87 | | -# EnableNumlock |
88 | | -# SetSoundSchemeNone |
89 | | -# DisableStartupSound |
90 | | -# DisableChangingSoundScheme |
| 74 | +### UI Tweaks ### |
| 75 | +DisableActionCenter # EnableActionCenter |
| 76 | +HideAccountProtectionWarn # ShowAccountProtectionWarn |
| 77 | +DisableLockScreen # EnableLockScreen |
| 78 | +# DisableLockScreenRS1 # EnableLockScreenRS1 |
| 79 | +HideNetworkFromLockScreen # ShowNetworkOnLockScreen |
| 80 | +HideShutdownFromLockScreen # ShowShutdownOnLockScreen |
| 81 | +DisableStickyKeys # EnableStickyKeys |
| 82 | +ShowTaskManagerDetails # HideTaskManagerDetails |
| 83 | +ShowFileOperationsDetails # HideFileOperationsDetails |
| 84 | +# EnableFileDeleteConfirm # DisableFileDeleteConfirm |
| 85 | +HideTaskbarSearch # ShowTaskbarSearchIcon # ShowTaskbarSearchBox |
| 86 | +HideTaskView # ShowTaskView |
| 87 | +ShowSmallTaskbarIcons # ShowLargeTaskbarIcons |
| 88 | +SetTaskbarCombineWhenFull # SetTaskbarCombineNever # SetTaskbarCombineAlways |
| 89 | +HideTaskbarPeopleIcon # ShowTaskbarPeopleIcon |
| 90 | +ShowTrayIcons # HideTrayIcons |
| 91 | +DisableSearchAppInStore # EnableSearchAppInStore |
| 92 | +DisableNewAppPrompt # EnableNewAppPrompt |
| 93 | +# HideRecentlyAddedApps # ShowRecentlyAddedApps |
| 94 | +# SetControlPanelSmallIcons # SetControlPanelLargeIcons # SetControlPanelCategories |
| 95 | +SetVisualFXPerformance # SetVisualFXAppearance |
| 96 | +# AddENKeyboard # RemoveENKeyboard |
| 97 | +# EnableNumlock # DisableNumlock |
| 98 | +# SetSoundSchemeNone # SetSoundSchemeDefault |
| 99 | +# DisableStartupSound # EnableStartupSound |
| 100 | +# DisableChangingSoundScheme # EnableChangingSoundScheme |
91 | 101 |
|
92 | | -ShowKnownExtensions |
93 | | -ShowHiddenFiles |
94 | | -# EnableFldrSeparateProcess |
95 | | -# EnableRestoreFldrWindows |
96 | | -# DisableSharingWizard |
97 | | -HideSelectCheckboxes |
98 | | -HideSyncNotifications |
99 | | -HideRecentShortcuts |
100 | | -SetExplorerThisPC |
101 | | -HideQuickAccess |
102 | | -ShowThisPCOnDesktop |
103 | | -# ShowUserFolderOnDesktop |
104 | | -HideDesktopFromThisPC |
105 | | -# HideDesktopFromExplorer |
106 | | -HideDocumentsFromThisPC |
107 | | -# HideDocumentsFromExplorer |
108 | | -HideDownloadsFromThisPC |
109 | | -# HideDownloadsFromExplorer |
110 | | -HideMusicFromThisPC |
111 | | -# HideMusicFromExplorer |
112 | | -HidePicturesFromThisPC |
113 | | -# HidePicturesFromExplorer |
114 | | -HideVideosFromThisPC |
115 | | -# HideVideosFromExplorer |
116 | | -Hide3DObjectsFromThisPC |
117 | | -# Hide3DObjectsFromExplorer |
118 | | -# DisableThumbnails |
119 | | -DisableThumbnailCache |
120 | | -DisableThumbsDBOnNetwork |
| 102 | +### Explorer UI Tweaks ### |
| 103 | +ShowKnownExtensions # HideKnownExtensions |
| 104 | +ShowHiddenFiles # HideHiddenFiles |
| 105 | +# EnableFldrSeparateProcess # DisableFldrSeparateProcess |
| 106 | +# EnableRestoreFldrWindows # DisableRestoreFldrWindows |
| 107 | +# DisableSharingWizard # EnableSharingWizard |
| 108 | +# HideSelectCheckboxes # ShowSelectCheckboxes |
| 109 | +HideSyncNotifications # ShowSyncNotifications |
| 110 | +HideRecentShortcuts # ShowRecentShortcuts |
| 111 | +SetExplorerThisPC # SetExplorerQuickAccess |
| 112 | +HideQuickAccess # ShowQuickAccess |
| 113 | +ShowThisPCOnDesktop # HideThisPCFromDesktop |
| 114 | +# ShowUserFolderOnDesktop # HideUserFolderFromDesktop |
| 115 | +HideDesktopFromThisPC # ShowDesktopInThisPC |
| 116 | +# HideDesktopFromExplorer # ShowDesktopInExplorer |
| 117 | +HideDocumentsFromThisPC # ShowDocumentsInThisPC |
| 118 | +# HideDocumentsFromExplorer # ShowDocumentsInExplorer |
| 119 | +HideDownloadsFromThisPC # ShowDownloadsInThisPC |
| 120 | +# HideDownloadsFromExplorer # ShowDownloadsInExplorer |
| 121 | +HideMusicFromThisPC # ShowMusicInThisPC |
| 122 | +# HideMusicFromExplorer # ShowMusicInExplorer |
| 123 | +HidePicturesFromThisPC # ShowPicturesInThisPC |
| 124 | +# HidePicturesFromExplorer # ShowPicturesInExplorer |
| 125 | +HideVideosFromThisPC # ShowVideosInThisPC |
| 126 | +# HideVideosFromExplorer # ShowVideosInExplorer |
| 127 | +Hide3DObjectsFromThisPC # Show3DObjectsInThisPC |
| 128 | +# Hide3DObjectsFromExplorer # Show3DObjectsInExplorer |
| 129 | +# DisableThumbnails # EnableThumbnails |
| 130 | +DisableThumbnailCache # EnableThumbnailCache |
| 131 | +DisableThumbsDBOnNetwork # EnableThumbsDBOnNetwork |
121 | 132 |
|
122 | | -DisableOneDrive |
123 | | -UninstallOneDrive |
124 | | -UninstallMsftBloat |
125 | | -UninstallThirdPartyBloat |
126 | | -# UninstallWindowsStore |
127 | | -DisableXboxFeatures |
128 | | -DisableAdobeFlash |
129 | | -DisableEdgeShortcutCreation |
130 | | -# UninstallMediaPlayer |
131 | | -# UninstallInternetExplorer |
132 | | -# UninstallWorkFolders |
133 | | -# InstallLinuxSubsystem |
134 | | -# InstallHyperV |
135 | | -SetPhotoViewerAssociation |
136 | | -AddPhotoViewerOpenWith |
137 | | -# UninstallPDFPrinter |
138 | | -UninstallXPSPrinter |
139 | | -RemoveFaxPrinter |
140 | | -# UninstallFaxAndScan |
| 133 | +### Application Tweaks ### |
| 134 | +DisableOneDrive # EnableOneDrive |
| 135 | +UninstallOneDrive # InstallOneDrive |
| 136 | +UninstallMsftBloat # InstallMsftBloat |
| 137 | +UninstallThirdPartyBloat # InstallThirdPartyBloat |
| 138 | +# UninstallWindowsStore # InstallWindowsStore |
| 139 | +DisableXboxFeatures # EnableXboxFeatures |
| 140 | +DisableAdobeFlash # EnableAdobeFlash |
| 141 | +DisableEdgeShortcutCreation # EnableEdgeShortcutCreation |
| 142 | +# UninstallMediaPlayer # InstallMediaPlayer |
| 143 | +# UninstallInternetExplorer # InstallInternetExplorer |
| 144 | +# UninstallWorkFolders # InstallWorkFolders |
| 145 | +# InstallLinuxSubsystem # UninstallLinuxSubsystem |
| 146 | +# InstallHyperV # UninstallHyperV |
| 147 | +SetPhotoViewerAssociation # UnsetPhotoViewerAssociation |
| 148 | +AddPhotoViewerOpenWith # RemovePhotoViewerOpenWith |
| 149 | +# UninstallPDFPrinter # InstallPDFPrinter |
| 150 | +UninstallXPSPrinter # InstallXPSPrinter |
| 151 | +RemoveFaxPrinter # AddFaxPrinter |
| 152 | +# UninstallFaxAndScan # InstallFaxAndScan |
141 | 153 |
|
142 | | -# HideServerManagerOnLogin |
143 | | -# DisableShutdownTracker |
144 | | -# DisablePasswordPolicy |
145 | | -# DisableCtrlAltDelLogin |
146 | | -# DisableIEEnhancedSecurity |
147 | | -# EnableAudio |
| 154 | +### Server Specific Tweaks ### |
| 155 | +# HideServerManagerOnLogin # ShowServerManagerOnLogin |
| 156 | +# DisableShutdownTracker # EnableShutdownTracker |
| 157 | +# DisablePasswordPolicy # EnablePasswordPolicy |
| 158 | +# DisableCtrlAltDelLogin # EnableCtrlAltDelLogin |
| 159 | +# DisableIEEnhancedSecurity # EnableIEEnhancedSecurity |
| 160 | +# EnableAudio # DisableAudio |
148 | 161 |
|
| 162 | +### Unpinning ### |
149 | 163 | # UnpinStartMenuTiles |
150 | 164 | # UnpinTaskbarIcons |
151 | 165 |
|
| 166 | +### Auxiliary Functions ### |
152 | 167 | WaitForKey |
153 | 168 | Restart |
0 commit comments