From 52d5713a99422cdf900aba819e49e998abac33cc Mon Sep 17 00:00:00 2001 From: Disk2019 <66840531+Disk2019@users.noreply.github.com> Date: Sat, 20 Jun 2020 01:38:16 +0530 Subject: [PATCH] Fixed Some More Issues (#12) Fixed typo issues : Force enable data execution prevention (DEP) disable cortana Disable diagnostics telemetry Empty trash bin --- src/application/application.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/application/application.yaml b/src/application/application.yaml index 9843f800..e6c2f873 100644 --- a/src/application/application.yaml +++ b/src/application/application.yaml @@ -267,7 +267,7 @@ actions: - name: Empty trash bin recommend: false - code: rd /s %systemdrive%\$Recycle.bin + code: rd /s /q %systemdrive%\$Recycle.bin - category: Disable OS data collection @@ -294,7 +294,7 @@ actions: sc config DiagTrack start=disabled sc config dmwappushservice start=disabled sc config diagnosticshub.standardcollector.service start=disabled - sc config diagsvc start=disabled REM Disable Diagnostic Execution Service + sc config diagsvc start=disabled - name: Disable Customer Experience Improvement Program recommend: true @@ -520,7 +520,7 @@ actions: reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortanaAboveLock" /t REG_DWORD /d 0 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowSearchToUseLocation" /t REG_DWORD /d 0 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "ConnectedSearchUseWeb" /t REG_DWORD /d 0 /f - reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "DisableWebSearch" /t REG_DWORD /d 1 / + reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "DisableWebSearch" /t REG_DWORD /d 1 /f - name: Disable web search in search bar recommend: true @@ -973,8 +973,8 @@ actions: name: Force enable data execution prevention (DEP) recommend: false code: |- - reg add "HKLM \ SOFTWARE \ Policies \ Microsoft \ Windows \ Explorer" /v "NoDataExecutionPrevention" /t REG_DWORD /d 0 /f - reg add "HKLM \ SOFTWARE \ Policies \ Microsoft \ Windows \ System" /v "DisableHHDEP" /t REG_DWORD /d 0 /f + reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v "NoDataExecutionPrevention" /t REG_DWORD /d 0 /f + reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v "DisableHHDEP" /t REG_DWORD /d 0 /f - name: Disable AutoPlay and AutoRun recommend: false @@ -1576,4 +1576,4 @@ actions: recommend: false code: |- REG UNLOAD HKU\DefaultUser - reg load HKU\DefaultUser %SystemDrive%\Users\Default\NTUSER.DAT \ No newline at end of file + reg load HKU\DefaultUser %SystemDrive%\Users\Default\NTUSER.DAT