moved...
This commit is contained in:
parent
1a89bb1ebc
commit
3378010122
@ -16,14 +16,6 @@ echo killing WinAuth ...
|
||||
taskkill /F /IM WinAuth.exe 2>nul
|
||||
echo.
|
||||
|
||||
echo installing permissions script ...
|
||||
copy /Y tools\scripts\set-permissions.cmd %SystemDrive%
|
||||
takeown /F %SystemDrive%\set-permissions.cmd /A
|
||||
icacls %SystemDrive%\set-permissions.cmd /inheritance:r
|
||||
icacls %SystemDrive%\set-permissions.cmd /grant Administrators:F
|
||||
icacls %SystemDrive%\set-permissions.cmd /grant Users:RX
|
||||
echo.
|
||||
|
||||
echo deleting %TOOLS% ...
|
||||
takeown /F %TOOLS% /R /D Y 1>nul
|
||||
rd /S /Q %TOOLS% 2>nul
|
||||
@ -60,12 +52,12 @@ echo.
|
||||
call install-git.cmd
|
||||
echo.
|
||||
|
||||
rem remove duplicate permissions script ...
|
||||
del /F /Q set-permissions.cmd
|
||||
|
||||
rem set ALL permissions ...
|
||||
echo setting permissions for [%TOOLS% ] ...
|
||||
cd /D %SystemDrive%\
|
||||
call set-permissions.cmd
|
||||
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.
|
||||
|
||||
echo ####### %0 #######
|
||||
|
@ -27,6 +27,14 @@ echo copying folder %SXS% ...
|
||||
robocopy sources\sxs %SXS% /MIR /256 /NJH /NFL /NDL
|
||||
echo.
|
||||
|
||||
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.
|
||||
|
||||
echo starting %BATCH% ...
|
||||
call %BATCH%
|
||||
echo.
|
||||
|
@ -1,14 +0,0 @@
|
||||
@echo off
|
||||
|
||||
set TOOLS=%SystemDrive%\tools
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
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.
|
||||
echo ####### %0 #######
|
||||
|
Loading…
Reference in New Issue
Block a user