bugfixing
This commit is contained in:
parent
597c44c41f
commit
c9b28639a9
@ -5,6 +5,9 @@ set BOOT=boot.wim
|
|||||||
set IMAGE=install.wim
|
set IMAGE=install.wim
|
||||||
set SCRIPT_SETTINGS=scripts\settings.cmd
|
set SCRIPT_SETTINGS=scripts\settings.cmd
|
||||||
set COMPANY_SETTINGS=company\settings.cmd
|
set COMPANY_SETTINGS=company\settings.cmd
|
||||||
|
set LANG=en-US
|
||||||
|
set support_user=
|
||||||
|
set support_password=
|
||||||
|
|
||||||
IF %1.==. GOTO USAGE
|
IF %1.==. GOTO USAGE
|
||||||
|
|
||||||
@ -15,14 +18,11 @@ rem ===================
|
|||||||
echo searching for SCRIPT settings ...
|
echo searching for SCRIPT settings ...
|
||||||
if NOT EXIST %SCRIPT_SETTINGS% (
|
if NOT EXIST %SCRIPT_SETTINGS% (
|
||||||
echo INFO: config file %SCRIPT_SETTINGS% NOT FOUND
|
echo INFO: config file %SCRIPT_SETTINGS% NOT FOUND
|
||||||
set LANG=en-US
|
|
||||||
) else (
|
) else (
|
||||||
echo OK. Loading SCRIPT settings ...
|
echo OK. Loading SCRIPT settings ...
|
||||||
call %SCRIPT_SETTINGS%
|
call %SCRIPT_SETTINGS%
|
||||||
)
|
)
|
||||||
|
|
||||||
set support_user=
|
|
||||||
set support_password=
|
|
||||||
echo searching for COMPANY settings ...
|
echo searching for COMPANY settings ...
|
||||||
if NOT EXIST %COMPANY_SETTINGS% (
|
if NOT EXIST %COMPANY_SETTINGS% (
|
||||||
echo INFO: config file %COMPANY_SETTINGS% NOT FOUND
|
echo INFO: config file %COMPANY_SETTINGS% NOT FOUND
|
||||||
|
@ -1,19 +1,31 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
set TARGET="%ALLUSERSPROFILE%\Microsoft\User Account Pictures"
|
set SCRIPT_SETTINGS=settings.cmd
|
||||||
|
set COMPANY_SETTINGS=..\company\settings.cmd
|
||||||
|
|
||||||
rem default: empty logo (disables all logos on logon screen)
|
rem default: empty logo (disables all logos on logon screen)
|
||||||
|
set TARGET="%ALLUSERSPROFILE%\Microsoft\User Account Pictures"
|
||||||
set LOGO=config\user-empty.png
|
set LOGO=config\user-empty.png
|
||||||
|
set logon_logo=0
|
||||||
|
|
||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
|
|
||||||
if EXIST settings.cmd (
|
echo.
|
||||||
echo loading settings ...
|
echo searching for SCRIPT settings ...
|
||||||
call settings.cmd
|
if NOT EXIST %SCRIPT_SETTINGS% (
|
||||||
|
echo INFO: config file %SCRIPT_SETTINGS% NOT FOUND
|
||||||
) else (
|
) else (
|
||||||
echo WARNING: settings.cmd not found!
|
echo OK. Loading SCRIPT settings ...
|
||||||
echo setting defaults ...
|
call %SCRIPT_SETTINGS%
|
||||||
set logon_logo=1
|
)
|
||||||
|
|
||||||
|
echo.
|
||||||
|
echo searching for COMPANY settings ...
|
||||||
|
if NOT EXIST %COMPANY_SETTINGS% (
|
||||||
|
echo INFO: config file %COMPANY_SETTINGS% NOT FOUND
|
||||||
|
) else (
|
||||||
|
echo OK. Loading COMPANY settings ...
|
||||||
|
call %COMPANY_SETTINGS%
|
||||||
)
|
)
|
||||||
|
|
||||||
echo ++++++++++++++++++
|
echo ++++++++++++++++++
|
||||||
@ -41,7 +53,7 @@ for %%F in (
|
|||||||
)
|
)
|
||||||
|
|
||||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" ^
|
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" ^
|
||||||
/v UseDefaultTile /t REG_DWORD /d 1 /f
|
/v UseDefaultTile /t REG_DWORD /d 1 /f 2>nul
|
||||||
|
|
||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
|
|
||||||
|
@ -1,14 +1,29 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
set SCRIPT_SETTINGS=settings.cmd
|
||||||
|
set COMPANY_SETTINGS=..\company\settings.cmd
|
||||||
|
|
||||||
|
rem default: disabled
|
||||||
|
set explorer_quick_access=0
|
||||||
|
|
||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
|
|
||||||
if EXIST settings.cmd (
|
echo.
|
||||||
echo loading settings ...
|
echo searching for SCRIPT settings ...
|
||||||
call settings.cmd
|
if NOT EXIST %SCRIPT_SETTINGS% (
|
||||||
|
echo INFO: config file %SCRIPT_SETTINGS% NOT FOUND
|
||||||
) else (
|
) else (
|
||||||
echo WARNING: settings.cmd not found!
|
echo OK. Loading SCRIPT settings ...
|
||||||
echo setting defaults ...
|
call %SCRIPT_SETTINGS%
|
||||||
set explorer_quick_access=1
|
)
|
||||||
|
|
||||||
|
echo.
|
||||||
|
echo searching for COMPANY settings ...
|
||||||
|
if NOT EXIST %COMPANY_SETTINGS% (
|
||||||
|
echo INFO: config file %COMPANY_SETTINGS% NOT FOUND
|
||||||
|
) else (
|
||||||
|
echo OK. Loading COMPANY settings ...
|
||||||
|
call %COMPANY_SETTINGS%
|
||||||
)
|
)
|
||||||
|
|
||||||
echo ++++++++++++++++++++++++++++++++++
|
echo ++++++++++++++++++++++++++++++++++
|
||||||
@ -19,11 +34,11 @@ echo.
|
|||||||
if %explorer_quick_access% == 0 (
|
if %explorer_quick_access% == 0 (
|
||||||
echo disabling explorer quick access ...
|
echo disabling explorer quick access ...
|
||||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" ^
|
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" ^
|
||||||
/v "HubMode" /t REG_DWORD /d 1 /f 1>nul
|
/v "HubMode" /t REG_DWORD /d 1 /f 2>nul
|
||||||
) else (
|
) else (
|
||||||
echo enabling explorer quick access ...
|
echo enabling explorer quick access ...
|
||||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" ^
|
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" ^
|
||||||
/v "HubMode" /t REG_DWORD /d 0 /f 1>nul
|
/v "HubMode" /t REG_DWORD /d 0 /f 2>nul
|
||||||
)
|
)
|
||||||
|
|
||||||
echo disabling network icon ...
|
echo disabling network icon ...
|
||||||
@ -31,8 +46,8 @@ reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\N
|
|||||||
/v "{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}" /t REG_DWORD /d 1 /f 1>nul
|
/v "{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}" /t REG_DWORD /d 1 /f 1>nul
|
||||||
|
|
||||||
echo removing 3d Objects ...
|
echo removing 3d Objects ...
|
||||||
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}" /f 1>nul
|
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}" /f 2>nul
|
||||||
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}" /f 1>nul
|
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}" /f 2>nul
|
||||||
|
|
||||||
echo restarting explorer ...
|
echo restarting explorer ...
|
||||||
taskkill /f /im explorer.exe 1>nul 2>nul
|
taskkill /f /im explorer.exe 1>nul 2>nul
|
||||||
|
@ -1,14 +1,29 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
set SCRIPT_SETTINGS=settings.cmd
|
||||||
|
set COMPANY_SETTINGS=..\company\settings.cmd
|
||||||
|
|
||||||
|
rem default: disabled
|
||||||
|
set windows_targetrelease=0
|
||||||
|
|
||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
|
|
||||||
if EXIST settings.cmd (
|
echo.
|
||||||
echo loading settings ...
|
echo searching for SCRIPT settings ...
|
||||||
call settings.cmd
|
if NOT EXIST %SCRIPT_SETTINGS% (
|
||||||
|
echo INFO: config file %SCRIPT_SETTINGS% NOT FOUND
|
||||||
) else (
|
) else (
|
||||||
echo WARNING: settings.cmd not found!
|
echo OK. Loading SCRIPT settings ...
|
||||||
echo setting defaults ...
|
call %SCRIPT_SETTINGS%
|
||||||
set windows_targetrelease=0
|
)
|
||||||
|
|
||||||
|
echo.
|
||||||
|
echo searching for COMPANY settings ...
|
||||||
|
if NOT EXIST %COMPANY_SETTINGS% (
|
||||||
|
echo INFO: config file %COMPANY_SETTINGS% NOT FOUND
|
||||||
|
) else (
|
||||||
|
echo OK. Loading COMPANY settings ...
|
||||||
|
call %COMPANY_SETTINGS%
|
||||||
)
|
)
|
||||||
|
|
||||||
echo ++++++++++++++++++++++++++++++++++
|
echo ++++++++++++++++++++++++++++++++++
|
||||||
@ -19,11 +34,13 @@ echo.
|
|||||||
if %windows_targetrelease% == 0 (
|
if %windows_targetrelease% == 0 (
|
||||||
echo WARNING: windows target release NOT set!
|
echo WARNING: windows target release NOT set!
|
||||||
) else (
|
) else (
|
||||||
|
|
||||||
echo setting windows update target release ...
|
echo setting windows update target release ...
|
||||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" ^
|
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" ^
|
||||||
/v TargetReleaseVersion /t REG_DWORD /d 1 /f 1>nul
|
/v TargetReleaseVersion /t REG_DWORD /d 1 /f 2>nul
|
||||||
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" ^
|
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" ^
|
||||||
/v TargetReleaseVersionInfo /t REG_SZ /d %windows_targetrelease% /f 1>nul
|
/v TargetReleaseVersionInfo /t REG_SZ /d %windows_targetrelease% /f 2>nul
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
|
@ -8,8 +8,7 @@ set bgcol_R=3
|
|||||||
set bgcol_G=131
|
set bgcol_G=131
|
||||||
set bgcol_B=135
|
set bgcol_B=135
|
||||||
set explorer_quick_access=1
|
set explorer_quick_access=1
|
||||||
set preserve_savedgames_folder=0
|
set preserve_savedgames_folder=1
|
||||||
set gitserver=gitea.exabyte.systems
|
set searchdomains=localdomain,fritz.box
|
||||||
set gitrepo=personal
|
set gitserver=github.com
|
||||||
set searchdomains=exabyte.systems,exabyte-systems.com
|
set gitrepo=
|
||||||
|
|
||||||
|
@ -40,7 +40,6 @@ if NOT EXIST %SCRIPT_SETTINGS% (
|
|||||||
) else (
|
) else (
|
||||||
echo OK. Loading SCRIPT settings ...
|
echo OK. Loading SCRIPT settings ...
|
||||||
call %SCRIPT_SETTINGS%
|
call %SCRIPT_SETTINGS%
|
||||||
echo LANG=%LANG%
|
|
||||||
)
|
)
|
||||||
|
|
||||||
echo.
|
echo.
|
||||||
@ -62,6 +61,9 @@ echo ##### GENERIC tasks and settings
|
|||||||
echo #####
|
echo #####
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
|
rem show language settings ...
|
||||||
|
echo INFO: language is set to [ %LANG% ]
|
||||||
|
|
||||||
rem remove desktop wallpaper, set desktop colour and start bginfo
|
rem remove desktop wallpaper, set desktop colour and start bginfo
|
||||||
call :BGINFO
|
call :BGINFO
|
||||||
echo.
|
echo.
|
||||||
|
@ -3,9 +3,11 @@
|
|||||||
rem ===================
|
rem ===================
|
||||||
rem GLOBAL VARS
|
rem GLOBAL VARS
|
||||||
rem ===================
|
rem ===================
|
||||||
|
|
||||||
set TOOLS=c:\tools
|
set TOOLS=c:\tools
|
||||||
|
set SCRIPT_SETTINGS=%TOOLS%\scripts\settings.cmd
|
||||||
|
set COMPANY_SETTINGS=%TOOLS%\company\settings.cmd
|
||||||
set PERSONALFILES_DONE=%LOCALAPPDATA%\.personalfiles_done
|
set PERSONALFILES_DONE=%LOCALAPPDATA%\.personalfiles_done
|
||||||
set SETTINGS=%TOOLS%\scripts\settings.cmd
|
|
||||||
set GITWORKDIR=%USERPROFILE%\workspace\git
|
set GITWORKDIR=%USERPROFILE%\workspace\git
|
||||||
|
|
||||||
rem already done ?
|
rem already done ?
|
||||||
@ -22,12 +24,22 @@ rem ===================
|
|||||||
rem CONFIGFILE CHECK
|
rem CONFIGFILE CHECK
|
||||||
rem ===================
|
rem ===================
|
||||||
|
|
||||||
if NOT EXIST %SETTINGS% (
|
echo.
|
||||||
echo.
|
echo searching for SCRIPT settings ...
|
||||||
echo WARNING: %SETTINGS% NOT FOUND
|
if NOT EXIST %SCRIPT_SETTINGS% (
|
||||||
echo.
|
echo INFO: config file %SCRIPT_SETTINGS% NOT FOUND
|
||||||
) else (
|
) else (
|
||||||
call %SETTINGS%
|
echo OK. Loading SCRIPT settings ...
|
||||||
|
call %SCRIPT_SETTINGS%
|
||||||
|
)
|
||||||
|
|
||||||
|
echo.
|
||||||
|
echo searching for COMPANY settings ...
|
||||||
|
if NOT EXIST %COMPANY_SETTINGS% (
|
||||||
|
echo INFO: config file %COMPANY_SETTINGS% NOT FOUND
|
||||||
|
) else (
|
||||||
|
echo OK. Loading COMPANY settings ...
|
||||||
|
call %COMPANY_SETTINGS%
|
||||||
)
|
)
|
||||||
|
|
||||||
echo ++++++++++++++++++
|
echo ++++++++++++++++++
|
||||||
|
Loading…
Reference in New Issue
Block a user