.
This commit is contained in:
parent
09bd6f5e4b
commit
e2eb34acfe
@ -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
|
||||
|
@ -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 #######
|
||||
|
@ -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),'#######'
|
||||
|
@ -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 #######
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user