bugfix (permissions)
This commit is contained in:
parent
4963d2d5c8
commit
a3572157b0
@ -35,6 +35,7 @@ if EXIST %SETTINGS% (
|
|||||||
|
|
||||||
set LANG=en-US
|
set LANG=en-US
|
||||||
set windows_updates=0
|
set windows_updates=0
|
||||||
|
set windows_targetrelease=2009
|
||||||
set logon_logo=1
|
set logon_logo=1
|
||||||
set install_firefox=1
|
set install_firefox=1
|
||||||
set install_aerolite=1
|
set install_aerolite=1
|
||||||
@ -42,15 +43,17 @@ if EXIST %SETTINGS% (
|
|||||||
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=1
|
||||||
|
set searchdomains=localdomain,fritz.box
|
||||||
set gitserver=github.com
|
set gitserver=github.com
|
||||||
set gitrepo=dummy
|
set gitrepo=my_repo_at_github
|
||||||
set searchdomains=localdomain
|
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
echo ++++++++++++++++++
|
echo ++++++++++++++++++
|
||||||
echo LANG=%LANG%
|
echo LANG=%LANG%
|
||||||
echo windows_updates=%windows_updates%
|
echo windows_updates=%windows_updates%
|
||||||
|
echo windows_targetrelease=%windows_targetrelease%
|
||||||
echo logon_logo=%logon_logo%
|
echo logon_logo=%logon_logo%
|
||||||
echo install_firefox=%install_firefox%
|
echo install_firefox=%install_firefox%
|
||||||
echo install_aerolite=%install_aerolite%
|
echo install_aerolite=%install_aerolite%
|
||||||
@ -58,9 +61,10 @@ echo bgcol_R=%bgcol_R%
|
|||||||
echo bgcol_G=%bgcol_G%
|
echo bgcol_G=%bgcol_G%
|
||||||
echo bgcol_B=%bgcol_B%
|
echo bgcol_B=%bgcol_B%
|
||||||
echo explorer_quick_access=%explorer_quick_access%
|
echo explorer_quick_access=%explorer_quick_access%
|
||||||
|
echo preserve_savedgames_folder=%preserve_savedgames_folder%
|
||||||
|
echo searchdomains=%searchdomains%
|
||||||
echo gitserver=%gitserver%
|
echo gitserver=%gitserver%
|
||||||
echo gitrepo=%gitrepo%
|
echo gitrepo=%gitrepo%
|
||||||
echo searchdomains=%searchdomains%
|
|
||||||
echo ++++++++++++++++++
|
echo ++++++++++++++++++
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
@ -271,6 +275,15 @@ rem should be done as late as possible ...
|
|||||||
call install-logonscript.cmd
|
call install-logonscript.cmd
|
||||||
echo.
|
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
|
date /t
|
||||||
time /t
|
time /t
|
||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
|
@ -12,7 +12,7 @@ set preserve_savedgames_folder=1
|
|||||||
set searchdomains=localdomain,fritz.box
|
set searchdomains=localdomain,fritz.box
|
||||||
set gitserver=github.com
|
set gitserver=github.com
|
||||||
set gitrepo=my_repo_at_github
|
set gitrepo=my_repo_at_github
|
||||||
rem set localadmin=localadmin
|
set localadmin=localadmin
|
||||||
set localadmin_name=Local Administrator
|
set localadmin_name=Local Administrator
|
||||||
set localadmin_password=
|
set localadmin_password=
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user