bugfix (permissions)
This commit is contained in:
parent
4963d2d5c8
commit
a3572157b0
@ -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 #######
|
||||
|
@ -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=
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user