diff --git a/scripts/autoconfig.cmd b/scripts/autoconfig.cmd index 2fd0d0f..1e16646 100644 --- a/scripts/autoconfig.cmd +++ b/scripts/autoconfig.cmd @@ -35,6 +35,7 @@ if EXIST %SETTINGS% ( set LANG=en-US set windows_updates=0 + set windows_targetrelease=2009 set logon_logo=1 set install_firefox=1 set install_aerolite=1 @@ -42,15 +43,17 @@ if EXIST %SETTINGS% ( set bgcol_G=131 set bgcol_B=135 set explorer_quick_access=1 + set preserve_savedgames_folder=1 + set searchdomains=localdomain,fritz.box set gitserver=github.com - set gitrepo=dummy - set searchdomains=localdomain + set gitrepo=my_repo_at_github ) echo ++++++++++++++++++ echo LANG=%LANG% echo windows_updates=%windows_updates% +echo windows_targetrelease=%windows_targetrelease% echo logon_logo=%logon_logo% echo install_firefox=%install_firefox% echo install_aerolite=%install_aerolite% @@ -58,9 +61,10 @@ echo bgcol_R=%bgcol_R% echo bgcol_G=%bgcol_G% echo bgcol_B=%bgcol_B% echo explorer_quick_access=%explorer_quick_access% +echo preserve_savedgames_folder=%preserve_savedgames_folder% +echo searchdomains=%searchdomains% echo gitserver=%gitserver% echo gitrepo=%gitrepo% -echo searchdomains=%searchdomains% echo ++++++++++++++++++ echo. @@ -271,6 +275,15 @@ rem should be done as late as possible ... call install-logonscript.cmd echo. +rem LAST action! +echo setting permissions for [ %TOOLS% ] ... +cd /D %SystemDrive%\ +takeown /F %TOOLS% /R /A /D Y 1>nul +icacls %TOOLS% /inheritance:r +icacls %TOOLS% /grant Administrators:F /t /c /l 1>nul +icacls %TOOLS% /grant Users:RX /t /c /l 1>nul +echo. + date /t time /t echo ####### %0 ####### diff --git a/scripts/settings.cmd b/scripts/settings.cmd index 5ab2c1a..9cfac13 100644 --- a/scripts/settings.cmd +++ b/scripts/settings.cmd @@ -12,7 +12,7 @@ set preserve_savedgames_folder=1 set searchdomains=localdomain,fritz.box set gitserver=github.com set gitrepo=my_repo_at_github -rem set localadmin=localadmin +set localadmin=localadmin set localadmin_name=Local Administrator set localadmin_password=