From fcf540d765290e438fbf3f31a89e244dffe7677c Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Wed, 31 Mar 2021 01:11:03 +0200 Subject: [PATCH] finalizing --- scripts/autoconfig-all.cmd | 9 +++++---- scripts/disable-accountpicture.cmd | 9 +++++---- tools/logon.cmd | 4 ++++ 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/scripts/autoconfig-all.cmd b/scripts/autoconfig-all.cmd index f67d0cd..2ba3632 100644 --- a/scripts/autoconfig-all.cmd +++ b/scripts/autoconfig-all.cmd @@ -27,16 +27,17 @@ cd /D %SCRIPTS% if EXIST settings.cmd ( echo loading settings ... call settings.cmd - echo ++++++++++++++++++ - echo windows_updates=%windows_updates% - echo ++++++++++++++++++ - echo. ) else ( echo WARNING: settings.cmd not found! echo setting defaults ... set windows_updates=1 ) +echo ++++++++++++++++++ +echo windows_updates=%windows_updates% +echo ++++++++++++++++++ +echo. + rem 7-zip is essential for other scripts ... call unpack-7zip.cmd echo. diff --git a/scripts/disable-accountpicture.cmd b/scripts/disable-accountpicture.cmd index 9dff140..8598163 100644 --- a/scripts/disable-accountpicture.cmd +++ b/scripts/disable-accountpicture.cmd @@ -10,16 +10,17 @@ echo ####### %0 ####### if EXIST settings.cmd ( echo loading settings ... call settings.cmd - echo ++++++++++++++++++ - echo logon_logo=%logon_logo% - echo ++++++++++++++++++ - echo. ) else ( echo WARNING: settings.cmd not found! echo setting defaults ... set logon_logo=1 ) +echo ++++++++++++++++++ +echo logon_logo=%logon_logo% +echo ++++++++++++++++++ +echo. + if %logon_logo% == 1 ( rem windows logo taken from: http://pngimg.com/image/23601 set LOGO=config\windows-logo.png diff --git a/tools/logon.cmd b/tools/logon.cmd index c36ba3d..0b99133 100644 --- a/tools/logon.cmd +++ b/tools/logon.cmd @@ -236,6 +236,10 @@ rd /S /Q %USERPROFILE%\Links 2>nul echo Searches ... rd /S /Q %USERPROFILE%\Searches 2>nul +echo recent files ... +del /F /Q %APPDATA%\Microsoft\Windows\Recent\AutomaticDestinations\* 2>nul +del /F /Q %APPDATA%\Microsoft\Windows\Recent\* 2>nul + echo. echo starting workstation service ... net start workstation 1>nul 2>nul