This commit is contained in:
Michael H.G. Schmidt 2021-02-28 22:53:42 +01:00
parent 09bd6f5e4b
commit e2eb34acfe
4 changed files with 10 additions and 3 deletions

View File

@ -170,6 +170,9 @@ echo.
rem add full access rights to all users on public icons!
icacls %PUBLIC%\Desktop\*.lnk /grant Users:F
rem remove read-only flag on tools folder ...
attrib /S /D -R %TOOLS%\*
echo #####################
echo ### DISABLE tasks ###
echo #####################
@ -208,8 +211,8 @@ rem echo ENABLE firewall ...
rem netsh advfirewall set allprofiles state on
rem echo.
rem echo rebooting ...
rem shutdown -g -t 0
echo rebooting ...
shutdown -g -t 0
echo.
date /t

View File

@ -25,4 +25,6 @@ rem remove autostart for em-Client ...
reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" ^
/v "eM Client" /f
taskkill /F /IM SystemSettings.exe2>nul
echo ####### %0 #######

View File

@ -9,6 +9,6 @@ if (! (Test-Path $MSIBUNDLE)) {
write-host '#######',(split-path $PSCommandPath -Leaf),'#######'
$ErrorActionPreference = "SilentlyContinue"
Add-AppXPackage -allusers -path "$MSIBUNDLE"
Add-AppXPackage -path "$MSIBUNDLE"
write-host '#######',(split-path $PSCommandPath -Leaf),'#######'

View File

@ -10,5 +10,7 @@ echo activating AEROLITE theme ...
powershell -command "Start-Process %THEMES%\aerolite.theme"
@echo off
taskkill /F /IM SystemSettings.exe2>nul
echo ####### %0 #######