68 Commits

Author SHA1 Message Date
Disassembler
076bfbdf75 v3.10, 2020-07-15
- Add "Install Telnet Client"
- Add "Set PowerShell/Command prompt in WinX menu"
- Add "Set Light Mode for System" (thx @michalsieron)
- Add "Hide desktop icons" (thx @rault-a)
- Add "Disable Windows Media Player online access" (thx @Kein)
- Add "Hide Network icon from Explorer namespace"
- Add "Show Libraries in Explorer navigation pane"
- Add a new group with a bunch of UWP Privacy tweaks
- Update DisableCortana for 2004
- Update DisableUpdateDriver to use the proper GPO
- Update DisableTelemetry to include Office Telemetry (thx @tomasz1986)
- Update DisableAdminShares to properly apply on WinServer
- *BREAKING* Rename EnableDarkTheme to SetAppsDarkMode
- *BREAKING* Rename DisableBackgroundApps to DisableUWPBackgroundApps
2020-07-15 20:45:10 +02:00
Disassembler
294729dd12 Update "DisableCortana" for 2004, resolves #321 2020-07-15 20:34:51 +02:00
Disassembler
d773b93d6f Make DisableAdminShares apply properly on WinServer, fixes #317 2020-07-15 18:58:33 +02:00
Disassembler
4f0f07c4d9 Add "Show Libraries in Explorer navigation pane", closes #314 2020-07-15 18:45:40 +02:00
Disassembler
c45d596460 Add "Hide Network icon from Explorer namespace", relates to #314 2020-07-15 18:42:38 +02:00
Disassembler
88d5a61c9c Suppress error when Office isn't installed, amends #288 2020-07-15 16:18:04 +02:00
Tomasz Wilczyński
104f9a2e42 Disable Microsoft Office 2019 telemetry (#288)
Disable the following scheduled tasks responsible for scanning and uploading
user data to Microsoft.

Office ClickToRun Service Monitor: This task monitors the state of your
Microsoft Office ClickToRunSvc and sends crash and error logs to Microsoft.

OfficeTelemetryAgentLogOn2016: This task initiates Office Telemetry Agent,
which scans and uploads usage and error information for Office solutions when
a user logs on to the computer.

OfficeTelemetryAgentFallBack2016: This task initiates the background task for
Office Telemetry Agent, which scans and uploads usage and error information
for Office solutions.

Signed-off-by: Tomasz Wilczyński <twilczynski@naver.com>
2020-07-15 16:14:29 +02:00
Disassembler
18cf6c04a6 Update 2004 marketing name, closes #324 2020-07-15 16:05:47 +02:00
Disassembler
5e9869d168 Move DisableCortana below DisableTelemetry
No functional change
2020-07-15 16:01:22 +02:00
Disassembler
b15e555d11 Reimplement the WMP part of #315 (thanks @Kein) 2020-07-15 15:59:50 +02:00
Disassembler
7e1468c1ab Add a group for UWP tweaks, reimplements most of #315 using GPOs where possible 2020-07-15 14:40:43 +02:00
Disassembler
f2ae6db9ce Clarify that DisableCamera and DisableMicrophone work system-wide, related to #327 2020-07-15 14:38:55 +02:00
Disassembler
061947237a Replace "Modern UI" with more precise "UWP" in tweak descriptions, closes #327 2020-07-15 09:24:35 +02:00
Disassembler
c4e9f0903a Update DisableUpdateDriver to use the proper GPO, closes #310 2020-05-13 18:42:50 +02:00
Adrien Rault
3ff5d90389 Add option to hide desktop icons (#301) 2020-05-13 18:07:37 +02:00
Disassembler
93a193d553 Fix typo in SetP2PUpdateInternet 2020-05-13 15:15:59 +02:00
Disassembler
e5636b024b Add "Set PowerShell/Command prompt in WinX menu", closes #309 2020-05-13 13:47:33 +02:00
Disassembler
b76ef02ac2 Add "Install Telnet Client", closes #307 2020-05-13 13:15:23 +02:00
Disassembler
a41cdbd9f1 Add "Set Light Mode for System" - reimplements and closes #296 (thx @michalsieron) 2020-05-13 09:12:51 +02:00
Disassembler
dfc9dd10b7 Rename EnableDarkTheme to SetAppsDarkMode 2020-05-13 09:11:51 +02:00
Disassembler
e3f790adae v3.9, 2020-04-02
- Add "Uninstall OpenSSH Client" (thx @TheRandomLabs)
- Add "Install OpenSSH Server" (thx @TheRandomLabs)
- Add "Enable Developer Mode" (thx @RobDesideri)
- Add "Disable Automatic Restart Sign-on" (thx @Dvorak-Stepan)
- Add "Uninstall Windows Hello Face"
- Add "Uninstall Math Recognizer"
- Add "Uninstall PowerShell Integrated Scripting Environment"
- Update a bunch of tweaks to be compatible with 2004 and "N" editions
- Update bloatware removal tweaks
- Update or clarify comments for tweaks possibly breaking interoperability in some scenarios
2020-04-02 11:33:01 +02:00
Disassembler
7d59f5b45c Don't autostart OpenSSH Server without letting user configure it first 2020-04-02 01:44:53 +02:00
Disassembler
a56893cb29 Add "Uninstall PowerShell Integrated Scripting Environment" 2020-04-02 01:43:57 +02:00
Disassembler
09247748bf Add "Uninstall Math Recognizer" 2020-04-02 01:43:26 +02:00
Disassembler
fa4583001f Add "Uninstall Windows Hello Face" 2020-04-02 01:42:54 +02:00
Disassembler
2f391ca8b5 Change method of installing capabilities and optional features
- Adds compatibility with 2004
- Adds compatibility with "N" editions
2020-04-02 01:40:50 +02:00
Disassembler
5036244ccb Update UninstallFaxAndScan for 2004 2020-04-01 23:55:59 +02:00
Disassembler
785c8ab362 Remove "DisableWindowsConsumerFeatures" from "DisableAppSuggestions", resolves #278 2020-04-01 23:46:40 +02:00
Disassembler
6cc2176797 Disable even more suggestions 2020-04-01 23:26:03 +02:00
Disassembler
5a66227109 Fix Start menu search on 2004, closes #298 (thx @mariobesen) 2020-03-31 16:14:10 +02:00
Disassembler
ffacb062b8 Add 2004 / 20H1 / 19041 to Windows version overview 2020-03-31 13:48:49 +02:00
Disassembler
e3fa432605 Add warning for EnableCIMemoryIntegrity, reformat a few other notes
No functional changes
2020-02-10 16:06:56 +01:00
Disassembler
5372078195 Revert "Add Lenovo AppxPackage bloatware (#89)", tryfix for #293 2020-01-27 07:53:27 +01:00
Disassembler
68f94a968c Clarify note for SetDEPOptOut/SetDEPOptIn, resolves #7 2020-01-20 00:00:32 +01:00
Disassembler
d854b60ab3 Add "Disable Automatic Restart Sign-on", closes #289 2020-01-16 20:42:27 +01:00
Disassembler
070fd66257 Add "Enable Developer Mode", closes #279 2020-01-16 19:40:13 +01:00
Disassembler
233d519a45 Update note for EnableDotNetStrongCrypto, closes #291 2020-01-16 13:37:14 +01:00
w1zk1d
f7963ebc86 Added king.com.FarmHeroesSaga to UninstallThirdPartyBloat (#290) 2020-01-15 14:14:48 +01:00
Disassembler
317c490389 Add note about possible Windows Store delivery optimization issues, closes #281 2019-11-24 09:18:30 +01:00
Disassembler
6d48ba8f2a Add "Uninstall OpenSSH Client" and "Install OpenSSH Server", closes #275 2019-11-23 22:54:31 +01:00
Disassembler
f55a4eb239 Add notes about Microsoft Intune, closes #270, closes #271 2019-11-23 22:00:59 +01:00
Disassembler
1fd558cf44 Add 1909 to build overview 2019-11-01 03:48:17 +01:00
Disassembler
91a6afba1f v3.8, 2019-09-11
- Add "Enable updates for Microsoft products via Windows Update" (thx @farag2)
 - Add "Disable Microphone"
 - Add "Disable Recycle Bin" (thx @Robot1me)
 - Add "Show Build Number On Desktop" (thx @Cubox-)
 - Add "Show seconds in taskbar functions" (thx @reloxx13)
 - Add "Disable Automatic Restart after Windows Update"
 - Add several tweaks to disable network protocols (thx @gxjit)
 - Create new group for network tweaks and move appropriate tweaks there
 - Update DisableAppSuggestions to disable Ink Workspace suggestions
 - Update UninstallOneDrive to not remove user files if OneDrive has already been used
 - Update main execution loop to return nonzero exit code when module or preset file doesn't exist or can't be loaded
2019-09-11 14:37:17 +02:00
Disassembler
b6caea6a56 Remove DisableWebSearch warning as it's fixed by KB4515384, related to #262 2019-09-11 14:20:11 +02:00
Disassembler
a73dc396f7 Fix typo and suppress 2 more error messages 2019-09-09 20:33:25 +02:00
Disassembler
94d9046fd4 Reintroduce "Disable Automatic Restart after Windows Update" 2019-09-09 13:35:18 +02:00
Disassembler
f61ef1a899 Add tweaks to disable network protocols. Reimplements #257 (thx @gxjit) 2019-09-06 07:59:01 +02:00
Disassembler
965d033fd7 Create "Network Tweaks" group and move related tweaks 2019-09-05 17:23:00 +02:00
MoritzDa
a74666786c Add quotes in New-PSDrive commands (#259) 2019-09-05 15:10:45 +02:00
reloxx13
e75bfe9842 Add "Show seconds in taskbar functions" (#256) 2019-09-05 15:05:05 +02:00
Disassembler
58881c87f4 Reorder the new tweaks 2019-09-05 15:00:39 +02:00
Disassembler
3f09ce7b9e Add "Show Build Number On Desktop", closes #255 (thx @Cubox-) 2019-09-05 14:23:28 +02:00
Disassembler
bf69210346 Add Write-Output strings 2019-09-05 14:22:45 +02:00
Disassembler
7e52af6d42 Add "Disable Recycle Bin", closes #245 2019-09-05 14:10:06 +02:00
Disassembler
004dd6d752 Rename 2019-09-05 13:55:46 +02:00
Disassembler
30382f9b30 Return nonzero exit code when module or preset file doesn't exist, resolves #258 2019-09-05 13:32:24 +02:00
Disassembler
d8f790e6f3 Add "Disable Microphone", closes #253 2019-09-05 13:07:28 +02:00
Disassembler
81b660974c Don't remove user files if OneDrive has already been used, closes #248 2019-09-05 09:52:40 +02:00
Disassembler
1f9e9c48ff Disable Windows Ink Workspace suggestions as part of DisableAppSuggestions, closes #246 2019-09-05 08:29:11 +02:00
Disassembler
fb04190dfd Comment DisableWebSearch and add a note about breakage in 18362.329. Closes #262 2019-09-04 19:48:13 +02:00
Andy Pilate
8dbe0c49fc Unset the feature on default preset
Co-Authored-By: kroimon <github@kroimon.de>
2019-08-23 15:43:53 +02:00
Andy Pilate
6d1b6b725d Merge pull request #2 from Cubox-/patch-1
Add ShowBuildNumberOnDesktop function
2019-07-20 02:08:45 +02:00
Andy Pilate
f489347b17 Merge pull request #1 from Cubox-/patch-2
Add BuildNumberOnDesktop to Default.preset
2019-07-20 02:07:16 +02:00
Andy Pilate
26d5762d97 Add BuildNumberOnDesktop to Default.preset
Enabled by default
2019-07-20 02:05:41 +02:00
Andy Pilate
3472bde78c Add ShowBuildNumberOnDesktop function 2019-07-20 02:03:59 +02:00
Disassembler
b67cde21cc Add "Enable updates for Microsoft products via WU", closes #250 (thx @farag2) 2019-06-19 17:49:36 +02:00
Robot1me
a79832ca0d Add "EnableRecycleFiles"
Option to enforce file deletion, without moving files to recycle bin.
2019-06-07 19:54:06 +02:00
Disassembler
e488251c16 v3.7, 2019-05-31
- Add -log parameter for output logging
 - Add more bloatware for removal (thx @r3incarnat0r)
 - Add "Disable Location services" (thx @r3incarnat0r)
 - Add "Disable Sensor services" (thx @r3incarnat0r)
 - Add "Disable Biometric services" (thx @r3incarnat0r)
 - Add "Disable Camera" (thx @r3incarnat0r)
 - Add "Disable Media Sharing" (thx @r3incarnat0r)
 - Add "Show verbose startup/shutdown status messages" (thx @CruzMarcio)
 - Add "Disable First Logon Animation" (thx @mrcrutch)
 - Add "Disable Windows Update automatic downloads" (thx @pablospizzamiglio)
 - Add "Disable Lock screen Blur" (thx @sippi90)
 - Add "Show full path in Explorer title" (thx @Zweikeks)
 - Add "Show protected operating system files" (thx @Zweikeks)
 - Add "Show empty drives" (thx @Zweikeks)
 - Add "Show folder merge conflicts" (thx @Zweikeks)
 - Add "Show all folders in Explorer navigation pane" (thx @Zweikeks)
 - Add "Show coloring of encrypted or compressed NTFS files" (thx @Zweikeks)
 - Add "Disable accessibility keys prompts" (thx @r3incarnat0r)
 - Add "Disable F1 Help key" (thx @Conder000)
 - Add "Disable NetBIOS" (thx @shaunography)
 - Add "Hide Recycle Bin From Desktop" (thx @mcavallo-git)
 - Add "Show Network On Desktop" (thx @mcavallo-git)
 - Add "Enable Clipboard History" (thx @Ash258)
 - Add "Enable NTFS long paths"
 - Add "Disable Internet Connection Sharing"
 - Add "Disable Fullscreen optimizations"
 - Add "Disable nightly wake-up for Automatic Maintenance"
 - Update "EnableXboxFeatures" to disable Game mode
 - Update "Enable Remote Desktop" to leave Network Level Authentication enabled
 - Update "DisableTelemetry" to set more registry keys (thx @r3incarnat0r)
 - Update "DisableCortana" to set more registry keys (thx @r3incarnat0r)
 - Remove "DisableLocationTracking" in favor of "DisableLocation"
 - Remove "DisableStickyKeys" in favor of "DisableAccessibilityKeys"
 - Remove "DisableUpdateRestart" in favor of "DisableMaintenanceWakeUp"
2019-05-31 21:29:37 +02:00
4 changed files with 1134 additions and 471 deletions

View File

@@ -1,7 +1,7 @@
##########
# Win 10 / Server 2016 / Server 2019 Initial Setup Script - Default preset
# Author: Disassembler <disassembler@dasm.cz>
# Version: development
# Version: v3.10, 2020-07-15
# Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script
##########
@@ -10,12 +10,12 @@ RequireAdmin
### Privacy Tweaks ###
DisableTelemetry # EnableTelemetry
DisableCortana # EnableCortana
DisableWiFiSense # EnableWiFiSense
# DisableSmartScreen # EnableSmartScreen
DisableWebSearch # EnableWebSearch
# DisableWebSearch # EnableWebSearch
DisableAppSuggestions # EnableAppSuggestions
DisableActivityHistory # EnableActivityHistory
DisableBackgroundApps # EnableBackgroundApps
# DisableSensors # EnableSensors
DisableLocation # EnableLocation
DisableMapUpdates # EnableMapUpdates
@@ -23,9 +23,9 @@ DisableFeedback # EnableFeedback
DisableTailoredExperiences # EnableTailoredExperiences
DisableAdvertisingID # EnableAdvertisingID
DisableWebLangList # EnableWebLangList
DisableCortana # EnableCortana
# DisableBiometrics # EnableBiometrics
# DisableCamera # EnableCamera
# DisableMicrophone # EnableMicrophone
DisableErrorReporting # EnableErrorReporting
# SetP2PUpdateLocal # SetP2PUpdateInternet # SetP2PUpdateDisable
DisableDiagTrack # EnableDiagTrack
@@ -33,19 +33,28 @@ DisableWAPPush # EnableWAPPush
# EnableClearRecentFiles # DisableClearRecentFiles
# DisableRecentFiles # EnableRecentFiles
### UWP Privacy Tweaks ###
DisableUWPBackgroundApps # EnableUWPBackgroundApps
# DisableUWPVoiceActivation # EnableUWPVoiceActivation
# DisableUWPNotifications # EnableUWPNotifications
# DisableUWPAccountInfo # EnableUWPAccountInfo
# DisableUWPContacts # EnableUWPContacts
# DisableUWPCalendar # EnableUWPCalendar
# DisableUWPPhoneCalls # EnableUWPPhoneCalls
# DisableUWPCallHistory # EnableUWPCallHistory
# DisableUWPEmail # EnableUWPEmail
# DisableUWPTasks # EnableUWPTasks
# DisableUWPMessaging # EnableUWPMessaging
# DisableUWPRadios # EnableUWPRadios
# DisableUWPOtherDevices # EnableUWPOtherDevices
# DisableUWPDiagInfo # EnableUWPDiagInfo
# DisableUWPFileSystem # EnableUWPFileSystem
# DisableUWPSwapFile # EnableUWPSwapFile
### Security Tweaks ###
# SetUACLow # SetUACHigh
# EnableSharingMappedDrives # DisableSharingMappedDrives
DisableAdminShares # EnableAdminShares
# DisableSMB1 # EnableSMB1
# DisableSMBServer # EnableSMBServer
# DisableNetBIOS # EnableNetBIOS
# DisableLLMNR # EnableLLMNR
# DisableNCSIProbe # EnableNCSIProbe
SetCurrentNetworkPrivate # SetCurrentNetworkPublic
# SetUnknownNetworksPrivate # SetUnknownNetworksPublic
# DisableConnectionSharing # EnableConnectionSharing
# DisableNetDevicesAutoInst # EnableNetDevicesAutoInst
# DisableFirewall # EnableFirewall
# HideDefenderTrayIcon # ShowDefenderTrayIcon
# DisableDefender # EnableDefender
@@ -63,16 +72,36 @@ EnableF8BootMenu # DisableF8BootMenu
# DisableRecoveryAndReset # EnableRecoveryAndReset
SetDEPOptOut # SetDEPOptIn
### Network Tweaks ###
SetCurrentNetworkPrivate # SetCurrentNetworkPublic
# SetUnknownNetworksPrivate # SetUnknownNetworksPublic
# DisableNetDevicesAutoInst # EnableNetDevicesAutoInst
# DisableHomeGroups # EnableHomeGroups
# DisableSMB1 # EnableSMB1
# DisableSMBServer # EnableSMBServer
# DisableNetBIOS # EnableNetBIOS
# DisableLLMNR # EnableLLMNR
# DisableLLDP # EnableLLDP
# DisableLLTD # EnableLLTD
# DisableMSNetClient # EnableMSNetClient
# DisableQoS # EnableQoS
# DisableIPv4 # EnableIPv4
# DisableIPv6 # EnableIPv6
# DisableNCSIProbe # EnableNCSIProbe
# DisableConnectionSharing # EnableConnectionSharing
DisableRemoteAssistance # EnableRemoteAssistance
# EnableRemoteDesktop # DisableRemoteDesktop
### Service Tweaks ###
# DisableUpdateMSRT # EnableUpdateMSRT
# DisableUpdateDriver # EnableUpdateDriver
EnableUpdateMSProducts # DisableUpdateMSProducts
# DisableUpdateAutoDownload # EnableUpdateAutoDownload
DisableUpdateRestart # EnableUpdateRestart
DisableMaintenanceWakeUp # EnableMaintenanceWakeUp
# DisableHomeGroups # EnableHomeGroups
# DisableAutoRestartSignOn # EnableAutoRestartSignOn
DisableSharedExperiences # EnableSharedExperiences
# EnableClipboardHistory # DisableClipboardHistory
DisableRemoteAssistance # EnableRemoteAssistance
EnableRemoteDesktop # DisableRemoteDesktop
DisableAutoplay # EnableAutoplay
DisableAutorun # EnableAutorun
# DisableRestorePoints # EnableRestorePoints
@@ -80,7 +109,7 @@ DisableAutorun # EnableAutorun
# DisableDefragmentation # EnableDefragmentation
# DisableSuperfetch # EnableSuperfetch
# DisableIndexing # EnableIndexing
# DisableSwapFile # EnableSwapFile
# DisableRecycleBin # EnableRecycleBin
EnableNTFSLongPaths # DisableNTFSLongPaths
# DisableNTFSLastAccess # EnableNTFSLastAccess
# SetBIOSTimeUTC # SetBIOSTimeLocal
@@ -108,16 +137,19 @@ ShowSmallTaskbarIcons # ShowLargeTaskbarIcons
SetTaskbarCombineWhenFull # SetTaskbarCombineNever # SetTaskbarCombineAlways
HideTaskbarPeopleIcon # ShowTaskbarPeopleIcon
ShowTrayIcons # HideTrayIcons
# ShowSecondsInTaskbar # HideSecondsFromTaskbar
DisableSearchAppInStore # EnableSearchAppInStore
DisableNewAppPrompt # EnableNewAppPrompt
# HideRecentlyAddedApps # ShowRecentlyAddedApps
# HideMostUsedApps # ShowMostUsedApps
# SetWinXMenuPowerShell # SetWinXMenuCmd
# SetControlPanelSmallIcons # SetControlPanelLargeIcons # SetControlPanelCategories
DisableShortcutInName # EnableShortcutInName
# HideShortcutArrow # ShowShortcutArrow
SetVisualFXPerformance # SetVisualFXAppearance
# EnableTitleBarColor # DisableTitleBarColor
# EnableDarkTheme # DisableDarkTheme
# SetAppsDarkMode # SetAppsLightMode
# SetSystemLightMode # SetSystemDarkMode
# AddENKeyboard # RemoveENKeyboard
# EnableNumlock # DisableNumlock
# DisableEnhPointerPrecision # EnableEnhPointerPrecision
@@ -136,6 +168,7 @@ ShowHiddenFiles # HideHiddenFiles
# ShowFolderMergeConflicts # HideFolderMergeConflicts
EnableNavPaneExpand # DisableNavPaneExpand
# ShowNavPaneAllFolders # HideNavPaneAllFolders
# ShowNavPaneLibraries # HideNavPaneLibraries
# EnableFldrSeparateProcess # DisableFldrSeparateProcess
# EnableRestoreFldrWindows # DisableRestoreFldrWindows
# ShowEncCompFilesColor # HideEncCompFilesColor
@@ -150,6 +183,8 @@ ShowThisPCOnDesktop # HideThisPCFromDesktop
# ShowUserFolderOnDesktop # HideUserFolderFromDesktop
# ShowControlPanelOnDesktop # HideControlPanelFromDesktop
# ShowNetworkOnDesktop # HideNetworkFromDesktop
# HideDesktopIcons # ShowDesktopIcons
# ShowBuildNumberOnDesktop # HideBuildNumberFromDesktop
HideDesktopFromThisPC # ShowDesktopInThisPC
# HideDesktopFromExplorer # ShowDesktopInExplorer
HideDocumentsFromThisPC # ShowDocumentsInThisPC
@@ -164,6 +199,7 @@ HideVideosFromThisPC # ShowVideosInThisPC
# HideVideosFromExplorer # ShowVideosInExplorer
Hide3DObjectsFromThisPC # Show3DObjectsInThisPC
# Hide3DObjectsFromExplorer # Show3DObjectsInExplorer
# HideNetworkFromExplorer # ShowNetworkInExplorer
# HideIncludeInLibraryMenu # ShowIncludeInLibraryMenu
# HideGiveAccessToMenu # ShowGiveAccessToMenu
# HideShareMenu # ShowShareMenu
@@ -185,12 +221,20 @@ DisableEdgeShortcutCreation # EnableEdgeShortcutCreation
DisableIEFirstRun # EnableIEFirstRun
DisableFirstLogonAnimation # EnableFirstLogonAnimation
DisableMediaSharing # EnableMediaSharing
# DisableMediaOnlineAccess # EnableMediaOnlineAccess
# EnableDeveloperMode # DisableDeveloperMode
# UninstallMediaPlayer # InstallMediaPlayer
# UninstallInternetExplorer # InstallInternetExplorer
# UninstallWorkFolders # InstallWorkFolders
# UninstallHelloFace # InstallHelloFace
# UninstallMathRecognizer # InstallMathRecognizer
# UninstallPowerShellV2 # InstallPowerShellV2
# UninstallPowerShellISE # InstallPowerShellISE
# InstallLinuxSubsystem # UninstallLinuxSubsystem
# InstallHyperV # UninstallHyperV
# UninstallSSHClient # InstallSSHClient
# InstallSSHServer # UninstallSSHServer
# InstallTelnetClient # UninstallTelnetClient
# InstallNET23 # UninstallNET23
SetPhotoViewerAssociation # UnsetPhotoViewerAssociation
AddPhotoViewerOpenWith # RemovePhotoViewerOpenWith

View File

@@ -45,7 +45,7 @@ The script supports command line options and parameters which can help you custo
**Q:** Did you test the script?
**A:** Yes. I'm testing new additions on up-to-date 64bit Home and Enterprise editions in VMs. I'm also regularly using it for all my home installations after all bigger updates.
**Q**: I've run the script and it did something I don't like, how can I undo it?
**Q:** I've run the script and it did something I don't like, how can I undo it?
**A:** For every tweak, there is also a corresponding function which restores the default settings. The default is considered freshly installed Windows 10 or Windows Server 2016 with no adjustments made during or after the installation. Use the tweaks to create and run new preset. Alternatively, since some functions are just automation for actions which can be done using GUI, find appropriate control and modify it manually.
**Q:** I've run the script and some controls are now greyed out and display message "*Some settings are hidden or managed by your organization*", why?
@@ -83,6 +83,8 @@ The script supports command line options and parameters which can help you custo
| 1803 | Redstone 4 (RS4) | April 2018 Update | 17134 |
| 1809 | Redstone 5 (RS5) | October 2018 Update | 17763 |
| 1903 | 19H1 | May 2019 Update | 18362 |
| 1909 | 19H2 | November 2019 Update | 18363 |
| 2004 | 20H1 | May 2020 Update | 19041 |
&nbsp;

View File

@@ -1,7 +1,7 @@
##########
# Win 10 / Server 2016 / Server 2019 Initial Setup Script - Main execution loop
# Author: Disassembler <disassembler@dasm.cz>
# Version: development
# Version: v3.10, 2020-07-15
# Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script
##########
@@ -31,13 +31,13 @@ $i = 0
While ($i -lt $args.Length) {
If ($args[$i].ToLower() -eq "-include") {
# Resolve full path to the included file
$include = Resolve-Path $args[++$i]
$include = Resolve-Path $args[++$i] -ErrorAction Stop
$PSCommandArgs += "-include `"$include`""
# Import the included file as a module
Import-Module -Name $include
Import-Module -Name $include -ErrorAction Stop
} ElseIf ($args[$i].ToLower() -eq "-preset") {
# Resolve full path to the preset file
$preset = Resolve-Path $args[++$i]
$preset = Resolve-Path $args[++$i] -ErrorAction Stop
$PSCommandArgs += "-preset `"$preset`""
# Load tweak names from the preset file
Get-Content $preset -ErrorAction Stop | ForEach-Object { AddOrRemoveTweak($_.Split("#")[0].Trim()) }

1513
Win10.psm1

File diff suppressed because it is too large Load Diff