From ffaf25ed62a7fc2949f36f890b681d637de680d0 Mon Sep 17 00:00:00 2001 From: breadcat Date: Wed, 15 Jul 2020 15:09:28 +0100 Subject: Additional tweaks --- win10-prep.bat | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'win10-prep.bat') diff --git a/win10-prep.bat b/win10-prep.bat index 5490241..b2bd3db 100644 --- a/win10-prep.bat +++ b/win10-prep.bat @@ -284,6 +284,16 @@ rem remove startup delay reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Serialize" /v "Startupdelayinmsec" /t REG_DWORD /d "0" /f rem disable backup reminders reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\BackupReminder" /v "BackupReminderToastCount" /t REG_DWORD /d "3" /f +rem disable confirmation on file deletion +reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "ConfirmFileDelete" /t REG_DWORD /d "0" /f +rem add open file location to shortcut context menu +reg add "HKCR\.symlink\shellex\ContextMenuHandlers\OpenContainingFolderMenu" /ve /t REG_SZ /d "{37ea3a21-7493-4208-a011-7f9ea79ce9f5}" /f +reg add "HKCR\LibraryLocation\ShellEx\ContextMenuHandlers\OpenContainingFolderMenu" /ve /t REG_SZ /d "{37ea3a21-7493-4208-a011-7f9ea79ce9f5}" /f +reg add "HKCR\lnkfile\shellex\ContextMenuHandlers\OpenContainingFolderMenu" /ve /t REG_SZ /d "{37ea3a21-7493-4208-a011-7f9ea79ce9f5}" /f +reg add "HKCR\RecentDocument\ShellEx\ContextMenuHandlers\OpenContainingFolderMenu" /ve /t REG_SZ /d "{37ea3a21-7493-4208-a011-7f9ea79ce9f5}" /f +reg add "HKCR\Results\ShellEx\ContextMenuHandlers\OpenContainingFolderMenu" /ve /t REG_SZ /d "{37ea3a21-7493-4208-a011-7f9ea79ce9f5}" /f +rem show status bar in explorer +reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowStatusBar" /t REG_DWORD /d "1" /f exit /b %errorlevel% :remove_software -- cgit v1.2.3